Re: Does GTK leak memory

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

 



On Wed, 2010-06-02 at 13:50 +0200, Lothar Scholz wrote:
> Hello gtk-list,
> 
> I'm using
> 
> g_mem_set_vtable(glib_mem_profiler_table);
> g_atexit(g_mem_profile);
> 
> as the first calls in the main function.
> Even the most simple test app leaks memory about 125 KB
> with 90% freed.

"leaks" how? some internal objects are singletons, and won't be freed
for the entire duration of the application's lifetime.

leaks are continuous, not one-off allocations; the memory for one-off
allocations will be reclaimed by the operating system when the
application exits.

ciao,
 Emmanuele.

-- 
W: http://www.emmanuelebassi.name
B: http://blogs.gnome.org/ebassi

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux