PHP Manual
Prev |  | Next

# memory_get_peak_usage

(no version information, might be only in CVS)

memory_get_peak_usage -- Returns the peak of memory allocated by PHP

## Description

int memory_get_peak_usage ( void )

Returns the peak of memory, in bytes, that's been allocated to your PHP script.

memory_get_peak_usage() will only be defined if your PHP is compiled with the --enable-memory-limit configuration option.

## See Also

memory_get_usage()
memory_limit

Prev | Home | Next
main | Up | memory_get_usage