redfort Posted September 6, 2010 Share Posted September 6, 2010 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...... 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 Link to comment https://forums.phpfreaks.com/topic/212645-fatal-error-allowed-memory-size-of-67108864-bytes-exhausted/ Share on other sites More sharing options...
inversesoft123 Posted September 6, 2010 Share Posted September 6, 2010 Hi check for this setting in php.ini memory_limit = ***M ; Maximum amount of memory a script may consume (***MB) Increase Limit and Restart Apache. Link to comment https://forums.phpfreaks.com/topic/212645-fatal-error-allowed-memory-size-of-67108864-bytes-exhausted/#findComment-1107768 Share on other sites More sharing options...
redfort Posted September 6, 2010 Author Share Posted September 6, 2010 Hi , Increasing memory will be a temporary fix....again it may occurs......... Link to comment https://forums.phpfreaks.com/topic/212645-fatal-error-allowed-memory-size-of-67108864-bytes-exhausted/#findComment-1107772 Share on other sites More sharing options...
redfort Posted September 6, 2010 Author Share Posted September 6, 2010 Any other solution ......... As i mentioned.........possible....thinhs Link to comment https://forums.phpfreaks.com/topic/212645-fatal-error-allowed-memory-size-of-67108864-bytes-exhausted/#findComment-1107773 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.