Forums / Install & configuration / Hitting memory limit with 64 MB

Hitting memory limit with 64 MB

Author Message

Matthew Carroll

Wednesday 01 November 2006 11:42:40 pm

Any ideas why I'm running out of memory. I have the limit set at 64 MB which I always read was enough:

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 575700 bytes) in /eb/users/coin/appdata/ez/var/coin/cache/template/compiled/show_dynamic_content_structure-75f63a77adf5126f75b90ff0678abcab.php on line 2253
Fatal error: eZ publish did not finish its request

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

This then persists across the entire site until I clear caches from the shell, then it works again. Humpf. I really don't have time for problems with ez right now :-(

http://carroll.org.uk

Denis Zatsarinny

Thursday 02 November 2006 8:43:11 am

Hi

64Mb is very low! On our sites with 3000 and more object I should increase a limit up to 512Mb!

Bye.

Xavier Dutoit

Thursday 02 November 2006 9:55:30 am

512 doesn't make any sense, It should be nearly ok ith 64Mb in most of the cases.

Are you trying something special when you memory timeout ?

X+

http://www.sydesy.com

Matthew Carroll

Thursday 02 November 2006 10:38:44 am

Nope, I wasn't doing anything special - just opening nodes 4 levels deep in the tree or for some reason publishing seemed to trigger it too. I thought this was a bug in the odcsm extension, but I deactivated this and the bug recurred in the standard non-ajax csm. I filed a bug report last night, since this particular site isn't big (only 360 nodes so far) and this didn't occur before I last upgraded (running from the 3.8 stable series svn).

http://issues.ez.no/IssueView.php?Id=9319

...I'm not sure where the bug might be though, and I don't have time to dig deeper. (Anyway, I did my share of volunteer late night critical ez-bug hunting already this year ;-)

For now I increased memory_limit to 128M which has "fixed" it, although to be honest I'd rather lower it again. No web page in its right mind should really need more than 64M of RAM to load.

http://carroll.org.uk

eZ debug

Timing: Jan 18 2025 16:13:17
Script start
Timing: Jan 18 2025 16:13:17
Module start 'content'
Timing: Jan 18 2025 16:13:17
Module end 'content'
Timing: Jan 18 2025 16:13:17
Script end

Main resources:

Total runtime0.3311 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0072 588.9609180.8281
Module start 'content' 0.00720.0071 769.789197.9453
Module end 'content' 0.01430.3168 867.7344526.3047
Script end 0.3310  1,394.0391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.9886200.0002
Check MTime0.00130.4054200.0001
Mysql Total
Database connection0.00070.212010.0007
Mysqli_queries0.281585.01811410.0020
Looping result0.00160.49161390.0000
Template Total0.316495.610.3164
Template load0.00090.270010.0009
Template processing0.315595.281510.3155
Override
Cache load0.00060.194810.0006
Sytem overhead
Fetch class attribute can translate value0.00090.257910.0009
XML
Image XML parsing0.00020.071310.0002
General
dbfile0.00351.0643200.0002
String conversion0.00000.002730.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs