VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: uschmi on November 06, 2012, 17:17:09 PM

Title: Error message: memory exhausted
Post by: uschmi on November 06, 2012, 17:17:09 PM
We do need some larger lists without pagination as well in frontend as in backend.
When trying to start a larger list we get this error message:
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 117 bytes) in /www/htdocs/w00f0ad4/shop/libraries/joomla/language/language.php on line 797

Is there any solution for this memory problem?
Title: Re: Error message: memory exhausted
Post by: bytelord on November 06, 2012, 17:34:38 PM
Hello,

This one is related with your PHP options regarding to memory limit.

You could edit your php.ini file and import the following:

memory_limit = 128M
max_execution_time = 300
value upload_max_filesize 12M

If you don't have access to PHP configuration try to edit the htacaess file:
If you are using apache you have to rename the file to htaccess.txt .htaccess. Then under joomla global configuration you have to enable Use URL rewriting

After that edit your .htaccess and place the line:

php_value max_execution_time 300
php_value memory_limit 128M
php_value upload_max_filesize 12M

Depends on your needs

Take a look over here also: http://wiki.opensource-excellence.com/index.php?title=Changing_PHP_configuration_setting

Regards
Title: Re: Error message: memory exhausted
Post by: uschmi on November 06, 2012, 17:39:55 PM
Problem solved!
thanks a lot!  :)