Sunday, December 23, 2012

JVM Fixed Upper Limit for Memory Usage

Well, there is a paper from Sun (eh, Oracle) that explains a lot about GC internals: . There it says By default, the virtual machine grows or shrinks the heap at each collection to try to keep the proportion of free space to live objects at each collection within a specific range. (section 4.1). So it's not really "full GC before heap increase", rather it's "heap increase if full GC does not free up enough"

No comments:

Post a Comment