Class MemoryUsageMonitor.MemoryGroup

java.lang.Object
hudson.diagnosis.MemoryUsageMonitor.MemoryGroup
Enclosing class:
MemoryUsageMonitor

public static final class MemoryUsageMonitor.MemoryGroup extends Object
A memory group is conceptually a set of memory pools.
  • Field Details

    • used

      public final MultiStageTimeSeries used
      Trend of the memory usage, after GCs. So this shows the accurate snapshot of the footprint of live objects.
    • max

      public final MultiStageTimeSeries max
      Trend of the maximum memory size, after GCs.
  • Method Details

    • doGraph

      public MultiStageTimeSeries.TrendChart doGraph(@QueryParameter String type) throws IOException
      Generates the memory usage statistics graph.
      Throws:
      IOException
    • doGraphSvg

      public void doGraphSvg(org.kohsuke.stapler.StaplerResponse2 rsp, @QueryParameter String type) throws IOException
      Renders the memory usage statistics graph as an inline, theme-aware SVG with an HTML legend.

      In contrast to doGraph(String), which serves a fixed-size PNG, this serves an HTML fragment (an HTML legend followed by an inline SVG) meant to be embedded directly into the page DOM so that it picks up the active theme (via CSS custom properties) and rescales with its container.

      Throws:
      IOException