Zum Inhalt springen
Kitbay
Skill

alloc-profile

Apache-2.0Aktualisiert am 11. Nov. 202650.877GitHub-Sterne

A maintainer skill in the ClickHouse repository for analysing a memory allocation profile saved in collapsed stack format, such as a jemalloc dump, where each line is a call stack and a byte count.

Was der Skill vermittelt

A maintainer skill in the ClickHouse repository for analysing a memory allocation profile saved in collapsed stack format, such as a jemalloc dump, where each line is a call stack and a byte count. The agent finds the file, then runs three background analyses at once: overall totals and the largest stacks, grouping by the outermost meaningful frame to show which operation started the allocation, and grouping by the allocation site and its caller. It writes a report with summary figures, the largest allocators, a subsystem breakdown as a text bar chart and three to five findings, then offers drill-downs into a subsystem, full stacks, keyword searches or a flame graph. Large files are handled only in subagents.

Funktionen

  • Summarise a collapsed-stack allocation profile
  • Group allocations by operation and call site
  • Break memory use down by subsystem
  • Render an allocation flame graph