Jump to content

php memory problem


krmkrishnan

Recommended Posts

hi all

im using php mysql and apache webserver in win xp .i hav done a page in which a search button is provided to search if i press the search button many times contiuously (10-11...) the page gets hung up and it says error

"tried to allocate memory 34353534" failed.... and  i have checked the code ,

that i have closed all the mysql connection and freed result set...

and i added to display the memory used using function

echo memory_get_usage() ;

it shows the memory used each time i press the search button in my page ,the memory goes up rapidly and some time the page hangs and small visual studio just in time window opened it says httpd problem...

 

pls can u help anyone??

thanks in advance...

Link to comment
https://forums.phpfreaks.com/topic/165605-php-memory-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.