Memory problem

Author Message

Michele Mader

Wednesday 26 February 2003 6:12:45 am

I have installed ez3 without problems, but now i obtain the following error messages.

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 184320 bytes) in /home/mmader/ez3/var/cache/template/tree/a4518fa0d725fdd6e700a4821e382ea0.php on line 514

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 12 bytes) in /home/mmader/ez3/lib/ezutils/classes/ezexecution.php on line 157

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 32 bytes) in Unknown on line 0

I could set an higher value in php.ini, but i think it's a bad idea.
Is eZ publish 3 really so heavy to run or there is some alternative solution?

Anders Jensen-Urstad

Wednesday 26 February 2003 7:07:58 am

> I have installed ez3 without problems, but now i obtain the
> following error messages.
>
> Fatal error: Allowed memory size of 8388608 bytes exhausted
> (tried to allocate 184320 bytes) in
> /home/mmader/ez3/var/cache/template/tree/a4518fa0d725fdd6e700a4821e382ea0.php
> on line 514
>
> Fatal error: Allowed memory size of 8388608 bytes exhausted
> (tried to allocate 12 bytes) in
> /home/mmader/ez3/lib/ezutils/classes/ezexecution.php on line
> 157
>
> Fatal error: Allowed memory size of 8388608 bytes exhausted
> (tried to allocate 32 bytes) in Unknown on line 0
>
> I could set an higher value in php.ini, but i think it's a
> bad idea.
> Is eZ publish 3 really so heavy to run or there is some
> alternative solution?

Well, the default 8MB isn't always sufficient. From http://ezwiki.blanko.info/index.php/3XPS_OutOfMemory :

"On some configurations, eZ publish 3 needs more than 8Mb internal memory. Just raise the memorylimit for php (php_admin_value memory_limit 10M in (virtual) server config)"

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 11:08:13
Script start
Timing: Jan 18 2025 11:08:13
Module start 'layout'
Timing: Jan 18 2025 11:08:13
Module start 'content'
Timing: Jan 18 2025 11:08:13
Module end 'content'
Timing: Jan 18 2025 11:08:13
Script end

Main resources:

Total runtime0.6488 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 587.9063152.6250
Module start 'layout' 0.00590.0032 740.531339.4453
Module start 'content' 0.00910.6381 779.9766461.3828
Module end 'content' 0.64730.0015 1,241.35948.3359
Script end 0.6487  1,249.6953 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.5289160.0002
Check MTime0.00130.2072160.0001
Mysql Total
Database connection0.00080.130110.0008
Mysqli_queries0.605093.2476540.0112
Looping result0.00050.0718520.0000
Template Total0.617795.220.3088
Template load0.00230.354320.0011
Template processing0.615494.854020.3077
Template load and register function0.00020.037110.0002
states
state_id_array0.00080.127310.0008
state_identifier_array0.00120.189720.0006
Override
Cache load0.00200.3015320.0001
Sytem overhead
Fetch class attribute can translate value0.00070.103320.0003
Fetch class attribute name0.00090.137820.0004
XML
Image XML parsing0.00020.037320.0001
class_abstraction
Instantiating content class attribute0.00000.000620.0000
General
dbfile0.00070.1085100.0001
String conversion0.00000.001540.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs