Forgive my ignorance, but what are the characteristics of a leak in this regard? I use a catalog-intensive setup, and my memory footprint for Zope seems to slowly increase over several days. Might this be a leak? On my 2 ZEO identical clients, I get about an average of 50-60 catalog queries per minute each, and load is distributed equally (round-robin) over the 2 nodes by my proxy server. Both nodes were restarted at the same time yesterday, yet the one node that performed a re-indexing of about 16,000 objects early this morning has an RSS of 242 MB vs. 219 MB on the other node. The RSS on both nodes had grown to over 450 MB earlier yesterday before I restarted Zope, so I wonder if that is a leak, esp. in regard to re-indexing a catalog, or something else. Forgive the ignorance of my question - I'm just trying to get a grasp on this. Sean -----Original Message----- From: Shane Hathaway [mailto:shane@zope.com] Sent: Friday, August 24, 2001 8:15 AM To: Júlio Dinis Silva Cc: zope-dev@zope.org Subject: Re: [Zope-dev] Memory Leak debug - help Júlio Dinis Silva wrote:
I've tracked down some memory leaks and now after running for 3 days zeo client's memory goes stable.
But I would like to know if there is someone who can comment on this:
-On a zope client running for 3 days I get on top of RefCount from DebugInfo the following class:
BTrees.IIBtree.IIBucket
Question1: does anyone can point out some products which do heavy use of this class soo I can debug on that? I know there is ZCatalog, but what else?
Question2: does anyone know if it is safe to apply to this class the LeakFinder product patch?
It probably won't work. IIBucket is implemented in C. LeakFinder tries to patch classes with an __init__ and a __del__, which only works with Python classes. ZCatalog could be the culprit if you have a lot of records. Shane _______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )