[Zope] Better Memeory Management Feature Request

Scott Robertson sroberts@codeit.com
Wed, 10 Feb 1999 14:45:08 -0800 (PST)


I just posted this in the Collector but I wanted to get some feedback from
the list as well. That way those greedy bastards at DC won't get all the
fun of fixing and extending zope.


We Need some sort of method to keep memory usage in check.  Currently a
brand new instance with an empty database will consume 4 MB of
memory. If you upload 1 or 2 6 MB files into this database the running
process swells up to 18 MB in memory and no matter how many times you
flush the cache the process still remains the same  size. For that matter
we're unable to decrease the number of objects stored in the cache as
well. Maybe we are using it wrong?

It would be nice to be able to set a quota of 10 MB to the total amount
of memory each process uses. Or to have more aggressive garbage
collection.

If we can get a fix on this issue then running multiple instances of Zope
from the same box should be a breeze. (Although maybe expensive, but I've
always wanted to have a box with 1GB of RAM) 

---------------------------------------------------
- Scott Robertson             Phone: 714.972.2299 -
- CodeIt Computing            Fax:   714.972.2399 -
-                http://codeit.com                -
---------------------------------------------------