On Thursday, 15 May 2014 at 00:00:37 UTC, Walter Bright wrote:

Because GC failures are not recoverable, so the pure allocation cannot fail.

Is this intentionally the case? I always thought you could handle it with onOutOfMemoryError if you knew that your program could handle running out of memory and free some memory (i.e., cached data) to recover. I've never actually had a use for it myself, so I'm just basing this off of newsgroup discussions I remember (possibly incorrectly) reading.

Reply via email to