Memory: 8MB instead of 12MB

Author Message

J H

Friday 27 February 2004 1:32:17 am

Is it possible to run eZ Publish on a server limited to 8MB memory (per script process)?

Just found out that it needs 12MB and my server only provide 8MB with small to no possibilty for an increase to 12MB. Is minimum 12MB a strict requirement?

James Packham

Friday 27 February 2004 3:34:53 am

Yeah, you'll just get a load of nasty errors if you try it on less than 12. On the brightside this is one of things EZ are working on.

Regards,

James

Martin Ulrich

Friday 27 February 2004 8:52:35 am

I had the same probleme. I am on shared hosting server. I solved it by changing .htaccess and load hidden file .htaccess into ez root.

my htaccess with 24 MB :

<FilesMatch "\.(php|html?)$">
php_value memory_limit 24M
</FilesMatch>

_______________________

http://artenic.de ARTENIC - Publishing mit allen Mitteln!

Alexandre Cunha

Monday 08 March 2004 8:24:50 am

Doest solve for me.
Using a shared host too.

Any ideas ?

http://AlexandreCunha.com

Bruce Morrison

Monday 08 March 2004 3:32:19 pm

I think you will have to wait for 3.4
http://ez.no/community/blog/just_got_below_8mb

Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Iain MacLean

Monday 15 March 2004 6:32:54 pm

Hi

Try adding this as the first line in index.php (straight after the commented-out header) if the .htaccess option doesn't work.

ini_set ( memory_limit, "24M" );

I'm also on a shared host and the provider won't change the system-wide php.ini file. This worked for me.

Cheers

Iain

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 16:27:42
Script start
Timing: Jan 18 2025 16:27:42
Module start 'layout'
Timing: Jan 18 2025 16:27:42
Module start 'content'
Timing: Jan 18 2025 16:27:42
Module end 'content'
Timing: Jan 18 2025 16:27:42
Script end

Main resources:

Total runtime0.8389 sec
Peak memory usage4,096.0000 KB
Database Queries74

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0037 588.0313152.6406
Module start 'layout' 0.00370.0026 740.671939.4609
Module start 'content' 0.00620.8310 780.1328703.7734
Module end 'content' 0.83730.0015 1,483.906312.1641
Script end 0.8388  1,496.0703 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.3575160.0002
Check MTime0.00130.1531160.0001
Mysql Total
Database connection0.00040.042110.0004
Mysqli_queries0.783593.4042740.0106
Looping result0.00080.0916720.0000
Template Total0.810396.620.4051
Template load0.00180.211720.0009
Template processing0.808596.378520.4042
Template load and register function0.00010.013810.0001
states
state_id_array0.00060.068910.0006
state_identifier_array0.00130.159620.0007
Override
Cache load0.00150.1845320.0000
Sytem overhead
Fetch class attribute can translate value0.00090.103360.0001
Fetch class attribute name0.00170.199780.0002
XML
Image XML parsing0.00130.154260.0002
class_abstraction
Instantiating content class attribute0.00000.001880.0000
General
dbfile0.00180.2192220.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
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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: 20
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs