Page 1 of 1
Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate
Posted: Mon Jan 05, 2009 11:20 am
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
Re: Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate
Posted: Mon Jan 05, 2009 12:46 pm
by Ziggywigged
Try asking your hosting provider to increase it for you.
Re: Fatal error: Allowed memory size of 16777216 bytes exhau
Posted: Sat Jan 29, 2011 11:08 am
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???
Re: Fatal error: Allowed memory size of 16777216 bytes exhau
Posted: Sat Jan 29, 2011 12:19 pm
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
Re: Fatal error: Allowed memory size of 16777216 bytes exhau
Posted: Sat Jan 29, 2011 2:58 pm
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??
Re: Fatal error: Allowed memory size of 16777216 bytes exhau
Posted: Sat Jan 29, 2011 8:24 pm
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
Re: Fatal error: Allowed memory size of 16777216 bytes exhau
Posted: Sat Jan 29, 2011 10:03 pm
by Pythoniels
Hi Ronny,
the line did not exist but I added it to my php.ini . But unfortunatly, no result either.
Re: Fatal error: Allowed memory size of 16777216 bytes exhau
Posted: Tue Feb 01, 2011 11:20 am
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??
Re: Fatal error: Allowed memory size of 16777216 bytes exhau
Posted: Sun Feb 06, 2011 8:05 pm
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.
Re: Fatal error: Allowed memory size of 16777216 bytes exhau
Posted: Sat May 28, 2011 10:28 pm
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