[pLog-svn] memory usage / metrics
Jon Daley
plogworld at jon.limedaley.com
Wed Jul 26 03:14:30 GMT 2006
Ah, it (memory_get_peak_usage()) is in 5.2.
On Tue, 25 Jul 2006, Jon Daley wrote:
> I was just playing around with that large database installation, and
> discovered that the metrics are not correctly reporting the memory usage...
>
> What is written to the file is the amount of memory currently being
> used by the php script, not the peak amount that was ever used during this
> script's execution.
>
> get_peak_memory_usage() would be better, but apparently it is not
> available yet.
>
> --
> Jon Daley
> http://jon.limedaley.com/
>
> If you have any trouble sounding condescending,
> find a Unix user to show you how it's done
> -- Scott Adams
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://devel.lifetype.net/mailman/listinfo/plog-svn
>
--
Jon Daley
http://jon.limedaley.com/
When I was a student I remember seeing such things as "pi = 1".
-- Professor Tygar
More information about the pLog-svn
mailing list