mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
New memory manager
This commit is contained in:
parent
6bcb0c9ed5
commit
6687f0377b
21 changed files with 1827 additions and 771 deletions
|
@ -727,8 +727,7 @@ static int send_parsed_php(request_rec * r)
|
|||
char *mem_usage;
|
||||
TSRMLS_FETCH();
|
||||
|
||||
mem_usage = ap_psprintf(r->pool, "%u", AG(allocated_memory_peak));
|
||||
AG(allocated_memory_peak) = 0;
|
||||
mem_usage = ap_psprintf(r->pool, "%u", zend_memory_peak_usage(TSRMLS_C));
|
||||
ap_table_setn(r->notes, "mod_php_memory_usage", mem_usage);
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue