I am facing the common \"Fatal error: Out of memory (allocated 30408704) (tried to allocate 24 bytes)...\" PHP Fatal error. Pages served via Apache are not exhibiting this b
It turns out that the problem was caused by shell fork bomb protection being enabled on the server that was placing a hard memory limit on all command-line scripts. This had been enabled by my web host without my knowledge.