[Zope-dev] Memory Leak Problem

Andre Schubert andre.schubert@km3.de
Wed, 13 Mar 2002 13:54:50 +0100


Andre Schubert schrieb:
> 
> Andy McKay schrieb:
> >
> > Didnt Shane do a leak finder product that can help debug this?
> > http://www.zope.org/Members/hathawsh
> 
> I will install the LeakFinder product on the server and look what
> happens....

If have installed LeakFinder this morning and restarted zope.
My processes are grown up from 48MB to 78MB in about 4 hours, it never
was so much ( the last time 10MB per week! )
In this time i got the following "top 10" refcounts from leakfinder.

OFS.Image.Image 36319
DocumentTemplate.DT_Util.Eval 9802
DateTime.DateTime.DateTime 6539
OFS.DTMLDocument.DTMLDocument 5454
OFS.Folder.Folder 5386
OFS.DTMLMethod.DTMLMethod 4850
DocumentTemplate.DT_In.InClass 1725
Products.ZSQLMethods.SQL.SQL 996
Products.TransparentFolders.TransparentFolder.TransparentFolder 458
DocumentTemplate.DT_Let.Let 398

Hope this list helps ...

Thanks

> >
> > On March 12, 2002 08:42 am, Chris McDonough wrote:
> > > Finding memory leaks is an exercise in "binary search".  Isolate half of
> > > the Zope (and Product) code and find out if it leaks.  If it doesn't, you
> > > know the problem is in the other half. ;-)  Ad infinitum.  I'm sorry this
> > > is the case, but it almost always boils down to this particular recipe of
> > > diagnostics.
> > --
> >   Andy McKay
> >
> > _______________________________________________
> > 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 )
> 
> --
> Andre Schubert            EMail:   Andre.Schubert@km3.de
>                           Tel:     03774 6625-78
> km3 teledienst GmbH       Fax:     03774 6625-79
> 
> _______________________________________________
> 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 )

-- 
Andre Schubert            EMail:   Andre.Schubert@km3.de
                          Tel:     03774 6625-78
km3 teledienst GmbH       Fax:     03774 6625-79