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 Quote 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. Quote 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......... Quote 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 Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.