Increase available RAM for reports

July 19, 2011 • Customer Services       
Synopsis

This article explains how you can increase the amount of memory available to reports.

Article

Log into the command line as root and type the following commands :-

cd /etc/php5/apache
nano php.ini

You are now editing the file that controls many aspects of how PHP runs on your system.

Type Ctrl-w memory_limit followed by RETURN and you should be rewarded with a line that looks similar to the following :-

memory_limit = 64M ; Maximum amount of memory a script may consume (8MB)

Simply change the value you find to a greater amount. We recommend choosing a value divisible by 8.

Now press Ctrl-o followed by RETURN to write the file.
Press Ctrl-x to exit the editor.

Restart Apache by typing

/etc/init.d/apache restart

The job is complete.

Related articles


Last modified on Tue, July 19, 2011 « Back