Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

GD memory problem

Go to End

3 Posts   1859 Views


Community Member, 44 Posts

2 June 2008 at 9:19am

When I'm trying to upload images I got the folowing error:

Fatal error: Out of memory (allocated 42991616) (tried to allocate 12288 bytes) in /home/atax/www/www/sapphire/filesystem/GD.php on line 28

The same images success to upload on other SS installation on other hosting service.
On the working service the PHP memory limit is 64M and on the not working one is 80M, so I guess it isnt the memory limit.
Does anyone know what's the problem?


Forum Moderator, 5523 Posts

2 June 2008 at 8:56pm

Are you sure the one thats not working is 80mb Memory limit? 42991616 btyes is only like 42mb? Ive had trouble with GD up to 128mb but thats due to the insane resolution I was using


Community Member, 44 Posts

3 June 2008 at 5:37am

Yes, calling phpinfo() also return that the memory limit is 80M.
About the resolution, it's about 3070 X 2300. Smaller images work (1024 X 768), but The strange thing is that on 64M the large images works and on the 80M they didnt.