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 > General Forums > General Discussion

General Discussion General use discussion forum for PhotoPost products.

Reply
 
Thread Tools Rate Thread Display Modes
Old November 28th, 2005, 12:54 PM   #1
smoked1
Junior Member
Verified Customer
 
Join Date: Oct 2005
Posts: 15
Help with "memory exhausted" error.

Everything was fine til today. I tried doing a bulk upload and I keep getting this error:

"Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 7020 bytes) in /usr/local/www/data-dist/photo_post/image-inc.php on line 84"

I have the memory limit set to 128M in php.ini so I don't understand why I am getting this error. I also ran "top" and everything looks good.
smoked1 is offline   Reply With Quote
Old November 28th, 2005, 01:56 PM   #2
smoked1
Junior Member
Verified Customer
 
Join Date: Oct 2005
Posts: 15
I just cleared out that category and uploaded the images again to uploads/99999 and I got this:

Processing JimDescalefish.jpg...
Processing JimDeweigh.jpg...
Processing kenthresh20002.jpg...
Processing Kurt.jpg...
Processing marktheshark.jpg...
Processing mikeTshark2.jpg...
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 28080 bytes) in /usr/local/www/data-dist/photo_post/image-inc.php on line 84
smoked1 is offline   Reply With Quote
Old November 28th, 2005, 02:10 PM   #3
Chuck S
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 75,239
If your using GD2 this can happen as GD is part of PHP and uses it's memory

If you have mogrify on the server try setting that path in config and selecting in global options imagemagick as your processor and try

My normal response with this error is to increase php memory as you have done and since yours is already at 128meg no use saying this.
__________________
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 28th, 2005, 02:45 PM   #4
smoked1
Junior Member
Verified Customer
 
Join Date: Oct 2005
Posts: 15
The problem is that I have to use overlay watermarking so GD2 has to be used. I prefer to use ImageMagik but I can't because of the users requirements.
smoked1 is offline   Reply With Quote
Old November 28th, 2005, 03:04 PM   #5
Chuck S
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 75,239
well you should still be able to use overlay watermarking since gd is on the system
__________________
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 28th, 2005, 03:39 PM   #6
smoked1
Junior Member
Verified Customer
 
Join Date: Oct 2005
Posts: 15
I think that worked but how do I get the overlay to show in the center of the image?
smoked1 is offline   Reply With Quote
Old November 28th, 2005, 03:51 PM   #7
Chuck S
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 75,239
In watermark.php file replace everything between these two bold lines

Code:
Content visible to verified customers only.
__________________
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 28th, 2005, 05:34 PM   #8
smoked1
Junior Member
Verified Customer
 
Join Date: Oct 2005
Posts: 15
That worked great. Thanks a bunch.
smoked1 is offline   Reply With Quote
Reply


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 On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 08:15 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.