PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Installation & Upgrades (http://www.photopost.com/forum/photopost-pro-installation-upgrades/)
-   -   Memory Error (http://www.photopost.com/forum/photopost-pro-installation-upgrades/124514-memory-error.html)

bjones April 19th, 2006 12:33 PM

Memory Error
 
Hi,

I am recieving the following error:

Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 8640 bytes) in /var/www/prod/scrapbooking/photoGallery/image-inc.php on line 81

I've read through a bunch of posts regarding this problem, but can't seem to get anything to work. Our php.ini file was 8mb and I increased it to 16mb and am still having problems.

We are using GD2.

The file size limit is set to 1200kb (1.2mb)
The allowable width x height is set to 600 w x 900 h
and PP is set to resize the images down from there.

I am trying to upload a photo of just over 1mb, and is 2160w x 1728h

and I continuously get the error above.

I've removed all directories in the upload directory, doubled the php.ini memory setting

Is there anything more I can try?

Unfortunately we've got users that insist that they're photos are "webready" when they're really way too big.

If nothing can be done in this regard, can you tell me what the exact limitations of GD2 are? in terms of file size and dimensions, before GD chokes?

Also is there a work around for files that might be too big dimensionally for GD to handle?

thanks for the help

Chuck S April 19th, 2006 03:06 PM

Do you have SSH access? You could install Imagemagick that does not use PHP's memory like GD does.

I would have told you everything you read in the other threads however only other thing I can suggest is raise the limit to 32mb as this seems the norm to get GD to work alright.

marcuswright06 May 2nd, 2006 03:22 AM

Same problem
 
Hi,

I'm having the same problem - I'm on a shared hosting platform with Fasthosts, they have said that the maximum memory allocation they can support is 20mb, which will involve me moving to a new server, do you know if 20mb will be enough to make the app work without getting this error please?

Installing Imagemagick is apparently not an option with this ISP.

Thanks
Marcus.

Chuck S May 2nd, 2006 06:21 AM

Hello

You can try 20mb sure but you might not be able to upload large images with gd2.


All times are GMT -5. The time now is 02:35 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97