Forums / Install & configuration / Memory problem

Memory problem

Author Message

Michele Mader

Wednesday 26 February 2003 6:12:45 am

I have installed ez3 without problems, but now i obtain the following error messages.

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 184320 bytes) in /home/mmader/ez3/var/cache/template/tree/a4518fa0d725fdd6e700a4821e382ea0.php on line 514

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 12 bytes) in /home/mmader/ez3/lib/ezutils/classes/ezexecution.php on line 157

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 32 bytes) in Unknown on line 0

I could set an higher value in php.ini, but i think it's a bad idea.
Is eZ publish 3 really so heavy to run or there is some alternative solution?

Anders Jensen-Urstad

Wednesday 26 February 2003 7:07:58 am

> I have installed ez3 without problems, but now i obtain the
> following error messages.
>
> Fatal error: Allowed memory size of 8388608 bytes exhausted
> (tried to allocate 184320 bytes) in
> /home/mmader/ez3/var/cache/template/tree/a4518fa0d725fdd6e700a4821e382ea0.php
> on line 514
>
> Fatal error: Allowed memory size of 8388608 bytes exhausted
> (tried to allocate 12 bytes) in
> /home/mmader/ez3/lib/ezutils/classes/ezexecution.php on line
> 157
>
> Fatal error: Allowed memory size of 8388608 bytes exhausted
> (tried to allocate 32 bytes) in Unknown on line 0
>
> I could set an higher value in php.ini, but i think it's a
> bad idea.
> Is eZ publish 3 really so heavy to run or there is some
> alternative solution?

Well, the default 8MB isn't always sufficient. From http://ezwiki.blanko.info/index.php/3XPS_OutOfMemory :

"On some configurations, eZ publish 3 needs more than 8Mb internal memory. Just raise the memorylimit for php (php_admin_value memory_limit 10M in (virtual) server config)"