Fatal error: Allowed memory size of 67108864 bytes exhausted
Posted: Mon Sep 06, 2010 2:41 am
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
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