OutMemoryError Logging
Dear all,
In our application,every time an exception is thrown, we capture it, open a file, log the exception in the file, then close it. When outOfMemory error occurs, will it be captured and logged in the file for sure? Or is it possible for the exception not to be logged since the application is running out of memory. We have seen the OutOFMemory log in our exception file. But can we say for sure the sequence of actions for logging the exception will always occur even when out of memory occurs ?

