Page 1 of 1

FATAL ERROR: Allowed memory size of 67108864 bytes exhausted

Posted: 25 Nov 2009, 06:03
by darylluk
Hi,

Every once a while when I upload images, I would sometimes see the following error message. I have set the image file size limit to be 5MB and the files I uploaded were around 3MB, what is the problem and how do I fix it?

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 17088 bytes) in /home/.../public_html/joomla/administrator/components/com_phocagallery/libraries/phocagallery/image/imagemagic.php on line 220

Thanks,

Daryl

Re: FATAL ERROR: Allowed memory size of 67108864 bytes exhausted

Posted: 25 Nov 2009, 18:39
by Jan
Hi, the proble is that your server (GD library) does not have time (memory) to work witch such large files. You need to resize the image before uploading to gallery or increase memory of your server.

Jan

Re: FATAL ERROR: Allowed memory size of 67108864 bytes exhausted

Posted: 18 Dec 2009, 11:57
by chrishirst
I am having the same problem (at 50M) but it is happening before the image even begins uploading. Clicking the button to browse for an image is where it gets to.

Re: FATAL ERROR: Allowed memory size of 67108864 bytes exhausted

Posted: 20 Dec 2009, 14:59
by chrishirst
Turns out that it is nothing to do with memory at all, just folder permissions!

Re: FATAL ERROR: Allowed memory size of 67108864 bytes exhausted

Posted: 23 Dec 2009, 22:02
by bproffit
I'm suddenly getting the problem just by going to the Phoca Gallery Control Panel and clicking on the Images icon! I don't have a chance to try uploads, and I'm not trying to display images at all -- I can't even get that far!

UPDATE: After studying all the forum entries, I decided to call my host and ask about the settings on my server. They increased the memory per script setting in my php.ini file and the problem went away immediately!!