Jump to content

Weird weird PHP error Fatal error: Allowed memory... Please help!


shlomikalfa

Recommended Posts

Hi guys,

 

How could that be:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 29963 bytes) in /home/lamaelik/public_html/upm-ClientSide.php on line 193

 

If my script tried to allocate only: 29963 bytes

And the limit is: 33554432 bytes

Why did the error occur !?

 

Any idea how do I fix it !?

 

Thanks and have a nice day.

Link to comment
Share on other sites

Either your script is doing something that requires a large amount of memory, such as resizing an image, reading a huge amount of data and creating arrays in memory from the data OR your script contains a logic error where it loops forever and consumes all the available memory.

 

Posting the script that produces the error would be he quickest way of getting help with the problem.

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.