Memory profiler for PHP?
| From: | Andre Colomb | Date: | Tue, 29 May 2007 11:54:23 +0000 |
| Subject: | Memory profiler for PHP? | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-7884@lists.php.net to get a copy of this message | ||
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>