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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Help needed: Memory Allocation Error


Go to End


2 Posts   2012 Views

Avatar
Gringa

Community Member, 11 Posts

14 February 2009 at 3:59am

Upon logging into the Admin today, I received the following error.

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 24 bytes) in /home/[clientname]/public_html/sapphire/thirdparty/jsmin/JSMin.php on line 144. I increased the hosting memory allocation, but this hasn't helped. What could be the problem?

Here is what is on line 144 in this file:

142  if ($c === null) {
143      if ($this->inputIndex < $this->inputLength) {
144        $c = $this->input[$this->inputIndex];
145  $this->inputIndex += 1;

Avatar
Willr

Forum Moderator, 5523 Posts

15 February 2009 at 7:19pm

Just need to increase the memory more. SilverStripe is quite resource hungry. You only had 32mb, Try setting it much higher - 64mb at least.