[Zope] How to hunt down memory hog?
Dieter Maurer
dieter@handshake.de
Thu, 24 Apr 2003 21:41:42 +0200
Mark Roach wrote at 2003-4-23 14:52 -0400:
> I have a fairly simple Zope application which is occasionally (every
> couple of days) taking up around 75% of memory on my system. (according
> to the %MEM column of top) When this happens my application slows to a
> crawl, and I have to cycle my zope service.
>
> Is there an easy way to get an idea of all the active objects and their
> sizes, or else some other sensible way for me to figure out where this
> huge memory leak is coming from?
"Control_Panel --> Debug Information".
Somewhere in the middle of this page, you find the top reference
counts. They can help you to find memory leaks.
There is also Shane's product "LeakFinder"...
Dieter