From:             tingle at virtuanews dot co dot uk
Operating system: Windows 2000 SP4
PHP version:      5CVS-2004-03-29 (dev)
PHP Bug Type:     Performance problem
Bug description:  High memory usage/leak

Description:
------------
Hi,



Whilst using PHP locally I am experiencing a major problem with memory
usage.



When I start up apache it uses around 15mb of memory (apache.exe that is)



Now as a test I sat hitting refresh on the index page of phpmyadmin
installed locally for a few minutes, and the memory usage of apache.exe
reached 150mb +.  It seems to be using a certain amount of memory to load
the page, then not releasing it as the usage never goes down, only up with
each page refresh.



This issue does NOT happen with PHP4, I am using the latest CVS version of
PHP5 compiled by you for windows.  I also have apache 2.0.49 and mysql
4.0.18 installed.



I realise this is a pretty usless bug report in terms of finding a
solution, but that is because I do not know what to give you.



Please let me know how I can help to solve this problem - I'm sure needed
to restart apahe after every thousand or so page refreses due to memory
usage of nearly 200mb is not the intended use of PHP!



Thanks



Tingle


-- 
Edit bug report at http://bugs.php.net/?id=27758&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=27758&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=27758&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=27758&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=27758&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=27758&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=27758&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=27758&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=27758&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=27758&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=27758&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=27758&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=27758&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27758&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=27758&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=27758&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=27758&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27758&r=float

Reply via email to