Fatal error: Allowed memory size of 16777216 bytes exhausted

Author Message

Vasiliy Kosyuchenko

Thursday 03 September 2009 7:51:09 am

After Uploading at server and appeal to address, server whrite this message:
<b>Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 44 bytes) in /var/www/virtual/.../lib/ezi18n/classes/ezcharsetinfo.php on line 56</b>
Help me please.

Clemens T

Thursday 03 September 2009 8:16:30 am

I think what you should do is set the memory_limit higher in your php.ini, right now it's only 16MB which is way too low for eZ Publish unfortunately.

If you don't have access to the php.ini file because you are in a shared environment you might try this @ the top of the /index.php of eZ Publish:

ini_set("memory_limit","150M");

Does this get rid of the issue?

Good luck!

Vasiliy Kosyuchenko

Thursday 03 September 2009 9:18:06 am

I get answer) At .htaccess write: php_value memory_limit <value>(example: 150M)

Thanks for help)
Best Regards, Vasiliy)

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.