Forums / Developer / memory exhaustion error in eZ 3.5.1!!

memory exhaustion error in eZ 3.5.1!!

Author Message

Marko Žmak

Monday 07 March 2005 1:46:31 pm

I've installed a fresh 3.5.1. installation, and the setup went OK. When i tried to open a page of the user site i got this error message:

Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 45 bytes) in /home/sites/site770/web/test/lib/ezxml/classes/ezdomnode.php on line 581
Fatal error: eZ publish did not finish its request

The execution of eZ publish was abruptly ended, the debug output is present below.

The same happens with the admin site.

This shouldn't be happening since, the minimum for the memory limit iz mentioned as 12MB. Why does the site need >20MB?

The 3.4 installation worked O.K. on the same system.

This is my system information:

PHP: Version 4.3.10
OS: Linux
Mysql: Client API version 4.0.18

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

J-A Eberhard

Monday 07 March 2005 3:07:28 pm

You need more memory (24 Mo) for the installation.

Open Source Solution Provider
Open-Net Ltd Switzerland
http://www.open-net.ch

Marko Žmak

Tuesday 08 March 2005 3:47:33 pm

Sorry, but that's not a satisfying answer. The setup didn't complain anything about memory limit being to low, so the site should work. And isn't a 24MB limit a little bit too high?

Also, the same version of eZ publish (3.5.1) worked when I made an upgrade to it from an older version on another server.

So, is this a bug in eZ, and how can I resolve this?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Carl Heaton

Wednesday 09 March 2005 12:17:15 am

Well I guess if its the first visit on a new install ez will require more RAM to create its caches etc. than during normal usage? Just my 2pence worth :)

---
Carl
{'EZP 3.5, Apache 2, FC2, PHP 4.3.4 (cgi), MySQL 4.1.9'}

Marko Žmak

Thursday 10 March 2005 1:36:12 pm

Well, how can I avoid this, cause I canno't get a higher memory limit on the server I'm using.

And why isn't that mentioned during the setup process? How can the setup finish succsessfully, and then the site desn't work?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Carl Heaton

Friday 11 March 2005 1:02:59 am

what does the following command say just before and just after the error occurs?

free -m

I had some odd issues with Fedora Core 2, Apache 2, and low memory (you don't mention your apache and linux distro though). I changed lots of things (apache, php, mysql, ram) and eventually got it working although I couldn't tell you what the actual issue was ;)

---
Carl
{'EZP 3.5, Apache 2, FC2, PHP 4.3.4 (cgi), MySQL 4.1.9'}