[PHP-DEV] memory usage

2003-01-31 Thread Walt Boring
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

Re: [PHP-DEV] memory usage

2003-01-31 Thread Adam Maccabee Trachtenberg
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

Re: [PHP-DEV] memory usage

2003-01-31 Thread Adam Maccabee Trachtenberg
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

[PHP-DEV] Memory usage of a running script. 2 methods, 2 different results

2002-05-26 Thread Hans Rakers
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,

[PHP-DEV] Memory usage with Apache

2002-01-25 Thread Thomas E. Ruth
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