[Zope] Reducing Zope Memory Usage

Dan L. Pierson dan@control.com
Fri, 07 Feb 2003 12:22:43 -0500


--On Friday, February 07, 2003 11:09:13 AM +0000 Toby Dickenson 
<tdickenson@geminidataloggers.com> wrote:

> On Friday 07 February 2003 1:48 am, george donnelly wrote:
>
>> Try these options:
>>
>> 1. pack the ZODB regularly (lessens your undo options)
>
> That wont significantly reduce memory usage unless you havent packed for
> a  very long time. The 'Cache Parameters' page has a 'Total number of
> objects in  the database' field. Under filestorage you can expect to
> reclaim a few tens  of bytes for each object romoved from this total by
> packing.

That's generally true, but Squishdot is sort of a pathalogical case if 
postings (either
articles or replies) are added frequently.  Adding a reply changes every 
posting above
it in the reply tree which generates ZODB growth both for the changes to 
the postings
and for the btree index changes.