takeHeapSnapshot

Indicates whether the snapshot has been created successfully.

Takes a V8 heap snapshot and saves it to filePath.