ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript.V8
V8ScriptEngine Class
V8ScriptEngine Methods
BeginCpuProfile Method
CancelAwaitDebugger Method
CancelInterrupt Method
CollectCpuProfileSample Method
CollectGarbage Method
Compile Method
CompileDocument Method
Dispose Method
EndCpuProfile Method
Evaluate Method
Execute Method
ExecuteCommand Method
GetRuntimeHeapInfo Method
GetStackTrace Method
Interrupt Method
WriteRuntimeHeapSnapshot Method

# V8ScriptEngineWriteRuntimeHeapSnapshot Method

Writes a snapshot of the V8 runtime's heap to the given stream.
Namespace: Microsoft.ClearScript.V8
Assembly: ClearScript.V8 (in ClearScript.V8.dll) Version: 7.5.0
Syntax
C#
VB
C++
F#
Copy

    public void WriteRuntimeHeapSnapshot(
    	Stream stream
    )

    Public Sub WriteRuntimeHeapSnapshot (
    	stream As Stream
    )

    public:
    void WriteRuntimeHeapSnapshot(
    	Stream^ stream
    )

    member WriteRuntimeHeapSnapshot :
            stream : Stream -> unit

#### Parameters

stream Stream
  The stream to which to write the heap snapshot.

Remarks
This method generates a heap snapshot in JSON format with ASCII encoding.
See Also

#### Reference

V8ScriptEngine Class
Microsoft.ClearScript.V8 Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft