Re: apparent leak in widget creation/destroy



On Friday 18 November 2005 15:56, Boncek, John wrote:
We have 2 large C++ application programs using GTK 2.2.4 which have had
persistent problems in running out of memory.  We have narrowed the
problem down to a small test case, shown below, which consumes all
available memory until locking up the system.  We run this test case with
the free command in another terminal window to show free memory on a
half-second cycle, thus:
      free -o -m -s 0.5
The widget-creation call can be either gtk_fixed_new or
gtk_drawing_area_new.

You have received the correct answer but for more details see 
http://developer.gnome.org/doc/API/2.0/gtk/GtkObject.html .  (If in doubt you 
could always try reading the documentation!)

Chris




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