Open Jongy opened 2 years ago
https://github.com/Granulate/gprofiler/pull/613 helps relieving the problem (if perf becomes too memory heavy, we restart it).
The underlying problem of perf
growing indefnitely was not resolved yet, hence I keep the ticket open.
Occasionally I'm seeing perf processes whose memory continues growing forever. Here's one example for
/proc/pid/status
of such a perf - it shows that anonymous memory takes up most of the space (700mb). This perf process is at least 2 weeks old.What's interesting - there are 2 perf processes (one for DWARF and one for FP) and both have roughly the same amount of used memory. Something causes perf to continue accumulating memory over time, we need to figure it out and either restart perf from time to time, or configure it to prevent this from happening.