Modify the memory limit

Change the memory limit globally

In order to change the memory_limit value used by Akeneo for every command run through its console, you should modify the previous console file and remove this line if it exists:


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

To modify the assigned memory value to PHP, you will need to modify the memory_limit value in the /opt/bitnami/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. If the memory limit is configured in any of these files, update it to reflect the global limit set previously. To check this, run these commands:

$ cd /opt/bitnami/apps
$ grep -R "php_value memory_limit" .

$ cd /opt/bitnami/php
$ grep -R "memory_limit" .

$ cd /opt/bitnami/apache
$ grep -R "php_value memory_limit" .

Remember to restart your server to reload the configuration.

Last modification February 9, 2023