jerryscript-project / jerryscript

Ultra-lightweight JavaScript engine for the Internet of Things.
https://jerryscript.net
Apache License 2.0
6.91k stars 669 forks source link

[Feature request] dump heap memory #4987

Open gengjiawen opened 2 years ago

gengjiawen commented 2 years ago

I am investigating a memory leak issue, I noticed Allocated object data is growing from jmem_heap_stats (void) Is there a way to dump heap info to a file. (Like heap-profiler in V8 https://chromedevtools.github.io/devtools-protocol/v8/HeapProfiler/)