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.

eZ debug

Timing: Jan 18 2025 05:14:35
Script start
Timing: Jan 18 2025 05:14:35
Module start 'layout'
Timing: Jan 18 2025 05:14:35
Module start 'content'
Timing: Jan 18 2025 05:14:35
Module end 'content'
Timing: Jan 18 2025 05:14:35
Script end

Main resources:

Total runtime0.5226 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 588.3984152.6875
Module start 'layout' 0.00540.0024 741.085939.5234
Module start 'content' 0.00790.5134 780.6094467.1875
Module end 'content' 0.52120.0013 1,247.79698.0781
Script end 0.5226  1,255.8750 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.6214160.0002
Check MTime0.00130.2479160.0001
Mysql Total
Database connection0.00080.145610.0008
Mysqli_queries0.482592.3334570.0085
Looping result0.00050.0927550.0000
Template Total0.492394.220.2462
Template load0.00190.370920.0010
Template processing0.490493.837120.2452
Template load and register function0.00010.022010.0001
states
state_id_array0.00080.152110.0008
state_identifier_array0.00100.184920.0005
Override
Cache load0.00150.2930160.0001
Sytem overhead
Fetch class attribute can translate value0.00080.155420.0004
Fetch class attribute name0.00110.210930.0004
XML
Image XML parsing0.00020.041720.0001
class_abstraction
Instantiating content class attribute0.00000.001330.0000
General
dbfile0.00060.1169100.0001
String conversion0.00000.001740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs