icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Discussions » PHP, MySQL » Turned in a ticket, memory allocation issues?

PHP, MySQL General PHP questions. Or go to our PHPsuexec Forum >>

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread
Old October 13th, 2004, 12:59 PM   #1 (permalink)
Registered User
Seasoned Poster
 
Joined in May 2004
53 posts
Gave thanks: 0
Thanked 0 times
Turned in a ticket, memory allocation issues?

Anyone run into this before? It appears a setting in php.ini (or something like that) needs to be "upped" a bit, but I am not certain.

Quote:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 11264 bytes) in /home/xxxxxxx/public_html/photos/include/picmgmt.inc.php on line 209
I got that when trying to upload a JPG file using Coppermine set to GD2. I am on Pass6.

Thanks for any insight.
__________________
Pass6 - bicenet
Medar is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old October 13th, 2004, 1:09 PM   #2 (permalink)
sam
Surpass Fan
Super #1
 
sam's Avatar
 
Joined in Dec 2003
Lives in NJ
5,057 posts
Gave thanks: 0
Thanked 4 times
how big is the file exactly? there's a 2mb limit on uploads through PHP on shared/reseller servers.
sam is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old October 13th, 2004, 1:17 PM   #3 (permalink)
Registered User
Seasoned Poster
 
Joined in May 2004
53 posts
Gave thanks: 0
Thanked 0 times
The original file is 1.2mb (just a picture off a 6 megapixel camera)
__________________
Pass6 - bicenet
Medar is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old October 13th, 2004, 1:18 PM   #4 (permalink)
Registered User
Seasoned Poster
 
Joined in May 2004
53 posts
Gave thanks: 0
Thanked 0 times
You know, I might try swapping over to Imagemagick and see if that fixes the issue before support responds. Will try a few generic paths mentioned here in the forums, see if they work on Pass6.

Thanks Sam.
__________________
Pass6 - bicenet
Medar is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old October 13th, 2004, 1:30 PM   #5 (permalink)
Registered User
Seasoned Poster
 
Joined in May 2004
53 posts
Gave thanks: 0
Thanked 0 times
That actually did the trick. I used /usr/bin/X11/ on Pass6, and Imagemagick was found with no issues.

No file size issues either.

Will keep my ticket open since my file limit was not exceeded, so am still curious what the issue was.
__________________
Pass6 - bicenet
Medar is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old October 13th, 2004, 4:54 PM   #6 (permalink)
the one who was
Super #1
 
patrickb's Avatar
 
Joined in Jul 2003
Lives in Memphis
1,967 posts
Gave thanks: 0
Thanked 3 times
Ticket answered, and don't know if the file size limit problem was fixed with uping the memory limit. But from what I understand ImageMagick is generally better than GD2. Either way, if the GD2 problem is still there, respond to your ticket.
__________________
Patrick

Warnings: The program(s) might crash unexpectedly or behave otherwise strangely. (But of course, so do many commercial programs on Windows.) --www.gimp.org
patrickb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 edit your posts

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