资讯

If this option is passed then only the live objects in the heap are dumped. If your application is running with a large memory size then typically it would take a long time to capture the heap dump ...
You can fix your Java memory leak problem without a costly JVM heap dump. Just use Java Flight Recorder's Old Object Sample event and view the recording in JDK Mission Control.