Forums / Install & configuration / Memory limit.. and .htaccess problems

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Memory limit.. and .htaccess problems

Author Message

Petter Neumann

Sunday 20 June 2004 4:13:18 pm

After install ez 3.4 and acessing the site, I get this error:
"
Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 44 bytes) in /home/mydomain/www/e/lib/ezxml/classes/ezdomnode.php on line 458
Fatal error: Exponential did not finish it's request

The execution of Exponential was abruptly ended, the debug output is present below.
"
there is no debug output.

I also tried to copy the .htaccess_root file to my ez root directoty, rename it to
.htaccess and add the line

php_value memory_limit "32M"

But when doing that I only get a
"
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
"

/ Petter

Kåre Køhler Høvik

Sunday 20 June 2004 11:41:25 pm

Exponential probably runs out of memory due to template compilation. You can do this from command line : http://ez.no/ez_publish/documentation/development/scripting/supplied_scripts/template_compiler

--
Kåre Høvik

Kåre Høvik

James Packham

Monday 21 June 2004 3:49:08 am

I prefer to use a hack of index.php to get around it. Just add:

ini_set( "memory_limit", "-1M");

to the begining of index.php. This will disable the php memory limit. Just remember it's there when you upgrade :)

Regards,

James