Increase PHP memory limit in wp-config
<?php define( 'WP_MEMORY_LIMIT', '128M' ); ?>
WordPress Snippets