Replies: 2 comments 1 reply
-
Beta Was this translation helpful? Give feedback.
-
|
Hi @hhunng, note that this question is geared toward individual profilers capabilities. The profilers Pyroscope integrates with do not provide "current" memory consumption per function. As I understand it, this metric is too expensive to compute for any continuous profiler. The alloc profiling metrics that are currently collected answer the question "where is my memory being allocated?" at the sampled frequency. This correlates to the more general question "which functions are currently using my memory?". Note that, depending on how your JVM is configured, RSS will show a high watermark since the JVM doesn't always return memory back to the OS. |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I’m profiling a Java app running in Kubernetes and want to see current memory usage per function.
Right now, I only get allocation metrics such as:
memory-alloc_in_new_tlab_bytesmemory-alloc_in_new_tlab_objectsThese metrics seem to show allocation rate, not current memory consumption. Meanwhile, the pod’s actual process memory usage (RSS / container memory) is much higher.
Questions:
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions