Bug #70098 [Com]: Real memory usage doesn't decrease

From: Date: Wed, 19 Aug 2020 01:40:50 +0000
Subject: Bug #70098 [Com]: Real memory usage doesn't decrease
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-228664@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=70098&edit=1 ID: 70098 Comment by: frame86 at live dot com Reported by: robin dot kunde at recoursive dot com Summary: Real memory usage doesn't decrease Status: Closed Type: Bug Package: Performance problem Operating System: Ubuntu 15.04, OSX 10.10.4 PHP Version: 7.0.0beta1 Assigned To: dmitry Block user comment: N Private report: N New Comment: This bug is NOT fixed yet. It's still valid for DateTime object. You may create tons of DateTime objects and unset it and reclaim memory but virtual and resident memory does not decrease while memory_usage(false) reports all fine. Running something after this causes Allowed memory size exhausted (php7.4) Previous Comments: ------------------------------------------------------------------------ [2016-07-20 11:37:11] davey@php.net Automatic comment on behalf of dmitry@zend.com Revision: http://git.php.net/?p=php-src.git;a=commit;h=668ecaa606b3203311b3329fcbd49b59f715e1e4 Log: Fixed bug #70098 (Real memory usage doesn't decrease) ------------------------------------------------------------------------ [2016-01-15 04:40:33] bwoebi@php.net Related To: Bug #71375 ------------------------------------------------------------------------ [2015-08-05 10:12:22] ab@php.net Automatic comment on behalf of dmitry@zend.com Revision: http://git.php.net/?p=php-src.git;a=commit;h=668ecaa606b3203311b3329fcbd49b59f715e1e4 Log: Fixed bug #70098 (Real memory usage doesn't decrease) ------------------------------------------------------------------------ [2015-08-04 15:24:49] dmitry@php.net The fix doesn't change the output of the test script, because MM GC is triggered only by "Out of Memory". However, it's possible to add call to gc_mem_caches() before printing memory usage, and in this case "real" memory consumption won't grow. ------------------------------------------------------------------------ [2015-08-04 15:21:22] dmitry@php.net Automatic comment on behalf of dmitry@zend.com Revision: http://git.php.net/?p=php-src.git;a=commit;h=668ecaa606b3203311b3329fcbd49b59f715e1e4 Log: Fixed bug #70098 (Real memory usage doesn't decrease) ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=70098 -- Edit this bug report at https://bugs.php.net/bug.php?id=70098&edit=1

« previous php.bugs (#228664) next »