Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6232785
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T10:10:46+00:00 2026-05-24T10:10:46+00:00

Almost everyone eventually runs into GC issues with Java. Is there a cookbook guide

  • 0

Almost everyone eventually runs into GC issues with Java.

Is there a cookbook guide or semi-automated tool to tune GC for Java?

My rationale is this:

  • Almost anyone eventually has these problems
  • There are many possible factors (say 20) out of which only a few affect your problem.
  • Most people don’t know how to identify the key factors so GC tuning is more like a black art than a science.
  • Not everyone uses a HotSpot VM. Different Sun versions have different GC characteristics.
  • There is little incentive to experiment (like run the VM with slightly different settings every day to see how they play out).

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).

Related questions:

  • Appropriate Tomcat 5.5 start-up parameters to tune JVM for extremely high demand, large heap web application? which is very specific. My question is more wide.
  • What are the best garbage collection settings for client side? Again very narrow scope
  • Does anyone know of a good guide to configure GC in Java? HotSpot only
  • JVM memory management & garbage collection book? is 80% there but I’m missing the checklist/cookbook/for-dummies approach.
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T10:10:47+00:00Added an answer on May 24, 2026 at 10:10 am

    References for various GC information:

    Oracle

    Tuning Garbage Collection with the 5.0 Java[tm] Virtual Machine

    and this also

    Java SE 6 HotSpot[tm] Virtual Machine Garbage Collection Tuning

    IBM

    Fine Tuning Garbage Collection [link dead]

    Extensible Verbose Toolkit

    SAP JVM

    Memory Management (Garbage Collection)

    Detecting Memory Leaks

    Detecting Hanging / Looping VMs

    Analyzing Out-of-Memory Situations

    Sorry I don’t know much about SAP but have provided some things I have found.

    As for a cookbook, tuning is most likely application specific at this level, but it is an interesting topic.

    ADDENDUM

    You also mentioned analysis tools. Some candidates are listed here:

    Know of any Java garbage collection log analysis tools?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm sure that almost everyone programming in .net has ran into similar issues with
Are there any tests that compare Javascript's performance with Java's? UPDATE: Since everyone is
Almost every Java book I read talks about using the interface as a way
Almost every Python web framework has a simple server that runs a wsgi application
Almost every new Java-web-project is using a modern MVC-framework such as Struts or Spring
Almost anywhere I read about programming with CUDA there is a mention of the
I thought of migrating from J 1.5.23 to 1.7 and like almost everyone i
I posted a question about a thread pattern today, and almost everyone suggested that
Why is System.Version in .NET defined as Major.Minor.Build.Revision? Almost everyone (including me) seems to
Is there a down side? I feel almost dependent on it now. Whenever a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.