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, biapar, Willr, Ingo, simon_w

GD memory problem


Reply

3 Posts   1491 Views

Avatar
roterl

2 June 2008 at 9:19am Community Member, 44 Posts

Hi,
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?

Avatar
Willr

2 June 2008 at 8:56pm Forum Moderator, 5511 Posts

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

Avatar
roterl

3 June 2008 at 5:37am Community Member, 44 Posts

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.

thanks
Rotem.