Resaving Entries hitting a mysterious memory limit
Most likely you'll need to add this line to the Craft config file (craft/config/general.php)...

'phpMaxMemoryLimit' =&gt; '512M',



Craft 2 docs
Craft 3 docs