[Zope-dev] Memory Leak debug - help
Shane Hathaway
shane@zope.com
Fri, 24 Aug 2001 11:14:42 -0400
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