Not enough memory

Author Message

Gerhard Hoogterp

Thursday 06 February 2003 1:56:12 pm

I've done a clean install, created a new database etc. But the moment I want to add a folder to "FrontPage" I get

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 184320 bytes) in /home/ez/ezpublish-2.9-7/var/cache/template/tree/2c52c2ce618590d8eb1afd18aa24bdd6.php on line 515
Fatal error: eZ publish did not finish it's request

Of course I can raise the memory limit, but then again 8Mb should be enough to open a page.. Any pointer?

Gerhard Hoogterp

Friday 07 February 2003 6:20:18 am

> It's a php limit. To fix it, you'll needd to edit your
> php.ini file.

May be (and yes, I know how to put it higher) but if I need more than the default php 8Mb limit just to show the form needed to add a first folder in an empty site, ez has bigger problems.

Anyhow, with debugging enabled:

---------------------
Error: eZTemplate @ content/edit.tpl:1[0] Feb 07 2003 15:12:30

Unknown template variable 'node' in namespace ''

Error: eZTemplate @ content/edit.tpl:1[0] Feb 07 2003 15:12:30

Unknown template variable 'node' in namespace ''

Warning: PHP Feb 07 2003 15:12:30

Undefined variable: node in /home/ez/ezpublish-2.9-7/kernel/classes/datatypes/ezxmltext/ezsimpifiedxmlinput.php on line 473

Timing: Feb 07 2003 15:12:30

---------------------

is, i think, the relevant section.

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:15:09
Script start
Timing: Jan 18 2025 05:15:09
Module start 'layout'
Timing: Jan 18 2025 05:15:09
Module start 'content'
Timing: Jan 18 2025 05:15:10
Module end 'content'
Timing: Jan 18 2025 05:15:10
Script end

Main resources:

Total runtime1.0499 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0066 587.9141152.6250
Module start 'layout' 0.00660.0026 740.539139.4453
Module start 'content' 0.00931.0386 779.9844426.8281
Module end 'content' 1.04780.0020 1,206.81258.1719
Script end 1.0498  1,214.9844 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.3015160.0002
Check MTime0.00130.1228160.0001
Mysql Total
Database connection0.00070.066610.0007
Mysqli_queries1.008196.0204520.0194
Looping result0.00050.0442500.0000
Template Total1.019997.120.5099
Template load0.00200.190020.0010
Template processing1.017896.949720.5089
Template load and register function0.00020.021110.0002
states
state_id_array0.00080.075810.0008
state_identifier_array0.00130.126120.0007
Override
Cache load0.00140.1287230.0001
Sytem overhead
Fetch class attribute can translate value0.00060.053010.0006
Fetch class attribute name0.00110.104620.0005
XML
Image XML parsing0.00010.013910.0001
class_abstraction
Instantiating content class attribute0.00000.000620.0000
General
dbfile0.00070.0679100.0001
String conversion0.00000.000940.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
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/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: 11
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs