Page 1 of 1

php runs out of memory when creating thumbnails

Posted: 29 Nov 2012, 14:37
by ben@cadaptor.co.uk
Hi,

this issue has just occured, PhocaGallery has been working fine for months.

however now when trying to create a new image i get the following error -

Code: Select all

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 17024 bytes) in /home/cvsaco01/public_html/administrator/components/com_phocagallery/libraries/phocagallery/image/imagemagic.php on line 214
if i add an image with thumbnail creation turned off it works fine... but cannot create the thumbnail after

any ideas what may be causing the issue?

Thanks
Ben

Re: php runs out of memory when creating thumbnails

Posted: 29 Nov 2012, 16:52
by Benno
Hi,
see: 5. Allowed memory size of ... bytes exhausted ... https://www.phoca.cz/documents/50-phoca/ ... al-advices

Kind regards,
Benno

Re: php runs out of memory when creating thumbnails

Posted: 29 Nov 2012, 18:15
by ben@cadaptor.co.uk
unfortunately the hosts wont increase the php memory limit

there are only about 150 images in the folder? is this a large amount for PhocaGallery to handle?

I've checked the file sizes and most images are around 100Kb-150Kb there are about 5 which are 500Kb ish and nothin above 1Mb

Re: php runs out of memory when creating thumbnails

Posted: 29 Nov 2012, 19:15
by Benno
Hi,
there are only about 150 images in the folder? is this a large amount for PhocaGallery to handle?
No

Try to enable "Pagination Thumbnail Generation"
See:Main https://www.phoca.cz/documents/2-phoca-g ... parameters

Kind regards,
Benno