Forums / Install & configuration / Memory Exhausting During Installaton

Memory Exhausting During Installaton

Author Message

Mike Borozdin

Monday 07 June 2010 12:52:28 am

Hi,

I have problems installing eZ Publish 4.30, every time I press the "Fine Tune" button or the "Install" one, I get a memory exhaustion error. But I've increased the amount of available memory to PHP from 128M to 512M and still get the same error.

Christian Rößler

Monday 07 June 2010 1:13:35 am

Hy and welcome to eZ-Community :-)

After changing php-memory-limits or doing other changes to the php.ini, make sure to reload/restart your webserver to make changes taking effect.

Speaking of the php.ini, what ini did you modify? The cli or the apache one? What webserver/system did you use (apache on linux or iis on windoze) ?

Such error is very well known here, so searching for "php memory limit" should point you to several good threads too.

cheers,

chris

Hannover, Germany
eZ-Certified http://auth.ez.no/certification/verify/395613

Mike Borozdin

Monday 07 June 2010 2:20:10 am

Hi Chris,

Yes, I did restart my server after modifying php.ini. I modified the CLI one, I think (the one that is in the PHP folder).

My setup:

Windows 7

Apache 2.2

PHP 5.2.3

Christian Rößler

Monday 07 June 2010 3:06:59 am

hehe, modifiying the CLI php.ini is wrong :-)

Cli php.ini is for your commandline based php (scripts, cronjobs, ...)
There should be another php.ini which is used by the webserver. Php (and those websites as ezpublish) runs as a sort of plugin in the webserver. Thus the webserver needs to have a php.ini too.
In linux/debian you should have the following files:

/etc/php5/apache/php.ini is the one you need to edit for ezpublish.
/etc/php5/cli/php.ini is the one for cronjobs, and common commandline-php scripts.

I don't know the locations on windows7 and IIS.

My guess is you hit the wroong php.ini.
Utilize a simple php-test-script using "phpinfo();" (google it if you need help) to determine the exact location of the php.ini used by windows-webserver.

chris

Hannover, Germany
eZ-Certified http://auth.ez.no/certification/verify/395613

Mike Borozdin

Monday 07 June 2010 4:42:03 am

Chris,

It wasn't the CLI php.ini, because when I run phpinfo() it showed me I had 512M of memory allocated to PHP.

Christian Rößler

Monday 07 June 2010 8:25:40 am

mmmhhh,

did you manage to put "phpinfo()" into a php file and called this php-file in your browser?

My guess would be that the vhost configured in IIS did not load the correct/corresponding php-ini. This in turn loads the default php-settings which is not sufficient for eZPublish.

My solution would be:

  • view php-info output via a browser, not cli
  • get the location of the loaded ini-file
  • edit this ini-file
  • reload webserver
  • check settings again
  • do loop until correct

As I dont have any experience with combination iis/php/ezpublish/windows i cannot help any further at this point. sorry mike.

--
Chris

Hannover, Germany
eZ-Certified http://auth.ez.no/certification/verify/395613

Mike Borozdin

Tuesday 08 June 2010 12:32:31 am

Chris,

Yes, it is in the browser. I've never used PHP CLI, sorry for confusion. And I also wrote above that I was using Apache, not IIS.

eZ debug

Timing: Jan 17 2025 23:52:59
Script start
Timing: Jan 17 2025 23:52:59
Module start 'content'
Timing: Jan 17 2025 23:53:00
Module end 'content'
Timing: Jan 17 2025 23:53:00
Script end

Main resources:

Total runtime1.3433 sec
Peak memory usage4,096.0000 KB
Database Queries206

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0068 587.8359180.8203
Module start 'content' 0.00681.2428 768.6563549.6719
Module end 'content' 1.24970.0936 1,318.3281337.7891
Script end 1.3432  1,656.1172 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.2954210.0002
Check MTime0.00140.1065210.0001
Mysql Total
Database connection0.00050.036410.0005
Mysqli_queries1.280395.31012060.0062
Looping result0.00160.12182040.0000
Template Total1.312197.720.6561
Template load0.00190.139220.0009
Template processing1.310297.538120.6551
Template load and register function0.00020.012410.0002
states
state_id_array0.00200.145810.0020
state_identifier_array0.00150.114520.0008
Override
Cache load0.00160.1177510.0000
Sytem overhead
Fetch class attribute can translate value0.00130.093130.0004
Fetch class attribute name0.00090.066070.0001
XML
Image XML parsing0.00040.029630.0001
class_abstraction
Instantiating content class attribute0.00000.001070.0000
General
dbfile0.00170.1256210.0001
String conversion0.00000.000730.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
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
7content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
12content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/li.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/li.tplEdit templateOverride template
1content/datatype/view/ezxmltags/ul.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/ul.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 27
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs