diff options
| author | Thies C. Arntzen <thies@php.net> | 2001-05-18 14:32:11 +0000 |
|---|---|---|
| committer | Thies C. Arntzen <thies@php.net> | 2001-05-18 14:32:11 +0000 |
| commit | 473d3eae454d47b8c6730635f975caa5e1081420 (patch) | |
| tree | bb03921e4e4041c22e26ce8616428293f95d18ab /Zend/zend_alloc.c | |
| parent | 2db3431f0077a2c8c90d289d499b5778d87dce68 (diff) | |
| download | php-git-473d3eae454d47b8c6730635f975caa5e1081420.tar.gz | |
reset allocated_memory_peak after each request.
Diffstat (limited to 'Zend/zend_alloc.c')
| -rw-r--r-- | Zend/zend_alloc.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 |
