Hi !
My server is using xp os and there is no doubt that the apache leaks memory with my PHP (using as module not cgi) .
The leak is strange - if one guest opens the page the mem using of apache process goes 3++ MB and then drops them,which is normal.But if 2 or more guests want to open the page in same time the memory is increased with 500k after cleaing/droping the memory,which i suppose is pure memory leak. Anyone can tell why ?

Edit
I have php5apache2.dll so apache is 2.0v and php is 5.2.14.14v

Also i've tested with apache 2.2 and newest php,but still the problem stays.

@dermechove - how to test on localhost when only i may load the page (and the problem is if 2 or more users try to load the page in same time).
Btw i am using get_headers function to get remote filesize (content-length) and checking if content-type has 'image'(which means that the image exists) for 10 or more images per page as i told already. It really slows down the script by 6-7 seconds.And i think that the major memory leak might be from get_headers ?

Edit 2
Btw sometimes it cannot even load the page by no reason (loading just few bytes and stops) and after 1-2 refreshes it loads it . Apache official site says that this is from the small amount of RAM,but i have 512 MB DDR2 with 1,8 Ghz Althon CPU.
Porsche_maniak Reviewed by Porsche_maniak on . Apache leaking memory [XP] Hi ! My server is using xp os and there is no doubt that the apache leaks memory with my PHP (using as module not cgi) . The leak is strange - if one guest opens the page the mem using of apache process goes 3++ MB and then drops them,which is normal.But if 2 or more guests want to open the page in same time the memory is increased with 500k after cleaing/droping the memory,which i suppose is pure memory leak. Anyone can tell why ? Edit I have php5apache2.dll so apache is 2.0v and php is Rating: 5