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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.