PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro Bug Reports

Photopost Pro Bug Reports Post post installation PhotoPost Pro problems here.

Reply
 
LinkBack (1) Thread Tools Rate Thread Display Modes
Old November 7th, 2007, 04:58 AM   1 links from elsewhere to this Post. Click to view. #1 (permalink)
Member
Verified Customer
 
Join Date: Jun 2003
Posts: 42
Allowed memory size error with GD2

Quote:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 13824 bytes) in /home/zclutnet/public_html/gallery/image-inc.php on line 84
Hi,

I've been getting this from several users, and now myself.

I have cleared out the uploads directory, my server has plenty of space, and at the top of my pp-inc.php file I added

Quote:
error_reporting (E_ALL ^ E_NOTICE);

ini_set("memory_limit", "32M");
Which is working as the 32M is referenced in my error. I'm using GD2, I don't have ImageMagik

Any ideas please?

Cheers
Russ_T is offline   Reply With Quote
Old November 7th, 2007, 07:38 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
Have you tried uploading smaller files? Have you tried setting 40M as the memory in that line. Basically lets see how big a file your server can handle before GD2 cuts things out.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old November 8th, 2007, 04:51 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jun 2003
Posts: 42
Hi

Quote:
Fatal error: Allowed memory size of 50331648 bytes exhausted (tried to allocate 8192 bytes) in /home/zclutnet/public_html/gallery/image-inc.php on line 115
That was with 48m set. I don't understand that it used to run fine with big images before. The image I'm trying to upload is 4mb, that failed.

I just resized it to 1.5mb, that worked,

then 3.2mb, that worked.

So around 4mb kills it with 48mb memory allocated

Is there any way around this, other than allocating say 128mb memory? I'm on shared hosting so don't want to push my luck for now.

At least most of the photos my users upload won't fail now.

Cheers
Russ_T is offline   Reply With Quote
Old November 8th, 2007, 06:31 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
No not with GD2 it is a common issue with PHP as it is part of PHP and uses PHP memory. Thats a huge file. I would suggest you compile Imagemagick on your server which is not prone to that type of error since it is not part of PHP.

http://www.photopost.com/howtoinstall-php.html
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old November 8th, 2007, 07:47 AM   #5 (permalink)
Member
Verified Customer
 
Join Date: Jun 2003
Posts: 42
Yeah again shared hosting, not sure I'm allowed to, I'll check it out though thank you.

4mb really isn't that big these days...
Russ_T is offline   Reply With Quote
Old November 8th, 2007, 09:49 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
It may not be big nowadays but it doesnt mean your still not limited to server restrictions and image processor restrictions. GD2 is part of PHP and since it uses PHP's memory if it encounters a big file where it uses up the memory of PHP your servers PHP shuts down and this is what you encounter. You can only give more memory to PHP or limit filesizes in Admin => Edit Usergroups.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


LinkBacks (?)
LinkBack to this Thread: http://www.photopost.com/forum/photopost-pro-bug-reports/134193-allowed-memory-size-error-gd2.html
Posted By For Type Date
Allowed memory size of 8388608 bytes exhausted. Error feedback. - Page 3 - TechSpot OpenBoards This thread Refback June 4th, 2008 07:56 AM

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fatal error: Allowed memory size "exhausted" DefenceTalk.com Photopost Pro Installation & Upgrades 18 June 25th, 2009 06:19 PM
Fatal error: Allowed memory size(NOT A BUG) SteveSteve ReviewPost Bug Reports 8 March 3rd, 2007 09:53 AM
Fatal error: Allowed memory size globalinsites Photopost Pro Installation & Upgrades 2 October 23rd, 2006 12:01 PM
Fatal error: Allowed memory size matrix10 Photopost Pro Installation & Upgrades 1 February 3rd, 2006 06:29 AM
5.03 - Fatal error: Allowed memory size Steve_C Photopost Pro Installation & Upgrades 4 April 29th, 2005 11:53 AM


All times are GMT -5. The time now is 10:20 PM.

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