Do you know any solution to recover from the PHP fatal error : \"Allowed memory size ... exhausted\"
I have a shutdown function that is called when a fatal
This worked fine for me:
try { ini_set('memory_limit', (ini_get('memory_limit')+1).'M'); } catch(Exception $e) {}
This assumes your memory limit is in the format 123M.
123M