Package hudson.diagnosis
Class MemoryUsageMonitor.MemoryGroup
java.lang.Object
hudson.diagnosis.MemoryUsageMonitor.MemoryGroup
- Enclosing class:
MemoryUsageMonitor
A memory group is conceptually a set of memory pools.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal MultiStageTimeSeriesTrend of the maximum memory size, after GCs.final MultiStageTimeSeriesTrend of the memory usage, after GCs. -
Method Summary
Modifier and TypeMethodDescriptionGenerates the memory usage statistics graph.voiddoGraphSvg(org.kohsuke.stapler.StaplerResponse2 rsp, String type) Renders the memory usage statistics graph as an inline, theme-aware SVG with an HTML legend.
-
Field Details
-
used
Trend of the memory usage, after GCs. So this shows the accurate snapshot of the footprint of live objects. -
max
Trend of the maximum memory size, after GCs.
-
-
Method Details
-
doGraph
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
-