Fatal error - memory size exhausted

Fatal error - memory size exhausted

Tuesday 30 November 2004 2:37:01 pm - 6 replies

Author Message

Balazs Halasy

Tuesday 30 November 2004 2:55:27 pm

Hi,

You should try increasing the memory limit in php.ini. Look for "memory_limit". It is also possible to set it to unlimited.

Balazs

Bruce Morrison

Tuesday 30 November 2004 11:03:05 pm

Hi Balazs

I think the recommended memory limit of 12Mb needs to be increased.

> It is also possible to set it to unlimited.
While this is true but the setting is there for a purpose, it stops php programms from using all your memory and grinding your server to a halt. This is a possibily if you set this to unlimited. Not something I'd recommend is done on a production server :)

Cheers
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

Marko 1473

Wednesday 01 December 2004 2:42:21 am

What if I don't have access to php.ini? Is there another way to fix this? And what is a a reasonable value for memory_limit?

Thanks.

Ɓukasz Serwatka

Wednesday 01 December 2004 2:47:33 am

Hi,

You can ask for help administrator which has access to php.ini. I recommend set memory_limit to 24MB.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Marko 1473

Wednesday 01 December 2004 5:33:56 am

Thanks for your replies.

Unfortunately, web host support won't change the settings at all as the web site in on the shared server. Of course, I can (for the huge price) get a dedicated server :-(

Any other options/recommendations?

Balazs Halasy

Wednesday 01 December 2004 8:23:37 am

How about this:

Try to turn off the template compiler (also maybe some of the caching mechanisms). Clear all caches and attempt to load the page.

Allman

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.