Re[4]: Does GTK leak memory
- From: Lothar Scholz <llothar web de>
- To: Emmanuele Bassi <ebassi gmail com>
- Cc: gtk-list gnome org
- Subject: Re[4]: Does GTK leak memory
- Date: Wed, 2 Jun 2010 22:33:01 +0200
Hello Emmanuele,
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
weaknesses.
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
EB> gtk+.
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.
Suppression files?
Please tell me more about it.
--
Best regards,
Lothar mailto:llothar web de
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]