Support > cpg1.6 miscellaneous
Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate
Hanna.:
Hey guys. I came across an old thread on this (version 1.3 and below.) I'm currently running version 1.6 and getting this error.
My image is not even 1Mb. My php ini is 2040Mb so I just don't understand what the deal is. I'm trying to upload 1 image, size 3000x2000px. Error receiving:
--- Quote ---Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 4096 bytes) in /home/public_html/include/debugger.inc.php on line 111
--- End quote ---
Could this be related to anything else than the memory limit? What am I missing?
Joe Carver:
Take a look at the documents: Upload Troubleshooting
To quote:
--- Quote ---It's not the size of the file that matters here; it's the number of pixels that determine memory use in GD.
--- End quote ---
There are solutions that you can try.
Hanna.:
--- Quote from: Joe Carver on March 14, 2023, 04:09:18 pm ---Take a look at the documents: Upload Troubleshooting
To quote:
There are solutions that you can try.
--- End quote ---
Thanks.
This still doesn't make any sense. I already uploaded way bigger images without issues. Some images are over 1Mb and 4500px. This is the first time I'm seeing this error in years.
Hanna.:
I had to go down to 600px to get one image uploaded. Then I replaced it via FTP to bigger and ran the Admin tools. This is just bizarre though.
Joe Carver:
Check with your host and/or maybe look at your cPanel to see what physical memory is available when you are uploading.
No issue seen on a test of a 4368x2312px (5.3Mb) file uploaded via HTML5 as well as others on CPG 1.6.22.
On second look, there is definitely something wrong in the numbers that your error message showed.
--- Quote ---Fatal error: Allowed memory size of 536870912 bytes exhausted
--- End quote ---
That might indicate by itself that the problem lies elsewhere and has used up the memory on the server before you tried uploads.
Navigation
[0] Message Index
[#] Next page
Go to full version