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? Thanks, Mark Roach
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
On Thu, 2003-04-24 at 15:41, Dieter Maurer wrote:
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"...
Thanks, Dieter. I brushed past that debug info as I was blindly groping for an answer but it didn't click with me. I will reexamine it. Thanks again, Mark
participants (2)
-
Dieter Maurer -
Mark Roach