"Memory exhausted"

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
schroder
New Member
New Member
Posts: 4
Joined: Fri Oct 24, 2008 11:55 am

"Memory exhausted"

Post 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.
Pierre M.

Re: "Memory exhausted"

Post 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.
schroder
New Member
New Member
Posts: 4
Joined: Fri Oct 24, 2008 11:55 am

Re: "Memory exhausted"

Post 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.
Last edited by schroder on Fri Oct 24, 2008 8:29 pm, edited 1 time in total.
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: "Memory exhausted"

Post by Nullig »

You're confusing memory with disk space, I believe.

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

Nullig
schroder
New Member
New Member
Posts: 4
Joined: Fri Oct 24, 2008 11:55 am

Re: "Memory exhausted"

Post 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.
Pierre M.

Re: "Memory exhausted"

Post 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
Post Reply

Return to “CMSMS Core”