-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Out of memory #8
Comments
We have this script deployed on over 100 servers without issue. It's probably hitting a low PHP memory limit setting. Unless you have more detail to provide we're going to close this issue. |
It's hitting memory limit on Godaddy Ultimate Linux Hosting with 1GB of memory resizing a 1,548 KB picture. Most shared servers don't even have 1GB. Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 12600 bytes) in /../image.php on line 1415 On my local server, in order to resize a 11,000 KB image I had to allocate 16GB ram memory in order for the script to work. |
That's only 67.108864 MB. Makes sense it could be maxing out. The statement about your local server doesn't make sense unless you are churning through a ton of images on a single request. |
Yes it actually shows 20 images in a single request. |
Then my guess is you are actually exceeding PHP's available resources. |
This is a very memory intensive script. The script runs out of memory very fast on most hosting accounts, on most servers, the script can't even handle 500 KB images.
The text was updated successfully, but these errors were encountered: