[ZODB-Dev] ZEO client leaking memory?
Toby Dickenson
tdickenson@geminidataloggers.com
Wed, 10 Oct 2001 12:44:42 +0100
> > I meant memory bloat; FileStorage stores an in-memory index
> of all objects
> > which grows *very* quickly.
>
> Indeed. I can chew through 1GB RAM withotu even trying :-S
>
> Would BerkleyStorage solve this one?
yes
> > That bloat occurs in the ZEO server, not
> > clients.
>
> Hmmm, I'm guessing the clients cache objects as well, on the
> filesystem too,
> IIRC, I wonder if this code chews through RAM at the same
> rate? My experience
> would seem to suggest so :-S
at a similar rate yes; it also uses a python dictionary to map oid to seek
position. However it reaches a hard upper limit because the ZEO client only
caches a limited number of objects. Filestorage's memory usage keeps on
growing.