Created attachment 876861 [details] valgrind --tool=massif output Run on 64bit: pahole -j32 -> 4.102 GB pahole -j16 -> 3.895 GB pahole -j1 -> 3.706 GB On 32bit: pahole -j32 -> 2.870 GB (crash) pahole -j16 -> 2.810 GB pahole -j1 -> 2.444 GB The first one reached the limit. The other two are not really much better... The top eater: > 99.74% (3,966,953,649B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. > ->87.57% (3,482,844,356B) 0x49B7EB4: _obstack_newchunk (obstack.c:261) > | ->83.08% (3,304,324,608B) 0x488BF53: UnknownInlinedFun (dwarves.c:40) > | | ->83.08% (3,304,324,608B) 0x488BF53: cu__zalloc (dwarves.c:50) > | | ->24.01% (954,816,480B) 0x489B4AB: UnknownInlinedFun (dwarf_loader.c:462) > | | | ->24.01% (954,816,480B) 0x489B4AB: UnknownInlinedFun (dwarf_loader.c:477) > | | | ->24.01% (954,816,480B) 0x489B4AB: UnknownInlinedFun (dwarf_loader.c:959) > | | | ->24.01% (954,816,480B) 0x489B4AB: die__process_class (dwarf_loader.c:1815) > | | | ->22.53% (896,148,576B) 0x489A129: UnknownInlinedFun (dwarf_loader.c:1492) > | | | | ->22.53% (896,148,576B) 0x489A129: __die__process_tag (dwarf_loader.c:2203) > | | | | ->22.53% (896,079,488B) 0x489C250: die__process_unit (dwarf_loader.c:2243) > | | | | | ->22.53% (896,079,488B) 0x489C364: die__process (dwarf_loader.c:2858) > | | | | | ->22.53% (896,079,488B) 0x489CE5C: UnknownInlinedFun (dwarf_loader.c:2873) > | | | | | ->22.53% (896,079,488B) 0x489CE5C: UnknownInlinedFun (dwarf_loader.c:3243) > | | | | | ->22.53% (896,079,488B) 0x489CE5C: UnknownInlinedFun (dwarf_loader.c:3259) > | | | | | ->22.53% (896,079,488B) 0x489CE5C: UnknownInlinedFun (dwarf_loader.c:3388) > | | | | | ->22.53% (896,079,488B) 0x489CE5C: UnknownInlinedFun (dwarf_loader.c:3402) > | | | | | ->22.53% (896,079,488B) 0x489CE5C: UnknownInlinedFun (dwarf_loader.c:3537) > | | | | | ->22.53% (896,079,488B) 0x489CE5C: cus__process_dwflmod (dwarf_loader.c:3581) > | | | | | ->22.53% (896,079,488B) 0x4B66130: dwfl_getmodules (in /usr/lib64/libdw-0.191.so) > | | | | | ->22.53% (896,079,488B) 0x489D73F: UnknownInlinedFun (dwarf_loader.c:3647) > | | | | | ->22.53% (896,079,488B) 0x489D73F: dwarf__load_file.lto_priv.0 (dwarf_loader.c:3684) > | | | | | ->22.53% (896,079,488B) 0x488928E: cus__load_file (dwarves.c:2134) > | | | | | ->22.53% (896,079,488B) 0x488DD67: cus__load_files (dwarves.c:2637) > | | | | | ->22.53% (896,079,488B) 0x10CB07: main (pahole.c:3805)