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