Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » GD memory problem

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

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

Page: 1
Go to End
Author Topic: 1468 Views
  • roterl
    Avatar
    Community Member
    44 Posts

    GD memory problem Link to this post

    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?

  • Willr
    Avatar
    Forum Moderator
    5482 Posts

    Re: GD memory problem Link to this post

    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

  • roterl
    Avatar
    Community Member
    44 Posts

    Re: GD memory problem Link to this post

    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.

    1468 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.