[xdebug-general] Re: memory tracking

From: Derick Rethans <derick[@]xdebug.org>
Date: Fri, 7 Jan 2005 10:56:50 +0100 (CET)

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

-- 
Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.org
Received on Fri Jan 07 2005 - 10:56:56 GMT

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