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 !!
Works Fine for me thx
But i need to know from which plugin a get this error
Hello,
This is not a plugins issue. Any php program which execution is taking more than the default memory reserved for php complier will throws such error.
good day
Dear Brothers,
Let me tell you the easiest way, you will never face this problem.
Steps: Go to your control panel, open mysql databases and click them, then repair your databases one by one.
Refresh your website and you will see the problem is solved 🙂
DONT DO ANYTHING ELSE OTHER WISE YOU WILL BE CONFUSED
f@HEEM fROM aFGH@NIST@N
Hello,
It doesn’t have any connection with database health. It’s showing how php script is communication with mySQL database and it’s requirements.
my website has approximately 20 thousands visitors per day and i solved my problem this way.
Glad to know that. Amazon offers load balancer in cheap rate which good for LAMP deployment.
Great
It works 🙂