Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
ntx
New Member
New Member
Posts: 8
Joined: Sun Nov 26, 2006 11:24 pm

Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate

Post by ntx »

Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 4980736 bytes) in /var/www/website.com/admin/lang/en_US/admin.inc.php on line 844

tried to set

$config['php_memory_limit'] = '64000000';
ini_set("memory_limit", "64M");

in config.php

no result. error appears only in admin panel in listing website pages
Ziggywigged
Power Poster
Power Poster
Posts: 424
Joined: Sat Feb 02, 2008 12:42 am
Location: USA

Re: Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate

Post by Ziggywigged »

Try asking your hosting provider to increase it for you.
Take a penny, leave a penny.
Pythoniels

Re: Fatal error: Allowed memory size of 16777216 bytes exhau

Post by Pythoniels »

Hi all,

i have the same problem with an allowed memory size error. But for me the error links to: /home/vhosts/aircrafts.nl/httpdocs/admin/listcontent.php

I allready sent a question to my hostingcompany and they sent me back this:

edit your php.ini file:
upload_max_size=100000000B
post_max_size=100000000B

And i tried this as well:
upload_max_size=100MB
post_max_size=100MB


I also edited my config.php :
$config['php_memory_limit'] = '100000000';
ini_set("memory_limit", "100M");

But I still get this error when I try to list my content pages. It's only when I try to list my content pages..

Can anybody help me???
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm
Location: Raalte, the Netherlands

Re: Fatal error: Allowed memory size of 16777216 bytes exhau

Post by RonnyK »

If overruling through the config.php or .htaccess doesnt work, then your hoster doesnt allow overriding.

I put 64M f.e. in config.php and that works for my hoster. If your hoster doesnt allow that, contact the hoster and ask for more memory-limit.

Ronny
Pythoniels

Re: Fatal error: Allowed memory size of 16777216 bytes exhau

Post by Pythoniels »

The weird thing is. It said I used about 260000 too much or so. But when I edit my config to 64mb it doesn't work.. My hostingcompany sent me a line of text to put in the php.ini . But that didn't work either. What do i have to put in my .htaccess than??
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm
Location: Raalte, the Netherlands

Re: Fatal error: Allowed memory size of 16777216 bytes exhau

Post by RonnyK »

Did you check your php.ini for a line like...
memory_limit = 128M
If you have access to the php.ini, then it can be put there.. Be aware that the service has to be restarted to btake effect.

Ronny
Pythoniels

Re: Fatal error: Allowed memory size of 16777216 bytes exhau

Post by Pythoniels »

Hi Ronny,

the line did not exist but I added it to my php.ini . But unfortunatly, no result either.
Pythoniels

Re: Fatal error: Allowed memory size of 16777216 bytes exhau

Post by Pythoniels »

Today I decided to downgrade to a previous version of CMS MS. But I you would think this would solve the problem you're wrong. I just can't edit any page anymore???

What do i have to do??
replytomk3

Re: Fatal error: Allowed memory size of 16777216 bytes exhau

Post by replytomk3 »

Can't somebody tell them to just collapse page list for the time being? Collapse the pages (search the forum), and unless you expand a long list of pages again, you'll be fine.
replytomk3

Re: Fatal error: Allowed memory size of 16777216 bytes exhau

Post by replytomk3 »

replytomk3 wrote:Can't somebody tell them to just collapse page list for the time being? Collapse the pages (search the forum), and unless you expand a long list of pages again, you'll be fine.
http://forum.cmsmadesimple.org/viewtopi ... ic=46237.0
Locked

Return to “[locked] Installation, Setup and Upgrade”