"Allowed memory size" problem workaround

dsatkhan

Joined: 2003-03-27
Posts: 1
Posted: Thu, 2003-03-27 21:00

Small addition for the problem explained in FAQ:
4.33: Why do I get the Allowed memory size of Xxx bytes exhausted?

As the workaround I had to disable the showAlbumTree in the config.php by selecting "no":
$gallery->app->showAlbumTree = "no";

I hope it will help someone someday.

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Fri, 2003-03-28 00:13

This is not really a workaround. This error could still appear, however, not showing the album tree does take up less memory...

 
nick_rembis

Joined: 2003-01-20
Posts: 524
Posted: Fri, 2003-03-28 07:03

The memory_limit is a PHP constant that can be overriden per directory in any .htaccess file or the httpd.conf file for the apache webserver.....so you do not need a so called "work around".