An OOME is of the class of errors which generally you shouldn\'t recover from. But if it is buried in a thread, or someone catches it, it is possible for an application to g
How about catching OOME yourself in your code and System.exit()?
System.exit()