Re: Does GTK leak memory
- From: Lothar Scholz <llothar web de>
- To: Emmanuele Bassi <ebassi gmail com>
- Cc: gtk-list gnome org
- Subject: Re: Does GTK leak memory
- Date: Wed, 2 Jun 2010 22:33:01 +0200
EB> personally, no: I don't think it's at all necessary. and I've been doing
EB> memory profiling of glib- and non-glib based libraries and applications
EB> for a while.
I'm programming C for 25 years and i still don't feel safe without
tools. And this is not really a feeling but knowledge about human
EB> you are, of course, free to start asking people to use atexit() handlers
EB> to free up one-off allocations, starting from the bottom of the stack
EB> (font-config, freetype, X11, glibc, Mesa, etc.) and moving up towards
Why? GLIB/GTK is clearly using its own heap so there is no reason to
go into libs.
>> Just for the reason that using memory debugging tools is confusing
>> if it is not doing it.
EB> you can use suppression files to mask the known one-off allocations.
Please tell me more about it.
Lothar mailto:llothar web de
] [Thread Prev