Jump to:

4938 Posts in 16764 Topics by 1490 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Installation out of memory issues

Getting SilverStripe up and running on your computer and on your web server.

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

Page: 1
Go to End
Author Topic: 701 Views
  • Robin Marlow
    Avatar
    Community Member
    2 Posts

    Installation out of memory issues Link to this post

    Hello,
    Trying to install v3 on a 1&1 host I've been stumped by out of memory issues.

    Installing gives me:

    Fatal error: Out of memory (allocated 11534336) (tried to allocate 40 bytes) in /[snip]/htdocs/SilverStripe-v3.0.0/framework/core/manifest/ClassManifest.php on line 333

    and a _config is created but no database.
    So it won't let me reconfig without deleting _config

    If I try to open index.php I get the same error:
    Fatal error: Out of memory (allocated 11534336) (tried to allocate 262144 bytes) in /[snip]/htdocs/SilverStripe-v3.0.0/framework/core/manifest/ClassManifest.php on line 333

    I can't access my php error logs as the host doesn't make them available.
    Is there a debugging mode I can turn on?

    I tried increasing the memory to 128M (memory_limit = 128M) & this is reported by phpinfo();
    (other output here http://pastebin.com/QicD60ux)

    v2.3.7 is still working beautifully.

    How can I troubleshoot this?

    Thanks,

    Robin Marlow

  • Robin Marlow
    Avatar
    Community Member
    2 Posts

    Re: Installation out of memory issues Link to this post

    Figured it out, my hosting package with 1&1 only gave me 30Mb memory. Even though if set it would report more.
    I guess the info from phpinfo is not something that can be relied on & you may have to ask your host.

    Fortunately their current packages are half the price & have over twice the memory so "downgrading" has given me a significant upgrade.

    All installed and working beautifully now, thanks SilverStripe for saving me money!

    Robin

  • Optic Blaze
    Avatar
    Community Member
    162 Posts

    Re: Installation out of memory issues Link to this post

    Don't know if you have SS in development mode. To do that put the following code in your _config.php file:

    //Set development mode //
    Director::set_environment_type("dev");

    701 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.