Re: Does GTK leak memory



On Wed, Jun 2, 2010 at 7:50 AM, Lothar Scholz <llothar web de> wrote:
> Hello gtk-list,
>
> I'm using
>
> g_mem_set_vtable(glib_mem_profiler_table);
> g_atexit(g_mem_profile);

don't even waste your time. gtk does not leak. you are not the first
(and will not be the last) to ask this question. determining memory
utiltization is substantially more complex than almost everyone who
asks this realizes, and certainly what you describe there is not
enough. there have, on occasion, been small bugs found that cause
leakage under particular circumstances. but in my experience of this
mailing list (10 years now) just about every "leak" turns out to be a
misunderstanding about how memory is allocated, used and freed.

--p


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]