The throughput collector will throw an out-of-memory exception if too much time is being spent doing garbage collection.
For example, if the JVM is spending more than 98% of the total time doing garbage collection and is recovering less than 2% of the heap, it will throw an out-of-memory expection. The implementation of this feature has changed in 1.5. The policy is the same but there may be slight differences in behavior due to the new implementation.
About Generational GC JVM heap size Heap Size Heap Size Options Heap Size OutOfMemoryExeception
No comments:
Post a Comment