[ZODB-Dev] how to estimate cache size

2010-01-15 Thread Adam GROSZER
Hello, There are some methods in PickleCache That might be good for object count: * __len__ * ringlen which might be better to get the number of objects in the cache? Is there any chance to estimate the current cache size in bytes? Also I guess I need to add all connection's picklecache's

Re: [ZODB-Dev] how to estimate cache size

2010-01-15 Thread Adam GROSZER
Yay! The answer to my object count question lies in zc.z3monitor. But what about cache size in bytes? Friday, January 15, 2010, 1:39:02 PM, you wrote: AG Hello, AG There are some methods in PickleCache AG That might be good for object count: AG * __len__ AG * ringlen AG which might be better