How to Increase WordPress Memory Limit

We recommend setting memory to at least 128MB

– Default is 40 MB

 <?php
define( 'WP_MEMORY_LIMIT', '256M' );