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.

General Questions

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

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

Help needed: Memory Allocation Error


2 Posts   1077 Views


14 February 2009 at 3:59am Community Member, 11 Posts

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;


15 February 2009 at 7:19pm Forum Moderator, 5511 Posts

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