Is there a way for me to log the peak memory usage for a php script for
php 4.3.0 ?
Thanks
Walt
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
On 31 Jan 2003, Walt Boring wrote:
Is there a way for me to log the peak memory usage for a php script for
php 4.3.0 ?
If PHP is built with the --enable-memory-limit configuration option, it
stores the peak memory usage of each request in a note called
mod_php_memory_usage. Add the memory
On Fri, 31 Jan 2003, Adam Maccabee Trachtenberg wrote:
If PHP is built with the --enable-memory-limit configuration option, it
stores the peak memory usage of each request in a note called
mod_php_memory_usage. Add the memory usage information to a LogFormat
with:
%{mod_php_memory_usage}n
Hello all,
I've been working on a small extension that can tell me the memory usage of
a script in run-time. I've discovered two methods of doing so (when PHP is
compiled with debugging and memory limit). One is by reading the
AG(allocated_memory) and/or AG(allocated_memory_peak) global var,
Hello,
I'm using PHP 4.0.4pl1 with Apache 1.3.14.
I have a PHP script that accumulates data for insertion into a database.
This script runs in peices and unset()'s variables that contain the data
periodically in hopes of freeing memory for the next batch of records.
Apparently it's not working