Re: Eating memory::Diet suggestions

From: Date: Mon, 06 May 2002 10:21:39 +0000
Subject: Re: Eating memory::Diet suggestions
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-1916@lists.php.net to get a copy of this message
Hi, you might want to look this up in the archives, this has come up quite a few times in the past. It's the current model how PHP/Zend Engine works and is well-suited for web application but not standalone applications yet. There are some hacks you can do in the zend source and just recompiling PHP (again, see the archives). Alan afaik played around with this a bit. Yet a final solution is missing. I hope somday this issue gets up on php-dev@ and properly solved. And, non-win32 platforms are affected as well. - Markus On Fri, May 17, 2002 at 05:14:16PM +0800, firepages.com.au wrote : > 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 -- Please always Cc to me when replying to me on the lists. GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc "I'm not stupid, you know? :)" - Jani Taskinen

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