Hello Gregor,
On Mon, 14 Nov 2005, Gregor J. Rothfuss wrote:
> i am trying to profile a CLI php script that runs for about 20min and eats up
> a LOT of memory (in the gigabytes), but both APD and xdebug do not show me
> memory usage / deltas. this makes me suspect a common underlying problem.
>
> php 5.0.5-dev on linux:
>
> $ ./configure --enable-sockets --enable-memory-limit
> --prefix=/usr/local/php5 --with-xmlreader=/usr/local
> --with-libxml-dir=/usr/local --with-gd --with-apxs2=/usr/local/ap
> ache2/bin/apxs --with-zlib-dir=/usr/ --with-mysql=shared,/usr/ --with-curl
> --enable-mbstring --with-mysqli --with-xsl=/usr/local/ --with-jpeg-dir=/usr/
> --with-tidy
[snip]
> with xdebug2 from today's CVS
>
> trace file looks like this:
>
> TRACE START [2005-11-14 17:46:33]
> 0.0009 64 -> require_once() /home/gregor/src/trunk/bin/csv.php:12
> 0.0010 64 -> dirname() /home/gregor/src/trunk/inc/autoload.php:2
> 0.0011 64 -> define() /home/gregor/src/trunk/inc/autoload.php:2
> 0.0011 64 -> ini_get() /home/gregor/src/trunk/inc/autoload.php:6
[snip]
> any ideas?
I think this can only happen if you disable the zend memory manager, or
if you built Xdebug against the wrong headers. Do you have a phpinfo()
page online that I can have a look at?
regards,
Derick
-- Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.orgReceived on Sun Nov 20 2005 - 21:47:49 GMT
This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST