takeHeapSnapshot

fun takeHeapSnapshot(filePath: String): ERROR CLASS: Symbol not found for Promise<ERROR CLASS: Symbol not found for js.core.Void>(source)

Indicates whether the snapshot has been created successfully.

Takes a V8 heap snapshot and saves it to filePath.