Quantcast
Channel: memory – Gea-Suan Lin's BLOG
Viewing all articles
Browse latest Browse all 93

Nokia 釋出的 Memory Profiler

$
0
0

Rust 開發的 memory profiler,可以抓 memory leaking 與 memory fragmentation,然後宣稱效能影響也比較低:「A memory profiler for Linux」,有提供網頁界面,還蠻美觀的:

給的範例有兩行,一行是跑 profiler:

LD_PRELOAD=./libmemory_profiler.so ./your_application

另外一行是讀資料給 HTTP server:

./memory-profiler-cli server memory-profiling_*.dat

之後有機會抓漏時可以拿來用看看...


Viewing all articles
Browse latest Browse all 93