[Zope] Memory consumtion of a zope instance

Toby Dickenson tdickenson@geminidataloggers.com
Thu, 12 Sep 2002 12:32:59 +0100


On Thursday 12 Sep 2002 12:11 pm, Andreas Lauser wrote:
> On Thursday 12 September 2002 01:23, Jens Vagelpohl wrote:


>>>I thought at doing a 'late' fork: start a supervisor process at first =
which
>>>loads python and initializes the default products. An Instance would f=
ork
>>>this process and initialize the products special to it. In this scheme
>>>python's and most of zope's RAM pages are copy on write on most UNIX=20
>>>systems (-> they don't eat your mem). As a site effect, instance start=
up
>>> would be greatly accelerated.

The problem with this schemes is python reference count. Most pages will =
be=20
copied, because you cant touch an object without writing to its reference=
=20
count.