The only agent that thinks for itself

Autonomous Monitoring with self-learning AI built-in, operating independently across your entire stack.

Unlimited Metrics & Logs
Machine learning & MCP
5% CPU, 150MB RAM
3GB disk, >1 year retention
800+ integrations, zero config
Dashboards, alerts out of the box
> Discover Netdata Agents

Centralized metrics streaming and storage

Aggregate metrics from multiple agents into centralized Parent nodes for unified monitoring across your infrastructure.

Stream from unlimited agents
Long-term data retention
High availability clustering
Data replication & backup
Scalable architecture
Enterprise-grade security
> Learn about Parents

Fully managed cloud platform

Access your monitoring data from anywhere with our SaaS platform. No infrastructure to manage, automatic updates, and global availability.

Zero infrastructure management
99.9% uptime SLA
Global data centers
Automatic updates & patches
Enterprise SSO & RBAC
SOC2 & ISO certified
> Explore Netdata Cloud

Deploy Netdata Cloud in your infrastructure

Run the full Netdata Cloud platform on-premises for complete data sovereignty and compliance with your security policies.

Complete data sovereignty
Air-gapped deployment
Custom compliance controls
Private network integration
Dedicated support team
Kubernetes & Docker support
> Learn about Cloud On-Premises

Powerful, intuitive monitoring interface

Modern, responsive UI built for real-time troubleshooting with customizable dashboards and advanced visualization capabilities.

Real-time chart updates
Customizable dashboards
Dark & light themes
Advanced filtering & search
Responsive on all devices
Collaboration features
> Explore Netdata UI

Monitor on the go

Native iOS and Android apps bring full monitoring capabilities to your mobile device with real-time alerts and notifications.

iOS & Android apps
Push notifications
Touch-optimized interface
Offline data access
Biometric authentication
Widget support
> Download apps

The future of infrastructure observability

See our strategic direction across AI-native observability, full-stack signals, operational intelligence, and enterprise platform maturity.

AI-native observability
Full-stack signal coverage
Operational intelligence
Enterprise platform maturity
Agent releases every 6 weeks
Cloud continuous delivery
> Explore Product Roadmap

Best energy efficiency

True real-time per-second

100% automated zero config

Centralized observability

Multi-year retention

High availability built-in

Zero maintenance

Always up-to-date

Enterprise security

Complete data control

Air-gap ready

Compliance certified

Millisecond responsiveness

Infinite zoom & pan

Works on any device

Native performance

Instant alerts

Monitor anywhere

AI-native observability

Continuous delivery

Open source foundation

80% Faster Incident Resolution

AI-powered troubleshooting from detection, to root cause and blast radius identification, to reporting.

True Real-Time and Simple, even at Scale

Linearly and infinitely scalable full-stack observability, that can be deployed even mid-crisis.

90% Cost Reduction, Full Fidelity

Instead of centralizing the data, Netdata distributes the code, eliminating pipelines and complexity.

See and Map Your Entire Network

Live topology, flow analytics, and SNMP device and trap monitoring — unified with your full-stack observability.

Control Without Surrender

SOC 2 Type 2 certified with every metric kept on your infrastructure.

Integrations

800+ collectors and notification channels, auto-discovered and ready out of the box.

800+ data collectors
Auto-discovery & zero config
Cloud, infra, app protocols
Notifications out of the box
> Explore integrations
Real Results
46% Cost Reduction

Reduced monitoring costs by 46% while cutting staff overhead by 67%.

— Leonardo Antunez, Codyas

Zero Pipeline

No data shipping. No central storage costs. Query at the edge.

From Our Users
"Out-of-the-Box"

So many out-of-the-box features! I mostly don't have to develop anything.

— Simon Beginn, LANCOM Systems

No Query Language

Point-and-click troubleshooting. No PromQL, no LogQL, no learning curve.

Enterprise Ready
67% Less Staff, 46% Cost Cut

Enterprise efficiency without enterprise complexity—real ROI from day one.

— Leonardo Antunez, Codyas

SOC 2 Type 2 Certified

Zero data egress. Only metadata reaches the cloud. Your metrics stay on your infrastructure.

Full Coverage
800+ Collectors

Auto-discovered and configured. No manual setup required.

Any Notification Channel

Slack, PagerDuty, Teams, email, webhooks—all built-in.

Built for the People Who Get Paged

Because 3am alerts deserve instant answers, not hour-long hunts.

Every Industry Has Rules. We Master Them.

See how healthcare, finance, and government teams cut monitoring costs 90% while staying audit-ready.

Monitor Any Technology. Configure Nothing.

Install the agent. It already knows your stack.
From Our Users
"A Rare Unicorn"

Netdata gives more than you invest in it. A rare unicorn that obeys the Pareto rule.

— Eduard Porquet Mateu, TMB Barcelona

99% Downtime Reduction

Reduced website downtime by 99% and cloud bill by 30% using Netdata alerts.

— Falkland Islands Government

Real Savings
30% Cloud Cost Reduction

Optimized resource allocation based on Netdata alerts cut cloud spending by 30%.

— Falkland Islands Government

46% Cost Cut

Reduced monitoring staff by 67% while cutting operational costs by 46%.

— Codyas

Real Coverage
"Plugin for Everything"

Netdata has agent capacity or a plugin for everything, including Windows and Kubernetes.

— Eduard Porquet Mateu, TMB Barcelona

"Out-of-the-Box"

So many out-of-the-box features! I mostly don't have to develop anything.

— Simon Beginn, LANCOM Systems

Real Speed
Troubleshooting in 30 Seconds

From 2-3 minutes to 30 seconds—instant visibility into any node issue.

— Matthew Artist, Nodecraft

20% Downtime Reduction

20% less downtime and 40% budget optimization from out-of-the-box monitoring.

— Simon Beginn, LANCOM Systems

Pay per Node. Unlimited Everything Else.

One price per node. Unlimited metrics, logs, users, and retention. No per-GB surprises.

Free tier—forever
No metric limits or caps
Retention you control
Cancel anytime
> See pricing plans

What's Your Monitoring Really Costing You?

Most teams overpay by 40-60%. Let's find out why.

Expose hidden metric charges
Calculate tool consolidation
Customers report 30-67% savings
Results in under 60 seconds
> See what you're really paying

Your Infrastructure Is Unique. Let's Talk.

Because monitoring 10 nodes is different from monitoring 10,000.

On-prem & air-gapped deployment
Volume pricing & agreements
Architecture review for your scale
Compliance & security support
> Start a conversation

Monitoring That Sells Itself

Deploy in minutes. Impress clients in hours. Earn recurring revenue for years.

30-second live demos close deals
Zero config = zero support burden
Competitive margins & deal protection
Response in 48 hours
> Apply to partner

Per-Second Metrics at Homelab Prices

Same engine, same dashboards, same ML. Just priced for tinkerers.

Community: Free forever · 5 nodes · non-commercial
Homelab: $90/yr · unlimited nodes · fair usage
> Get the Homelab Plan

$1,000 Per Referral. Unlimited Referrals.

Your colleagues get 10% off. You get 10% commission. Everyone wins.

10% of subscriptions, up to $1,000 each
Track earnings inside Netdata Cloud
PayPal/Venmo payouts in 3-4 weeks
No caps, no complexity
> Get your referral link
Cost Proof
40% Budget Optimization

"Netdata's significant positive impact" — LANCOM Systems

Calculate Your Savings

Compare vs Datadog, Grafana, Dynatrace

Savings Proof
46% Cost Reduction

"Cut costs by 46%, staff by 67%" — Codyas

30% Cloud Bill Savings

"Reduced cloud bill by 30%" — Falkland Islands Gov

Enterprise Proof
"Better Than Combined Alternatives"

"Better observability with Netdata than combining other tools." — TMB Barcelona

Real Engineers, <24h Response

DPA, SLAs, on-prem, volume pricing

Why Partners Win
Demo Live Infrastructure

One command, 30 seconds, real data—no sandbox needed

Zero Tickets, High Margins

Auto-config + per-node pricing = predictable profit

Homelab Ready
Free Video Course

8-episode Netdata tutorial by LearnLinux.tv

76k+ GitHub Stars

3rd most starred monitoring project

Worth Recommending
Product That Delivers

Customers report 40-67% cost cuts, 99% downtime reduction

Zero Risk to Your Rep

Free tier lets them try before they buy

AI Support Assistant, Available 24/7

Nedi has access to all official documentation, source code, and resources. Ask any question about Netdata—responds in your language.

Deployment & configuration
Troubleshooting & sizing
Alerts & notifications
Evidence-based answers
> Ask Nedi now

Never Fight Fires Alone

Docs, community, and expert help—pick your path to resolution.

Learn.netdata.cloud docs
Discord, Forums, GitHub
Premium support available
> Get answers now

60 Seconds to First Dashboard

One command to install. Zero config. 850+ integrations documented.

Linux, Windows, K8s, Docker
Auto-discovers your stack
> Read our documentation

76,000+ Engineers Strong

615+ contributors. 1.5M daily downloads. One mission: simplify observability.

Per-Second. 90% Cheaper. Data Stays Home.

Side-by-side comparisons: costs, real-time granularity, and data sovereignty for every major tool.

See why teams switch from Datadog, Prometheus, Grafana, and more.

> Browse all comparisons
Edge-Native Observability, Born Open Source
Per-second visibility, ML on every metric, and data that never leaves your infrastructure.
Founded in 2016
615+ contributors worldwide
Remote-first, engineering-driven
Open source first
> Read our story
Promises We Publish—and Prove
12 principles backed by open code, independent validation, and measurable outcomes.
Open source, peer-reviewed
Zero config, instant value
Data sovereignty by design
Aligned pricing, no surprises
> See all 12 principles
Edge-Native, AI-Ready, 100% Open
76k+ stars. Full ML, AI, and automation—GPLv3+, not premium add-ons.
76,000+ GitHub stars
GPLv3+ licensed forever
ML on every metric, included
Zero vendor lock-in
> Explore our open source
Build Real-Time Observability for the World
Remote-first team shipping per-second monitoring with ML on every metric.
Remote-first, fully distributed
Open source (76k+ stars)
Challenging technical problems
Your code on millions of systems
> See open roles
Meet the Team Behind Netdata
Conferences, meetups, and tradeshows where you can see Netdata in action and talk to the engineers who build it.
Live demos and deep dives
Book 1-on-1 meetings
Talks and panel sessions
Event recaps and photos
> See all events
Talk to a Netdata Human in <24 Hours
Sales, partnerships, press, or professional services—real engineers, fast answers.
Discuss your observability needs
Pricing and volume discounts
Partnership opportunities
Media and press inquiries
> Book a conversation
Your Data. Your Rules.
On-prem data, cloud control plane, transparent terms.
Trust & Scale
76,000+ GitHub Stars

One of the most popular open-source monitoring projects

SOC 2 Type 2 Certified

Enterprise-grade security and compliance

Data Sovereignty

Your metrics stay on your infrastructure

Validated
University of Amsterdam

"Most energy-efficient monitoring solution" — ICSOC 2023, peer-reviewed

ADASTEC (Autonomous Driving)

"Doesn't miss alerts—mission-critical trust for safety software"

Community Stats
615+ Contributors

Global community improving monitoring for everyone

1.5M+ Downloads/Day

Trusted by teams worldwide

GPLv3+ Licensed

Free forever, fully open source agent

Why Join?
Remote-First

Work from anywhere, async-friendly culture

Impact at Scale

Your work helps millions of systems

$ guides / tomcat / tomcat-outofmemoryerror-metaspace ▌

Operations Guides

Tomcat java.lang.OutOfMemoryError: Metaspace: the classloader leak hot redeploys cause

A java.lang.OutOfMemoryError: Metaspace after a redeploy is the canonical classloader leak symptom in long-running Tomcat instances. The JVM still has heap headroom, GC looks healthy, and the process may have been up for weeks. Then a deploy lands and Tomcat dies, or in containerized setups the kernel OOM-kills it with no JVM-level error at all.

Recovery is the same in every case: restart the JVM. That clears Metaspace and brings the application back, but it does not fix anything. If you hot-deploy again, the leak returns and Metaspace climbs one step higher per cycle until the next crash.

This article covers how to confirm a classloader leak is the cause, find the leaked reference, and apply the configuration changes that buy time while you wait on a code fix. It assumes you already understand the broad Tomcat failure pattern catalogue. See the mental model for operators if you need that context first.

What this means

Metaspace is native memory used by the JVM to store class metadata: class definitions, method bytecode, constant pools, and reflection data. It is not part of the heap and is not bounded by -Xmx. Each web application in Tomcat runs inside its own WebappClassLoader, and every class that classloader touches lives in Metaspace until the classloader itself becomes unreachable and is garbage collected.

When you hot-redeploy, Tomcat creates a new WebappClassLoader for the new version of the app. The old classloader should become unreachable and be collected, freeing all of its classes. That collection only happens if nothing still references the old classloader. If anything holds a reference, a thread that was started by the app, a ThreadLocal, a JDBC driver registered with DriverManager, a java.util.Timer, a logging appender, a static field in a shared library, the old classloader and every class it loaded are pinned in Metaspace permanently.

Each redeploy that leaks adds approximately one app’s worth of classes to Metaspace. After N redeploys, Metaspace holds N copies of the application’s class space. The growth is step-wise and monotonic. That is the signature you are looking for in monitoring.

flowchart TD
  A[Hot redeploy] --> B[New WebappClassLoader]
  B --> C[Old classloader eligible for GC]
  C --> D{Leaked reference?
ThreadLocal / Timer / JDBC / static} D -->|No| E[Old classloader collected
Metaspace stable] D -->|Yes| F[Old classloader pinned
with all its classes] F --> G[Metaspace grows by
one app per redeploy] G --> H[After N redeploys:
OOM: Metaspace or
silent OS OOM-kill]

There are two distinct failure modes depending on whether -XX:MaxMetaspaceSize is set:

  • MaxMetaspaceSize set: the JVM hits the limit and throws java.lang.OutOfMemoryError: Metaspace. You get a stack trace, a heap dump attempt, and a logged error before the JVM exits or the offending thread dies.
  • MaxMetaspaceSize unset (the default): Metaspace grows without bound. In a VM it eventually exhausts RSS and the kernel OOM-kills the process silently. The Tomcat logs show nothing useful, only dmesg does. In a container with a cgroup memory limit, the same thing happens against the cgroup ceiling.

Most teams only set MaxMetaspaceSize after the first silent kill. Set it so the failure mode is a logged JVM error rather than a vanishing process.

Common causes

CauseWhat it looks likeFirst thing to check
Uncancelled ThreadLocalMetaspace grows per redeploy, no obvious thread leak in stack dumpTomcat warning in catalina.out: “created a ThreadLocal… but has failed to stop it”
JDBC driver not deregisteredDriverManager holds reference to webapp classloader; common with app-managed driversDriverManager.getDrivers() enumeration after undeploy
App-started thread still aliveThread from a ThreadLocal, Timer, or ScheduledExecutorService retains classloaderjstack for threads whose stack frames reference the webapp
Logging framework appenderLog4j or logback appender holding classloader refApp framework docs for cleanup hooks on contextDestroyed
Static field in shared libraryLibrary loaded by common classloader holds a static ref to a webapp classHeap histogram for instances of webapp classes after undeploy
Introspector / bean cachesJDK introspection caches retain class refsJreMemoryLeakPreventionListener enabled in server.xml

Quick checks

All commands below are read-only except where noted. They are safe to run on a production Tomcat.

# 1. Confirm the OOM is Metaspace, not heap
grep -E "OutOfMemoryError" $CATALINA_BASE/logs/catalina.out | tail -20

# 2. Check whether MaxMetaspaceSize is set
ps -ef | grep '[c]atalina.startup.Bootstrap' | tr ' ' '\n' | grep -i 'Metaspace'

# 3. Current Metaspace usage and limit
TOMCAT_PID=$(pgrep -f 'catalina.startup.Bootstrap')
jcmd $TOMCAT_PID VM.metaspace

# 4. Loaded class count snapshot
# NOTE: GC.class_histogram forces a full GC. Expect a brief STW pause.
jcmd $TOMCAT_PID GC.class_histogram | head -5

# 5. Tomcat's own leak detection on running webapps
# Requires Manager app enabled and credentials
curl -s -u $MANAGER_USER:$MANAGER_PASS http://localhost:8080/manager/text/findleaks?statusLine=true

# 6. Kernel OOM kills (the silent failure mode)
dmesg -T | grep -iE 'oom|killed process' | tail

# 7. Live thread count vs expected
jcmd $TOMCAT_PID Thread.print | grep -c "http-nio-"

# 8. Tomcat leak detection warnings during the last undeploy
grep -iE "ThreadLocal|failed to stop|memory leak" $CATALINA_BASE/logs/catalina.out | tail -50

If MaxMetaspaceSize is not in the JVM arguments, treat the silent-kill failure mode as the active risk. The fix is to set the flag. The band-aid is to lower the container memory limit so the container is killed before the JVM can consume all node memory and destabilize co-located workloads.

How to diagnose it

  1. Correlate the crash with a deploy. Check deploy timestamps in $CATALINA_BASE/logs/catalina.out for HostConfig.deployWAR or HostConfig.undeploy. If every OOM follows a deploy within minutes to hours, you almost certainly have a classloader leak. Long-running instances that never hot-deploy do not hit this failure mode.

  2. Graph Metaspace against deploy events. Pull the java.lang:type=MemoryPool,name="Metaspace" MBean usage.used over time, overlay deploy markers, and look for the step pattern. A healthy redeploy produces a small temporary rise that returns to roughly the previous baseline. A leaking redeploy produces a permanent step up of approximately the size of the application’s class space.

  3. Use Tomcat’s leak detector before the JVM dies. The Manager app’s findleaks endpoint lists contexts whose classloaders are still reachable after undeploy. Any non-empty result is a confirmed leak. Run it right after a redeploy while the old classloader is still pinned.

  4. Inspect catalina.out for Tomcat’s warnings. On undeploy, Tomcat logs diagnostics for threads it could not stop, ThreadLocals it could not clear, and other leak patterns. The exact wording is “The web application […] appears to have started a thread […] but has failed to stop it.” These messages are your fastest triage signal and they are emitted by default.

  5. Take a heap dump before restart. When the next OOM hits, capture a heap dump immediately with jmap -dump:format=b,file=/tmp/heap.hprof $TOMCAT_PID before restarting. Warning: this triggers a stop-the-world pause proportional to heap size and produces a file roughly the size of live heap. Ensure adequate disk space. The dump will show which GC root is pinning the old WebappClassLoader. Eclipse MAT’s “Path to GC Roots” or “Duplicate Classes” query is the fastest way to identify the offending library. On JDK 8+, you can also use jcmd $TOMCAT_PID GC.heap_dump /tmp/heap.hprof.

  6. Count WebappClassLoader instances. In MAT or VisualVM, search for instances of org.apache.catalina.loader.WebappClassLoader. In a clean state there should be exactly one per deployed app. Each extra instance is a leaked classloader holding an app-sized chunk of Metaspace.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
MemoryPool[name=Metaspace].usage.usedDirect measure of class metadata footprintStep increase after each redeploy that does not decay
LoadedClassCount from java.lang:type=ClassLoadingProxy for classloader retentionCount grows after undeploy and never falls back
MaxMetaspaceSize configured valueDetermines failure mode (JVM error vs silent kill)Unset is the dangerous default
JVM process RSSTotal native memory including Metaspace and thread stacksRSS climbs even though heap is flat
Kernel OOM events in dmesgConfirms silent kill when MaxMetaspaceSize is unsetKilled process <pid> (java) entries
Deploy events from catalina.outRequired to correlate steps with redeploysOOM follows deploy within minutes to hours

The key correlation is Metaspace step-up versus deploy event. If you only look at heap, GC, and CPU, this failure is invisible until the process dies.

Fixes

Immediate: restart the JVM

A full JVM restart clears Metaspace and resets LoadedClassCount to baseline. This is the only reliable recovery once the leak has accumulated. Hot undeploy and redeploy do not help, because the leaked classloader is by definition unreachable from Tomcat’s lifecycle but still reachable from whatever is pinning it.

Restart is not a fix. It is the recovery step you take while the underlying leak is being tracked down.

Containment: stop hot-deploying

The single most effective mitigation is to stop hot-redeploying in production. A full JVM restart per deploy does not leak classloaders, because the entire JVM including all classloaders is destroyed. CI/CD pipelines that deploy by replacing the WAR and letting Tomcat’s autoDeploy reload are the most common source of this failure in the wild.

If your release process requires rapid iteration without a JVM bounce, accept that you will eventually need either a fix in code or scheduled preventive restarts. Calculate the runway by dividing remaining Metaspace headroom by growth-per-redeploy.

Containment: set MaxMetaspaceSize

Setting -XX:MaxMetaspaceSize=NNNm converts the silent kernel OOM-kill into a logged JVM OutOfMemoryError. Pick a value comfortably above steady-state usage, typically 256m to 512m for a single-app Tomcat. The downside is that you will hit JVM OOM sooner than you would have hit the OS limit, but the trade is worth it because the failure is observable.

Containment: enable Tomcat’s clearReferences* attributes

The Context element supports attributes that force Tomcat to attempt cleanup on undeploy when the application fails to do so. The relevant ones are clearReferencesThreadLocals, clearReferencesStopThreads, and clearReferencesStopTimerThreads. clearReferencesThreadLocals is on by default; the two thread-stopping attributes are off by default because forcibly stopping threads can leave resources in inconsistent states. But for an app you cannot immediately fix, they are the most impactful single configuration change.

Add them in context.xml or per-context in server.xml:

<Context clearReferencesThreadLocals="true"
         clearReferencesStopThreads="true"
         clearReferencesStopTimerThreads="true">
</Context>

The defaults are documented per attribute: clearReferencesThreadLocals defaults to true, clearReferencesStopThreads and clearReferencesStopTimerThreads default to false (Tomcat 9.0.x, 10.1.x and 11.0.x).

Containment: JreMemoryLeakPreventionListener

This listener is enabled by default in modern Tomcat and mitigates several JDK-internal leak spots, including java.beans.Introspector caches and javax.imageio service registries. It cannot fix application-level leaks, but verify it is present in server.xml:

<Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener"/>

Containment: ThreadLocalLeakPreventionListener

This listener renews threads in Executor pools when a context is stopped, so that ThreadLocal maps holding webapp class references are replaced. Configure it in server.xml:

<Listener className="org.apache.catalina.core.ThreadLocalLeakPreventionListener"/>

It is most useful when your leak is ThreadLocal-based and you cannot change the offending library.

Long-term: fix the leaked reference

The actual fix is always in the application or a library it depends on. Common patterns:

  • ThreadLocal without remove(): ensure every ThreadLocal.set() is paired with remove() in a finally block, ideally in a ServletRequestListener or Filter cleanup path.
  • JDBC driver registration: deregister drivers in a ServletContextListener.contextDestroyed method. Tomcat automatically deregisters webapp-loaded JDBC drivers on undeploy (since 7.0), but drivers registered during static initialization or on a shared classloader still need manual cleanup.
  • Timer and ScheduledExecutorService: cancel and shutdown in contextDestroyed. Tomcat will warn if it sees these threads still alive.
  • Logging appenders: invoke the framework’s shutdown hook. Log4j 2 and logback both provide explicit shutdown APIs.
  • JMX MBeans: unregister any MBeans the app registered during contextDestroyed.

For library-level leaks you cannot patch, the options are upstream a fix, pin the library version, or remove hot-deploy for that app.

Prevention

  • Set -XX:MaxMetaspaceSize everywhere, even on instances that do not hot-deploy today. The cost is a hard ceiling. The benefit is observability of the failure.
  • Monitor Metaspace and LoadedClassCount at second-level resolution. Alert on step-up after deploy events that does not decay within 5 minutes.
  • Run manager/text/findleaks after every staging redeploy as a CI check. Any non-empty result fails the deploy.
  • Stop hot-deploying in production. Prefer full JVM restarts in the deploy pipeline. This eliminates the entire class of failure.
  • Track Metaspace growth-per-redeploy as a capacity metric. If it is non-zero, file a bug, not a config change.
  • Schedule periodic full restarts as a stopgap. If you cannot fix a leak immediately, restart at an interval computed from growth-per-redeploy and MaxMetaspaceSize. Document the runway.

How Netdata helps

  • The JVM collector surfaces MemoryPool[name=Metaspace] usage.used and usage.max per second, so the step-up pattern after a redeploy is visible at the granularity it actually happens, not just as a slowly-rising hourly aggregate.
  • LoadedClassCount, TotalLoadedClassCount, and UnloadedClassCount from java.lang:type=ClassLoading are collected per second. A leaking classloader shows up as LoadedClassCount climbing without corresponding UnloadedClassCount.
  • Netdata’s ML anomaly detection flags the step discontinuity in Metaspace after a redeploy, even when the absolute value is still well below any static threshold. This is exactly the regime where the leak is fixable before it becomes an outage.
  • Correlating Metaspace against the deploy event timeline, RSS, and GC behavior in a single chart makes the “Metaspace is leaking, heap is fine” pattern immediately readable rather than something you discover by cross-referencing three tools.
  • Anomaly advisors on OutOfMemoryError log lines from catalina.out close the loop on the failure mode where MaxMetaspaceSize is set and the JVM throws rather than getting kernel-killed.