[Zope-dev] Memory 2.1.4-2.1.6 a.k.a. how to get objects out of the cache

Bill Anderson bill@libc.org
Sun, 28 May 2000 14:35:21 -0600


Eric Sattler wrote:
> 
> All,
> 
> I also am having severe problems with memory creep.  Our problem
> exhibits itself by quickly using gobs of memory and requiring a
> zope restart after about a day and a half at about 100M resident.

[...]

> I do see GenericUserFolder and SQLSession objects with the
> Control_Panel_Debug screen, and they do not seem to go away.  I wrote
> a simple python script to do nothing more than authenticate (log in)
> using the GenericUserFolder method docLogin.  The memory usage quickly
> grows out of control.  After waiting 15 minutes(my cookie timeout),
> no decrease in memory usage.  The objects are still in the cache also.
> 
> Restarting zope clears everything up, and starts out nice and clean
> again.
> We have a cron job doing this right now.


This seems to dovetail with the reports of SQLSession being a memory
leak source.
Could you drop the SQLSession, and repeat the test?