Open vincele opened 9 years ago
I managed to get past the OOM killing by reducing data quantity : filtering on the only process that interest me...
perf script -c ${PROCESS_NAME} | FlameGraph/stackcollapse-perf.pl > out.perf-folded
But still, processing 100MB of traces into 300MB of folded data should consume less than 4GB, if possible...
Yes, stackcollapse-perf.pl is inefficient. Fortunately that step should be disappearing in the future, as Linux perf will have the ability to emit the folded output directly, and do so with much less memory footprint. Currently being discussed on lkml "[PATCHSET 0/4] perf report: Support folded callchain output (v4)"
I'm trying to use FG for the first time, and it gets OOM-killed... I've got 4GB ram + 2GB swap and this is apparently not sufficient :-/
Is that really too much perf data to process or is there something that leaks memory in FG ?