Activities

February 2010
M T W T F S S
« Jan   Mar »
1234567
891011121314
15161718192021
22232425262728

Fatal error: Allowed memory size of 134217728 bytes exhausted

I got this error when I try to exeucute a scheduled job.

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 16 bytes) in /home/login/www/libraries/joomla/database/database/mysql.php on line 462

The solution is,

Increase the memory_limit on php.ini. Since I am using a shared hosting I can’t change the settings globally. So I switched to the webroot and create .htaccess file then add the line

-bash-3.2# vi .htaccess
php_value memory_limit 400M
php_value max_execution_time 18000

Problem Solved !!

7 comments to Fatal error: Allowed memory size of 134217728 bytes exhausted

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>