Hi ,
As you may all have experienced this problem is there way we can non-healthy exit of script ..due to memory problem........???
I got to know..we avoid this......by properly managing our php memory by unset function. remove unusable variables and objects from memory......and increasing memory limit in phph.ini
Is there any way we can check each time inside the script -to check memory is available or sleep for some time and check again.......to proceed without exit........
Is there a way to catch this fatal error and take necessary steps to avoid exit........
Thanks,
redfort
Fatal error: Allowed memory size of 67108864 bytes exhausted
Moderator: General Moderators
Re: Fatal error: Allowed memory size of 67108864 bytes exhau
Its probably a bug, more so than not unsetting a variable. I never unset objects or variables (PHP handles that internally). Debug with this - http://php.net/manual/en/function.memory-get-usage.php