[xdebug-general] Re: memory tracking

From: Juan Garcia <juan[@]nationalfibre.net>
Date: Fri, 07 Jan 2005 12:19:32 -0500

Derick Rethans wrote:

>On Wed, 5 Jan 2005, Juan Garcia wrote:
>
>
>
>>I'm having problems getting memory usage from php scripts. I have
>>recompiled php using the --enable-memory-limit and I have tried using
>>version 1 and 2 of xdebug.
>>
>>These are my settings,
>>
>>[xdebug]
>>xdebug.output_dir = "/tmp"
>>xdebug.trace_format = 1
>>xdebug.profiler_enable = 1
>>xdebug.profiler_output_name= crc32
>>xdebug.show_mem_delta = 1
>>
>>Am I missing something?
>>
>>
>
>Yes :) DOn't use the profile for this, but use these settings:
>
>xdebug.trace_format = 0
>xdebug.auto_trace = 1
>
>regards,
>Derick
>
>
>
Thanks for your reply, this is the output I'm getting.

    0.0025 0 +0 -> {main}() my_file.php:0
.
.
.
.
0.1252 0 +0 -> pear_session_close()

So, I can see the time each line is uisng, but I get 0s in all the other
fields. I added xdebug.show_mem_delta=1 to my php.ini but same result.

Juan
Received on Fri Jan 07 2005 - 18:19:35 GMT

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST