[Fwd: RE: [PHP-GTK] Memory profiler for PHP?]

From: Date: Wed, 30 May 2007 09:22:22 +0000
Subject: [Fwd: RE: [PHP-GTK] Memory profiler for PHP?]
Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-7890@lists.php.net to get a copy of this message
Forwarding to list... -------- Original Message -------- Subject: RE: [PHP-GTK] Memory profiler for PHP? Date: Tue, 29 May 2007 16:04:51 +0200 From: FGM <fgm@osinet.fr> To: acolomb@schickhardt.org I noticed a steady memory increase on very simple apps too, from just navigating an application menu, without clicking on anything: just opening and closing the pulldowns. I don't know whether in increases endlessly or only until some internal structure (cache ?) is filled. ---- Original Message ---- From: acolomb@schickhardt.org To: php-gtk-general@lists.php.net Subject: RE: [PHP-GTK] Memory profiler for PHP? Date: Tue, 29 May 2007 13:54:23 +0200 >Hi! > >I guess most people use PHP for writing dynamic web content, so the >execution times of a script are usually short. But how about us poor >PHP-Gtk users who have applications that might run a single script >for >hours and hours with lots of scope changes and setting / unsetting >variables. AFAIK, the Zend engine takes care of almost everything by >itself. > >However, when running my application, I can observe a constantly >growing memory footprint in the Windows Task Manager. Sometimes the >value drops down significantly (e.g. when clear()ing a GtkTreeModel), >but overall it tends to get bigger and bigger. > >Now, where could this effect come from? Is there any kind of memory >profiler for PHP (like electric-fence or dmalloc for C)? > >Regards, Andre >-- >Greetings... >From: Andre Colomb <acolomb@schickhardt.org> > >-- >PHP-GTK General Mailing List (http://gtk.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php >

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