Is it possible to catch out of memory exception in java?

Viewed 98100

I'm developing a program that would require huge amount of memory, and I want to catch when out-of-memory exception happens. I had heard this is not possible to do, but curious if there is any development on this end.

9 Answers
Related