| Dumps the heap to the outputFile file in the same
format as the hprof heap dump.
If this method is called remotely from another process,
the heap dump output is written to a file named outputFile
on the machine where the target VM is running. If outputFile is
a relative path, it is relative to the working directory where
the target VM was started.
Parameters: outputFile - the system-dependent filename Parameters: live - if true dump only live objectsi.e. objects that are reachable from others throws: IOException - if the outputFilecannot be created, opened, or written to. throws: UnsupportedOperationException - if this operation is not supported. throws: NullPointerException - if outputFile is null. |