Page 1 of 1

"Memory exhausted"

Posted: Fri Oct 24, 2008 12:14 pm
by schroder
Even though ample space was available, the server did not automatically size a folder that contains cmsmadesimple4.1 which returned:
"Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 2949120 bytes) in /home/sites/wrawby.org.uk/public_html/home/admin/lang/en_US/admin.inc.php on line 843"

Solution
Line 19 config.php
from $config['php_memory_limit'] = '';
to $config['php_memory_limit'] = '30M';

- - -
Apologies if this duplicates information elsewhere. This is my fourth cmsmadesimple install but my first of v4.1.

(Yes, I did vote for cmsmadesimple at sourceforge some months ago and, yes, I did donate ten dollars)

Hats off to csmmadesimple.

Re: "Memory exhausted"

Posted: Fri Oct 24, 2008 3:10 pm
by Pierre M.
What is the hosting context ? I mean : the installer should warn at install time if php_memory_limit (or such) is underappropriate. May be you have found a case where CMSms 1.4.1's installer fails to check the memory correctly ?
Or there is some memory exhaustion-module installed ?

Pierre M.

Re: "Memory exhausted"

Posted: Fri Oct 24, 2008 8:27 pm
by schroder
Pierre M. wrote: installer should warn
After completion, the installer discovered 8Mb capacity and said it was not sufficient, flagged by the opaque red diagonal cross. But the option to click through was available so I took it because there's 400Mb allocated to that domain. The 'Fatal error' signal showed up at the new template Import stage. So that is when I tweaked line 19 in config.php which fixed the problem.

Probably this was a (shared) server issue and I posted the data in the event others may confront a similar error.
Pierre M. wrote: Or there is some memory exhaustion-module installed
I have to pass on that one - don't know

- - -

Thank you Pierre for input.

Re: "Memory exhausted"

Posted: Fri Oct 24, 2008 8:37 pm
by Nullig
You're confusing memory with disk space, I believe.

Also, this forum is not the correct one for installation issues.

Nullig

Re: "Memory exhausted"

Posted: Sat Oct 25, 2008 6:12 am
by schroder
Nullig wrote: this forum is not the correct one
Quite agree. I'm trying to remove the topic altogether and regret having made the point.

Re: "Memory exhausted"

Posted: Sat Oct 25, 2008 2:40 pm
by Pierre M.
Thx for the feedback. Yes it can help others.
I'm moving the thread to "product support".
Have fun with CMSms

Pierre