Jump to:

4938 Posts in 16487 Topics by 1490 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Silverstripe allocating 71 MB of memory

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: 1350 Views
  • DubbeleJ
    Avatar
    Community Member
    9 Posts

    Silverstripe allocating 71 MB of memory Link to this post

    Hello,

    I'm trying to install silverstripe 3.0 on my webserver. It is a shared webhosting webserver, that meets all the requirements. It runs php 5.3.2 and MySql 5.
    It also meets the set requirements for memory allocation. I checked this via the phpinfo() and it is set to 64 MB, while 48 MB is required.

    However when I try to install silverstripe, it tells me that a fatal error occurs cause it tries to allocate 71 MB of memory. Is this a glitch/bug in the software somewhere, did I configure something wrong?

    Any thoughts would be appriciated.

    Regards,
    Jan Jaap

    Error:
    Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 72 bytes) in /home/vhosting/i/vhost0049995/domains/4happyfeet.nl/htdocs/www/test/framework/core/manifest/TokenisedRegularExpression.php on line 27

  • Willr
    Avatar
    Forum Moderator
    5498 Posts

    Re: Silverstripe allocating 71 MB of memory Link to this post

    SilverStripe often requires more than 64mb. I run my sites with 128mb but it depends on what you're using SilverStripe for (lots of pages, images, loading files) all uses more memory. You could use a tool like xhprof to investigate your memory usage. On a plain 3.0 checkout on my machine, it uses 32mb of RAM. Once you add pages, more classes that will go up.

  • schellmax
    Avatar
    Community Member
    126 Posts

    Re: Silverstripe allocating 71 MB of memory Link to this post

    i don't think it has to do with "lots of pages, images, loading files" or anything else, as DubbeleJ mentions "when i try to install silverstripe..." which sounds like a plain install.

    in fact, i'm having exactly the same problem on some shared host (alfahosting.de), using a plain 3.0.1 install. must be something trickier.
    @DubbeleJ did you make any progress on the issue?

  • borriej
    Avatar
    Community Member
    267 Posts

    Re: Silverstripe allocating 71 MB of memory Link to this post

    Im having the same problem:

    Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 71 bytes) in /public/sites/URL/framework/core/manifest/TokenisedRegularExpression.php on line 23

    cant upgrade my memory on my shared hosting..

  • schellmax
    Avatar
    Community Member
    126 Posts

    Re: Silverstripe allocating 71 MB of memory Link to this post

    i had to upgrade my hosting package so it would support 80M of php memory - then everything was working just fine. guess there's no easy way to get around this extensive memory consumption...

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