John Barham wrote at 2005-1-13 00:29 +0900:
... I ran the script on Linux against both Zope 2.7.0 and 2.7.3 and according to top only some 21 MB of RAM was used up. (I ran "bin/zopectl run tempstorebug.py" in the instance home.) We have a similar problem w/ Zope leaking memory and our application uses sessions a fair bit, so better ways to confirm that this patch fixes the problem would be appreciated.
Andy Yates reported that applying the patch removed his problem... If this is not enough to convince you, you might add an additional persistent object between the session and the string. I made the test with our own Transience implementation. I introduces such an intermediate persistent object (holding the timestamp for the session). Maybe, the standard "Transience" does not... -- Dieter