Jump to content

[Answered] 500 Out Of Memory Php Error Johnny Server - Different Question


minus11

Recommended Posts

I have had problems with the 500 out of memory error that I have seen some other people post about in regards to PHP scripts and the server called Johnny.

 

Can I fix this issue if I remove some large files from my account? Will this give a performance increase?

 

Thank-you for reading.

Link to comment
Share on other sites

It sounds like you're confusing disk space usage with memory usage. If you remove some large file from your account you will gain back disk space. Php memory usage has more to do with how much memory each php script requires to execute. Using less variables, and storing less data into memory will reduce how much memory php requires. For instance, if you need a value out of a 50x50 table and you load the entire table into memory to get the one value it will use a lot more memory than simply loading that same value into a single variable instead of a large table. Optimizations like that will reduce php memory usage. Try searching google for other ideas you could try.

Link to comment
Share on other sites

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.   Paste as plain text instead

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