[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Memory leak
From: |
Nicola Pero |
Subject: |
Re: Memory leak |
Date: |
Mon, 20 Jan 2003 18:41:07 +0000 (GMT) |
> A few days ago, a TalkSoup user noted that TalkSoup had an enormous
> memory leak and that after just a few days, memory usages would be
> soaring at 250+ megabytes. Everyone using the xlib backend seemed to
> be affected by this while only one using the backart backend were affected.
>
> I made a test program, http://beregorn.homelinux.com/files/TextViewTest.tar.gz
Andy,
have you tried using gnustep-gui's memory panel ?
If your application has a standard info panel (the one created by
gnustep-gui), clicking on the application icon will automatically bring up
the 'memory panel'.
Else, try using
[NSApplication orderFrontSharedMemoryPanel: nil];
or add a menu item 'Memory Panel' with action
'orderFrontSharedMemoryPanel:',
<menuItem title="Memory Panel" action="orderFrontSharedMemoryPanel:" />
that should bring up the memory panel, which is such a great tool for
tracking memory leaks ... it the leak is a leak of objects - if we are
leaking raw C memory, it won't help.
I apologize if you knew perfectly well about the Memory Panel already, had
already tried it, and it didn't help. :-)
- Memory leak, Andy Ruder, 2003/01/20
- Re: Memory leak,
Nicola Pero <=