From: php at snazzyhost dot com Operating system: Windows XP SP1 PHP version: 4.3.3 PHP Bug Type: Performance problem Bug description: HUGE memory leak in ISAPI
Description: ------------ the PHP ISAPI dll has some major memory leaks. i had it running for 24 hours and hammered it a bit.. Im accessing MySQL, after the 24 hours my memory usage sat at 800MB !!!!! and never comes down again.. If I stop IISADMIN and W3SVC it comes down again.. but only half way.. ONLY solution is to reboot to reclaim memory.. Reproduce code: --------------- i had a VERY basic <?php echo "hello world\n" ?> Expected result: ---------------- run it a few hundred times and the memory usage will climb and never drop down again.. -- Edit bug report at http://bugs.php.net/?id=25771&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25771&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25771&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=25771&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=25771&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=25771&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=25771&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=25771&r=support Expected behavior: http://bugs.php.net/fix.php?id=25771&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=25771&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=25771&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=25771&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25771&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=25771&r=dst IIS Stability: http://bugs.php.net/fix.php?id=25771&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=25771&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=25771&r=float