Skip to content

Instantly share code, notes, and snippets.

@davebeach
Last active January 16, 2017 03:39
Show Gist options
  • Save davebeach/11f6593a9d59f1f02956d3b4da007fc9 to your computer and use it in GitHub Desktop.
Save davebeach/11f6593a9d59f1f02956d3b4da007fc9 to your computer and use it in GitHub Desktop.

Drupal Memory Management

Adjust Max Memory in ini.php file:

Locate the php ini configuration file by running the drupal status report and clicking on more information:

loaded configuration file value: /opt/bitnami/php/etc

Modify file

Parameter: memory_limit Value: 64M, 128M, 256M Note the larger the parametr value the less concurrent processes that will run on the drupal instance.

More information can be found at https://www.drupal.org/docs/7/managing-site-performance-and-scalability/changing-php-memory-limits

Add Swapping file to Linux Instance:

Linux Debian / Ubuntu

Instructions at https://www.digitalocean.com/community/tutorials/how-to-configure-virtual-memory-swap-file-on-a-vps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment