nodejs v8.getHeapStatistics method
Some good explanation from gc-heap-stats package: total_heap_size: Number of bytes V8 has allocated for the heap. This can grow if usedHeap needs more. used_heap_size: Number of bytes in used by application data total_heap_size_executable: Number of bytes for compiled bytecode and JITed code heap_size_limit: The absolute limit the heap cannot exceed (default limit or –max_old_space_size) total_physical_size: … Read more