[Zope] memory leak problems

Dieter Maurer dieter@handshake.de
Tue, 18 Dec 2001 23:43:52 +0100


Peter Bengtsson writes:
 > The script crawls through a folder structure which contains Photo's and 
 > subfolders.
 > It returns a healthy list of about 400 Photo's (from the Photo product) which 
 > are all object referenses.
 > It works like it's supposed to, but the server leaks like hell when I run 
 > this. From about 5-10% of the memory to up to 50-70%!!
 > Having accidently triggered this script I have to restart the server.
This is not a leak.

  Your script forces Zope to load 400 photos from ZODB into
  memory. This requires space...

Depending on OS (Linux may do it), memory consumption may go down
again when the objects are flushed from cache.


Dieter