View Full Version : Error while processing uploads
May 25th, 2011, 05:23 AM
I keep getting "Fatal error: Out of memory (allocated 67633152) (tried to allocate 6000 bytes) in /home/user/public_html/includes/vbgallery/xba_unsharp_mask.php on line 142"
All the time, I set the amount of images to process at once from 10 down to 5 but it still is occuring :<
I can always click the back button and redo the processing of the 5 images, however always one file does not get processed because of the error, and then i have to find out which one and re-upload etc. and that's of course not a good thing
May 25th, 2011, 09:50 AM
It is always the same image?
May 25th, 2011, 10:10 AM
Nope, when I retried with the same image it worked fine.
However the problem has already been solved, I turned off a setting, i believe it was called something like sharpen thumbnails.
After turning this off I havn't had this problem anymore and it seems that this error is simply because of my host not giving me enough memory to use
May 25th, 2011, 11:13 AM
Okay let us know if there is anything else we can assist with.
January 12th, 2014, 11:21 AM
I know this is an old thread, but I am having the same problem. Mine is with the same image each time. My host increased the available memory to 512M and the problem still occurred. Turning off sharpen thumbnails did fix the issue as well. I'm wondering how important sharpen thumbnails is? Is there something in certain pictures that causes this to error out?
January 12th, 2014, 11:37 AM
If is a feature in GD2 which is part of PHP and the issue is related to memory usage when trying to sharpen an image and the image is too big.
It is not too important a feature overall as the thumbnail quality feature is the main setting which determines the quality of a thumbnail.
January 12th, 2014, 11:47 AM
Thanks for the quick answer Chuck. Is it known how big is "too big"?
January 12th, 2014, 12:02 PM
No it would depend on the image size and the server. It would vary depending on server setup.
I mean the same error can be seen all over the net with any image processing. It is evident when using GD2 and processing bigger images. There seems to be too many variables to give an exact number. A 4096x2048 image say from a canon camera may be 3megs and the same image size from a Nikon may be 5megs.
There are too many variables to give an exact thing.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.