Fatal error: Allowed memory size of 20971520 bytes

Author Message

Bjartur auf Sommerhaus

Sunday 13 November 2005 3:05:07 pm

Hello,

after a new install, following your instructions for manual installing, I set up Version 3.7.2 on the server of my Webhoster.

After Start I get the following Mesage:

Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 35 bytes) in /var/www/web509/html/lib/ezi18n/classes/eztstranslator.php on line 460Fatal error: eZ publish did not finish its request

The execution of eZ publish was abruptly ended, the debug output is present below.

Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 12 bytes) in /var/www/web509/html/lib/ezfile/classes/ezdir.php on line 291

What can I do? From other postings I read there was the suggestion to reduce the languages but I've only
one language installed. Is there another possibility to reduce memory, because I do'nt think that my provider would increase the memory size for PHP.

Many thanks in advance + nice day!

Bjartur

Salvatore Guarino

Monday 14 November 2005 12:04:33 am

Hi Bjatur,

I had a similar problem using the backup function of the admin extension. Another big problem with a classic hosting service is that there are often uprade of php, without inform you before. My hosting provider last month upgraded from php 4.3 to php 4.4 and my eZpublish 3.6.1 has stopped to work. My advice is to use a certified eZpublish hosting solution (take a look in the list of partner) or use a more expensive service like housing or vps (virtual private server), in this case you can configure the server as you want.

Bye,

Salvatore

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 19 2025 07:20:25
Script start
Timing: Jan 19 2025 07:20:25
Module start 'layout'
Timing: Jan 19 2025 07:20:25
Module start 'content'
Timing: Jan 19 2025 07:20:26
Module end 'content'
Timing: Jan 19 2025 07:20:26
Script end

Main resources:

Total runtime1.3920 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.0084 589.4063152.6563
Module start 'layout' 0.00840.0036 742.062539.5078
Module start 'content' 0.01201.3787 781.5703496.0547
Module end 'content' 1.39070.0013 1,277.62508.2656
Script end 1.3920  1,285.8906 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2477160.0002
Check MTime0.00150.1050160.0001
Mysql Total
Database connection0.00080.055210.0008
Mysqli_queries1.339596.2315540.0248
Looping result0.00090.0644520.0000
Template Total1.357097.520.6785
Template load0.00220.157020.0011
Template processing1.354897.329820.6774
Template load and register function0.00040.026610.0004
states
state_id_array0.00100.069410.0010
state_identifier_array0.00160.117120.0008
Override
Cache load0.00170.1247190.0001
Sytem overhead
Fetch class attribute can translate value0.00070.053820.0004
Fetch class attribute name0.00120.086430.0004
XML
Image XML parsing0.00070.048420.0003
class_abstraction
Instantiating content class attribute0.00000.000630.0000
General
dbfile0.00090.0638170.0001
String conversion0.00000.000740.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
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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: 6

Time used to render debug report: 0.0002 secs