-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Closed
Labels
introspectionmemoryWhen memory usage is higher than expectedWhen memory usage is higher than expected
Description
After #93099 you still need to have a jeprof script to generate the flamegraph of memory usage
What we can do is to write a parser of jemalloc heap report, and on select from system.jemalloc_heap_profile send request jemalloc to flush this profile, parse it, and provide to user as a table
That way we can eliminate the jeprof dependency (not completely, since some advanced reports, i.e. pdf or similar, that can be useful for some cases, but majority of cases will be covered)
Also we can provide a custom HTTP handler, that will generate render beautiful flamegraphs in SVG format
The most time slowest part right now is to symbolize stacktraces with inlines (w/o it works very fast, i.e 0.03 vs 10 sec), but cache can help here.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
introspectionmemoryWhen memory usage is higher than expectedWhen memory usage is higher than expected