Hello everyone!

We have been investing plenty of personal time and energy for many years to share our knowledge with you all. However, we now need your help to keep this blog running. All you have to do is just click one of the adverts on the site, otherwise it will sadly be taken down due to hosting etc. costs. Thank you.

This error often occurs when the system ran out of memory while running a PHP application in terminal. To solve the problem do the following.


Update ini files


Set memory_limit to "-1" (unlimited) in ini files.


sudo nano /etc/php5/apache2/php.ini
sudo nano /etc/php5/cli/php.ini
sudo nano /etc/php5/fpm/php.ini

memory_limit=-1