grafana / pyroscope

Continuous Profiling Platform. Debug performance issues down to a single line of code
https://grafana.com/oss/pyroscope/
GNU Affero General Public License v3.0
9.87k stars 585 forks source link

Memory leak detection #92

Closed wolfv closed 1 year ago

wolfv commented 3 years ago

Hi,

pyroscope looks awesome! I am looking forward to use it to monitor / profile our server application.

I was wondering if pyroscope can also measure memory usage, and help debug memory leaks? Is that in scope / on the roadmap? Just curious, and feel free to close the issue.

chadbrewbaker commented 3 years ago

Modify the code to also log /proc/pid/status etc: https://unix.stackexchange.com/questions/224015/memory-usage-of-a-given-process-using-linux-proc-filesystem

petethepig commented 3 years ago

@wolfv We recently released v0.0.30 which comes with support for inuse_objects and inuse_space metrics in Go. Those are very useful for detecting leaks.