News for hackers. Stuff that matters.
Re:3 billion items in Java Map with 16 GB RAM by suresk on Sunday November 11, 2012 @02:52PM (#4770383)
The behavior you want, I think, kind of depends.

Regardless, since Java 6 (I think), if the GC time becomes excessive (where "excessive" means x% of time is spent in GC and less than y% of memory is reclaimed in each GC cycle), an OutOfMemoryError will be thrown. This can be disabled.

There are no comments on this comment yet.