ociorocrm

Modify the memory limit

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 /opt/bitnami/apps/orocrm/htdocs/bin/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 OroCRM, you should modify the */opt/bitnami/apps/orocrm/htdocs/bin/console *file and remove this line:

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

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. 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 September 5, 2018