Modify the memory limit

Before running the commands shown on this page, you should load the Bitnami stack environment by executing the installdir/use_APPNAME script (Linux and MacOS) or by clicking the shortcut in the Start Menu under “Start -> Bitnami APPNAME Stack -> Application console” (Windows). On OS X VMs, the installation directory is /opt/bitnami and OS X VM users can click the “Open Terminal” button to run commands. Learn more about the Bitnami stack environment and about OS X VMs.

Change the memory limit only for the console file

In order to change the memory_limit value for the console file, you should modify the installdir/apps/akeneo/htdocs/app/console file and edit this line to your custom value:

ini_set('memory_limit', '1024M');

Change the memory limit globally

In order to change the memory_limit value globally for Akeneo, you should modify the *installdir/apps/akeneo/htdocs/app/console *file and remove this line:


Then, set the custom memory_limit value as below. Note that this will apply the new memory_limit value to all applications in the installdir/apps/ directory.

To modify the assigned memory value to PHP, you will need to modify the memory_limit value in the installdir/php/etc/php.ini file:

memory_limit = 128M

Also, note that your application might use .htaccess and Apache configuration files to configure the PHP memory limit. To check this, run these commands:

$ cd installdir/apps
$ grep -R "php_value memory_limit" .

$ cd installdir/php
$ grep -R "memory_limit" .

$ cd installdir/apache
$ grep -R "php_value memory_limit" .

Remember to restart your server to reload the configuration.

Last modification April 8, 2020