Forums / Install & configuration / Memory Usage + Database Configuration

Memory Usage + Database Configuration

Author Message

Shai Tung Li

Friday 26 December 2003 10:20:12 pm

Hello,

I just installed eZ-publish 3.3-1. I'm running:
FreeBSD 5.1-release
Apache 2.0.48
PHP 4.3.4
PostgreSQL 7.4.1

In order to get eZ-publish to run, I had to edit php.ini to increase memory_limit to 12M (from 8M).

First: Is this expected? That seems like a lot of memory.

Second: If this is expected, it would probably be a good idea to make a note of this in the installation documentation. I'm no PHP guru and figuring this out took me quite a while, and during that time eZ-publish didn't make a very good impression.

ALSO:

I followed the instructions per setting up the database ... but when I got to the screen where it asked for the database name, it said the database already contained data. I told it to delete the data and it worked ... but why did it give me this message?

Shai Tung Li

Friday 26 December 2003 10:33:39 pm

Whoops ... turns out it needs even more memory in the admin interface. Doubling memory_limit to 24M seems to have worked.

Paul Borgermans

Saturday 27 December 2003 2:40:25 am

You may need even more memory in other situations.

For a large server where also large pdf files need to be indexed, I had to raise the memory to 128MB

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Balazs Halasy

Saturday 27 December 2003 2:44:54 am

Regarding memory_limit in PHP:
Yeah, the required limit is around 12-16 MB. I thought we added this to the install doc a while ago - maybe not.. hmm, I'll take a look and add it if its not there. Anyway, 12 MB (or in some special cases 16 MB) is required, yes.

You shouldn't need 24 MB. Sometimes eZ publish needs a bit more than 12 MB the first time it is run. But this is a one-time-only phenomenon. I believe you need max 16 MB when running "normally" - try to decrease the memory_limit again.

Regarding the database:
If the database is empty and the setup still insists on erasing it then simply do it. Could be a bug in the setup wizard. We'll have a look at it. Thanks for pointing this out.

Balazs

Balazs Halasy

Saturday 27 December 2003 3:04:39 am

The memory requirement information was missing - I've added it to the docs now:

http://ez.no/developer/ez_publish_3/documentation/installation/normal_installation/requirements_for_doing_a_normal_installation

Again, thanks for telling.

Balazs