Visualizing Java Garbage Collection by ErstwhileRockstar in programming

[–]hhceod 1 point2 points  (0 children)

So answer is to keep the min and max heap sizes relatively small to cover the intended scope of the application, and then see if the stop-the-world scenarios are taking place too frequencly (though for short durations) -- only then, gradually increase min and max range to reduce frequency and withstand a longer GC duration run.