Debug.DumpHprofData(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Dump "hprof" data to the specified file.
[Android.Runtime.Register("dumpHprofData", "(Ljava/lang/String;)V", "")]
public static void DumpHprofData (string? fileName);
[<Android.Runtime.Register("dumpHprofData", "(Ljava/lang/String;)V", "")>]
static member DumpHprofData : string -> unit
Parameters
- fileName
- String
Full pathname of output file (e.g. "/sdcard/dump.hprof").
- Attributes
Exceptions
if the VM was built without HPROF support.
if an error occurs while opening or writing files.
Remarks
Dump "hprof" data to the specified file. This may cause a GC.
Java documentation for android.os.Debug.dumpHprofData(java.lang.String)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.