Note that there are some explanatory texts on larger screens.

plurals
  1. POIs there a cookbook guide for GC problems?
    primarykey
    data
    text
    <p>Almost everyone eventually runs into GC issues with Java.</p> <p>Is there a cookbook guide or semi-automated tool to tune GC for Java?</p> <p>My rationale is this:</p> <ul> <li>Almost anyone eventually has these problems</li> <li>There are many possible factors (say 20) out of which only a few affect your problem.</li> <li>Most people don't know how to identify the key factors so GC tuning is more like a black art than a science.</li> <li>Not everyone uses a HotSpot VM. Different Sun versions have different GC characteristics.</li> <li>There is little incentive to experiment (like run the VM with slightly different settings every day to see how they play out).</li> </ul> <p>So the question really is: Is there something that I can use in a check-list manner? Or maybe even a tool that analyzes GC logs or heap dumps and gives me specific hints where to look (instead of telling me "95% of the data is allocated in objects of the type byte[]" which is basically useless).</p> <p>Related questions:</p> <ul> <li><a href="https://stackoverflow.com/questions/202502/appropriate-tomcat-5-5-start-up-parameters-to-tune-jvm-for-extremely-high-demand/202555#202555">Appropriate Tomcat 5.5 start-up parameters to tune JVM for extremely high demand, large heap web application?</a> which is very specific. My question is more wide.</li> <li><a href="https://stackoverflow.com/questions/1804186/what-are-the-best-garbage-collection-settings-for-client-side">What are the best garbage collection settings for client side?</a> Again very narrow scope</li> <li><a href="https://stackoverflow.com/questions/4505987/does-anyone-know-of-a-good-guide-to-configure-gc-in-java">Does anyone know of a good guide to configure GC in Java?</a> HotSpot only</li> <li><a href="https://stackoverflow.com/questions/2957171/jvm-memory-management-garbage-collection-book">JVM memory management &amp; garbage collection book?</a> is 80% there but I'm missing the checklist/cookbook/for-dummies approach.</li> </ul>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload