Demo dump memory heap of local Java process Edit pid value in org.example.Main.main to your Java process.