Eating memory::Diet suggestions

From: Date: Fri, 17 May 2002 09:14:16 +0000
Subject: Eating memory::Diet suggestions
Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-1915@lists.php.net to get a copy of this message
Hi again, next.. ;) , watching the memory usage of PHP-GTK apps it appears that once you create something (a popup/whatever) even after destroy()'ing it the memory is never regained, this is especially awkward for instance in a clock (ok nothing created or destroyed here but memory disappears non-the-less).... just a digital display in the corner of a window.. .................... function doing_time(){ global $frame_time; $frame_time->set_label(date("B - H:i:s",mktime())); } function zeitgeist(){ doing_time(); Gtk::timeout_add(1000, 'start_clock'); } ....................................... now this slowly but surely uses up memory , errr 122K since I started writing this email, now for most apps I don't suppose this is of great importance, but the one I am working on would I assume run pretty much 9-5, sooo - is this fixable? & if so how do I go about this? I am of course on Win32 as would the majority of the intended audience. Regards, Simon Wheeler firepages

« previous php.gtk.general (#1915) next »