[Zope] Cache question

Michel Pelletier michel@digicool.com
Thu, 9 Dec 1999 10:51:57 -0500


> -----Original Message-----
> From: Alexander Limi [mailto:alexander@mp3.no]
> Sent: Thursday, December 09, 1999 10:15 AM
> To: Michel Pelletier
> Cc: zope@zope.org
> Subject: RE: [Zope] Cache question

> > From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of
> > Michel Pelletier
> 
> > In that case you would be able to hold your entire object 
> database in
> > memory.  If you have that kind of memory, go for it.
> 
> Is there a quick and easy way to compute the size of your 
> objects? Am I
> wrong to assume this is just the size of the ZODB/Data.fs?

After a pack, yes.  Unfortunately, there are not many database
inspection tools.

> Or 
> does Zope use
> a lot more memory when there is activity in the DB?

Oh you mean the runtime size of your objects?  That's not really easily
computable.  An object may be small on disk, but dynamicly allocate megs
of memory.

-Michel