From: Operating system: Ubuntu PHP version: 5.4SVN-2011-07-03 (SVN) Package: Built-in web server Bug Type: Bug Bug description:Large segment of memory still reachable with more than one request
Description: ------------ When using the CLI server, more than one access results in a huge amount of still reachable memory. Test script: --------------- touch t.php valgrind --leak-check=full --show-reachable=yes php -S localhost:8080 [browser] /t.php [browser] /t.php <ctrl+c> Actual result: -------------- 55k lines of segments that are apparently still reachable -- Edit bug report at https://bugs.php.net/bug.php?id=55115&edit=1 -- Try a snapshot (PHP 5.2): https://bugs.php.net/fix.php?id=55115&r=trysnapshot52 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=55115&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=55115&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=55115&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=55115&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=55115&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=55115&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=55115&r=needscript Try newer version: https://bugs.php.net/fix.php?id=55115&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=55115&r=support Expected behavior: https://bugs.php.net/fix.php?id=55115&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=55115&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=55115&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=55115&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=55115&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=55115&r=dst IIS Stability: https://bugs.php.net/fix.php?id=55115&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=55115&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=55115&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=55115&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=55115&r=mysqlcfg Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=55115&r=trysnapshot54