Increase WordPress memory limit

When your WordPress code requires more memory than the default allocated memory, you may see errors or blank pages.

To resolve this you can increase your memory limit by using the following snippet.

// Add to your WP-Config.php file
define('WP_MEMORY_LIMIT', '256M');

– LAST TESTED DECEMBER 9, 2019

Code not working? Let us know in the comments below.

Latest Snippets

Leave a comment