Is it ok to use HeapDumpBeforeFullGC in production?

Solution Unverified - Updated -

Issue

Is it ok to use -XX:+HeapDumpBeforeFullGC in production to collect heap dumps before completion of full GC to analyze heap related issues?

Environment

  • OpenJDK derivative:
    • Red Hat build of OpenJDK
    • Azul JDK
    • Oracle JDK

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content