From: Thies C. Arntzen Date: Fri, 18 May 2001 14:32:11 +0000 (+0000) Subject: reset allocated_memory_peak after each request. X-Git-Tag: PRE_GRANULAR_GARBAGE_FIX~366 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=473d3eae454d47b8c6730635f975caa5e1081420;p=php reset allocated_memory_peak after each request. --- diff --git a/Zend/zend_alloc.c b/Zend/zend_alloc.c index 25e55d5f6b..36945d5ed8 100644 --- a/Zend/zend_alloc.c +++ b/Zend/zend_alloc.c @@ -496,6 +496,7 @@ ZEND_API void shutdown_memory_manager(int silent, int clean_cache) } #if MEMORY_LIMIT AG(memory_exhausted)=0; + AG(allocated_memory_peak) = 0; #endif