Jump to content

Recommended Posts

Posted

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.

Posted

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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...