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 / apache-pulsar / apache-pulsar-outofdirectmemory-error ▌

Operations Guides

Apache Pulsar OutOfDirectMemoryError: the off-heap crash JVM heap dashboards never show

The broker is down. Your JVM dashboard shows heap at 55%, GC pauses normal, no heap OOM anywhere. Then someone opens the broker log and finds the real cause:

io.netty.util.internal.OutOfDirectMemoryError: failed to allocate 16777216 byte(s) of direct memory (used: ..., max: ...)

or the plainer JDK variant, java.lang.OutOfMemoryError: Direct buffer memory. The process may have exited deliberately: PulsarByteBufAllocator catches the allocation failure and, when -Dpulsar.allocator.exit_on_oom=true is set (the shipped default is false, with pulsar.allocator.out_of_memory_policy=FallbackToHeap), kills the JVM immediately. Independently, the broker shuts itself down when it receives the direct-memory OOM unless skipBrokerShutdownOnOOM=true. Either way, the broker is dead in the part your heap monitoring was not watching.

This is one of the most common surprise failures in Pulsar operations. Everything Netty touches, which is everything the broker does on the network, allocates off-heap. Heap dashboards cannot see it. This article covers how to confirm the diagnosis in minutes, what actually consumes direct memory in a broker, and how to size and monitor the off-heap space so it stops being a blind spot.

What this means

The JVM splits memory into the managed heap (what -Xmx controls, what GC cleans, what most dashboards graph) and everything else. “Direct” or off-heap memory is allocated outside the heap via ByteBuffer.allocateDirect and Netty’s own allocator. It is not garbage collected in the normal sense and does not appear in heap metrics.

A Pulsar broker is heavy on direct memory by design:

  • Netty channel buffers. Every producer, consumer, broker-to-bookie, and replication connection carries direct-memory read and write buffers. Zero-copy networking is the whole point.
  • The managed ledger cache. Recently written entries are cached off-heap so tailing consumers read from broker memory instead of hitting bookies.
  • Messages in flight. Entries being read from bookies and dispatched to consumers occupy direct buffers until they are written to the socket and released.

Direct memory is bounded by -XX:MaxDirectMemorySize. If that flag is not set, the JVM default is approximately -Xmx. The Pulsar broker default configuration is commonly -Xmx2g with -XX:MaxDirectMemorySize=4g. Bookie scripts ship tighter defaults (-Xms2g -Xmx2g -XX:MaxDirectMemorySize=2g), which is easily exhausted under load. Check what your deployment actually sets in pulsar_env.sh or bkenv.sh; do not assume the documented defaults survived your packaging.

The failure shape is a cliff, not a curve. The broker works normally until the allocator cannot satisfy one more buffer, then it either hangs waiting for allocation or dies with the OOM. There is no graceful degradation phase to catch with a latency alert.

flowchart TD
  A[Connection storm, large messages, or oversized cache] --> B[Direct buffer allocations accumulate]
  B --> C{Direct memory at MaxDirectMemorySize?}
  C -- no --> B
  C -- yes --> D[Netty allocation fails: OutOfDirectMemoryError]
  D --> E{exit_on_oom / shutdown policy}
  E -- exit --> F[JVM exits: broker down, bundles reassign]
  E -- no exit --> G[Broker alive but unable to serve I/O: zombie]
  F --> H[Client reconnect storm on surviving brokers]
  G --> H
  H --> A

Note the loop at the bottom. When the broker dies or goes zombie, its bundles reassign and thousands of clients reconnect to the surviving brokers. Those reconnections allocate fresh direct buffers on the survivors. One broker’s off-heap OOM can become the next broker’s off-heap OOM.

Common causes

CauseWhat it looks likeFirst thing to check
Connection storm or leakpulsar_active_connections high or climbing for weeks; crash follows a deploy, network blip, or client retry loopConnection count trend and created vs closed counters
Large message or read-batch spikesCrash correlates with traffic bursts, catch-up reads, or a new producer with big payloadsMessage size distribution and pulsar_throughput_in before the crash
Managed ledger cache oversizedDirect memory grows steadily after restart, independent of connection countmanagedLedgerCacheSizeMB in broker.conf vs actual MaxDirectMemorySize
Publish buffer limiter disabledmaxMessagePublishBufferSizeInMB=-1 (or very large), OOM under sustained publish loadbroker.conf publish buffer setting
MaxDirectMemorySize unset or too smallDirect memory ceiling equals -Xmx; crash at surprisingly low RSSJVM flags in pulsar_env.sh / process cmdline
Netty buffer leakConnection count stable but direct memory still growingNetty allocator stats endpoint; TIME_WAIT sockets

Quick checks

All read-only. Run these on the affected broker host and against its endpoints.

# 1. Confirm the signature in the broker log
grep -E "OutOfDirectMemoryError|Direct buffer memory|Exiting JVM process for OOM" /var/log/pulsar/*.log | tail -20

# 2. Check whether the process is alive at all (zombie vs exited)
pgrep -af PulsarBroker

# 3. If alive but unresponsive: health check
curl -s -o /dev/null -w "%{http_code}\n" --max-time 5 http://localhost:8080/admin/v2/brokers/health

# 4. Compare RSS to heap. RSS far above -Xmx is the tell.
grep VmRSS /proc/$(pgrep -f PulsarBroker)/status
jcmd $(pgrep -f PulsarBroker) GC.heap_info | head -5

# 5. Read the actual direct buffer pool via JMX (this is the ground truth)
# If you have a JMX exporter: jvm_buffer_pool_used_bytes{pool="direct"}
# Otherwise check the configured limit on the running process:
jcmd $(pgrep -f PulsarBroker) VM.info | grep -i direct

# 6. Check connection pressure before the crash
curl -s http://localhost:8080/metrics | grep -E "pulsar_active_connections|pulsar_connection_(created|closed)"

# 7. Check managed ledger cache state
curl -s http://localhost:8080/metrics | grep pulsar_ml_cache

# 8. Netty allocator internals (fragmentation, active allocations)
curl -s http://localhost:8080/admin/v2/broker-stats/allocator-stats/default | head -40

# 9. Verify the actual JVM flags the broker runs with
jcmd $(pgrep -f PulsarBroker) VM.command_line | tr ' ' '\n' | grep -E "Xmx|MaxDirectMemorySize|exit_on_oom"

Two of these deserve emphasis. Check 4 is the fastest confirmation: if process RSS is 6 GB against a 2 GB heap and the log shows the direct-memory error, you are done diagnosing. Check 9 matters because many deployments run with MaxDirectMemorySize unset, in which case the ceiling silently equals -Xmx and the effective budget for Netty plus the ledger cache is much smaller than anyone assumed.

How to diagnose it

  1. Confirm the error class. Grep the broker log for OutOfDirectMemoryError or Direct buffer memory. Also look for Exiting JVM process for OOM error: Direct buffer memory, which tells you PulsarByteBufAllocator deliberately exited the JVM. If neither is present and the broker simply hung, this article still applies, but keep heap OOM and GC death spiral as alternates.
  2. Establish the ceiling. Pull the broker’s JVM flags. If -XX:MaxDirectMemorySize is absent, the limit defaults to roughly -Xmx. Write down the number; every later step compares usage against it.
  3. Measure actual direct memory usage over time. Pulsar does not expose direct memory as a Prometheus metric. You need the JMX bean java.nio:type=BufferPool,name=direct (MemoryUsed / TotalCapacity), typically via a JMX exporter giving you jvm_buffer_pool_used_bytes{pool="direct"}. If you have no JMX pipeline, process RSS minus heap (VmRSS minus committed heap from GC.heap_info) is a usable proxy for off-heap growth.
  4. Classify the growth pattern. Steady climb over days with flat traffic points to a leak (connections or buffers). A ramp that tracks connection count points to connection-driven allocation. A spike aligned with publish or catch-up read bursts points to workload-driven allocation. A plateau high from startup points to cache sizing.
  5. Correlate with the driver. Overlay direct memory against pulsar_active_connections, pulsar_throughput_in/out, and pulsar_ml_cache_used_size. Whichever moves in lockstep with direct memory is your cause.
  6. Check for a leak if nothing correlates. Created vs closed connection counters diverging means clients are not closing connections. Stable connections with growing allocator stats means buffers are retained; compare your Pulsar version against known buffer-leak fixes before tuning around it.
  7. Decide: sizing fix, config fix, or version fix. Sizing: raise MaxDirectMemorySize with headroom. Config: shrink the cache or publish buffer. Version: upgrade if you are on a release with a known leak or missing backpressure fix.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
jvm_buffer_pool_used_bytes{pool="direct"} (via JMX)The only real measure of direct memory use> 75% of MaxDirectMemorySize
Process RSS minus committed heapOff-heap proxy when JMX is unavailableGap growing week over week
pulsar_active_connectionsEach connection holds direct buffersSustained climb not explained by client count
pulsar_connection_created_total_count vs ..._closed_total_countDivergence is a connection leakCreated minus closed grows faster than active connections justify
pulsar_ml_cache_used_size, pulsar_ml_cache_evictionsCache share of the direct budgetCache at ceiling with rising evictions
pulsar_throughput_in/out and message sizesWorkload-driven allocationNew traffic pattern preceding the crash
Allocator stats (/admin/v2/broker-stats/allocator-stats/default)Fragmentation and active allocationsActive allocations growing with no matching traffic

Pulsar’s own /metrics endpoint exposes the managed ledger cache (pulsar_ml_cache_*) but not overall JVM direct memory. That gap is why this failure surprises people. Closing it requires the JMX exporter or an agent that reads the BufferPool MBean.

Fixes

Immediate: restore service

The broker that threw OutOfDirectMemoryError is functionally dead even if the PID exists. Restart it; it cannot allocate buffers for any I/O. If the allocator exited the JVM on its own, your supervisor has probably already restarted it. Watch the survivors during recovery: the client reconnect storm lands on them, and if their direct memory headroom was already thin, they can follow the first broker down. Stagger restarts if multiple brokers are affected.

Raise the ceiling, correctly

Set -XX:MaxDirectMemorySize explicitly in pulsar_env.sh; never rely on the implicit equals--Xmx default. Size it as the sum of what the broker legitimately needs: managed ledger cache plus publish buffer plus per-connection and in-flight buffers, with headroom on top. Then verify the whole thing fits in the container or host memory limit: heap + direct memory + JVM overhead must stay well under the cgroup limit, or the kernel OOM killer replaces this problem with a quieter one.

Shrink the consumers of direct memory

  • Managed ledger cache. managedLedgerCacheSizeMB in broker.conf. Recent Pulsar versions default this to a fraction of direct memory (20% in current code; older docs describe different ratios, so check your version). If the cache plus everything else exceeds the direct budget, the cache loses.
  • Publish buffer limiter. maxMessagePublishBufferSizeInMB bounds memory held for unacknowledged publishes. Disabling it (-1) has caused direct memory OOM under load; keep it enabled and sized.
  • Dispatcher read batch. Large dispatcher read sizes combined with big messages mean single read batches allocate large direct buffers. If EntryFilters or catch-up reads are in play, review dispatcherMaxReadSizeBytes (default 5 MB in current versions) and batch settings; the right value is workload- and version-dependent.

Fix the driver, not just the budget

If the growth pattern said leak or storm, raising the limit only postpones the crash. Fix client connection handling, close per-topic connection configurations, and check whether you are on a Pulsar version with known Netty buffer leaks or missing channel backpressure. PIP-434 (landed in the 4.1.x and 4.0.x lines: 4.1.2 and 4.0.8) exposes Netty channel write buffer watermarks (pulsarChannelWriteBufferHighWaterMark, default 64 KB) and pauses receive requests when a slow consumer’s channel is unwritable, addressing a real path by which slow consumers accumulate broker-side direct buffers. If slow-consumer backpressure is your failure mode, upgrading matters more than resizing.

Also review the deliberate-death knobs: -Dpulsar.allocator.exit_on_oom and skipBrokerShutdownOnOOM. With the shipped defaults (exit_on_oom=false, skipBrokerShutdownOnOOM=false) the allocator falls back to heap but the broker’s OOM listener still shuts the broker down; there is no single maintainer-recommended production setting, so understand the blast radius either way before changing them.

Prevention

  • Monitor direct memory as a first-class signal. Scrape java.nio:type=BufferPool,name=direct via a JMX exporter on every broker and bookie. Alert at 75% of MaxDirectMemorySize sustained; the failure is a cliff, so the alert must fire before the edge.
  • Track RSS minus heap as a backup proxy in case the JMX pipeline dies.
  • Trend connection counts over weeks, not minutes. The classic leak is invisible on a 6-hour dashboard.
  • Budget memory explicitly per host: heap + MaxDirectMemorySize + roughly 20% JVM overhead, under the container limit. Bookie defaults of 2g heap and 2g direct are easy to outgrow; revisit them for loaded clusters.
  • Load-test connection storms (mass reconnect after broker restart) before they happen in production, and record what direct memory does. That is your real headroom number.
  • Keep current. Direct-memory leak fixes and backpressure improvements ship regularly; a broker two years behind is carrying known crash modes.

How Netdata helps

  • Netdata’s JVM/JMX collection can track the direct buffer pool (java.nio:type=BufferPool,name=direct) alongside heap, closing the exact visibility gap that makes this failure a surprise.
  • Per-second process memory metrics (RSS, page faults) make the RSS-versus-heap divergence visible as a trend, not a postmortem discovery.
  • Scraping the broker’s Prometheus endpoint puts pulsar_active_connections, connection created/closed churn, and pulsar_ml_cache_* on the same timeline as host memory, so the correlation step in diagnosis is a single view.
  • Connection churn, throughput, and cache eviction anomalies surface early via ML-based anomaly detection, which matters because direct memory exhaustion gives no gradual warning of its own.
  • Host-level cgroup and container memory tracking catches the case where heap plus direct memory plus overhead approaches the container limit before the kernel OOM killer does.