Datadog Agent High Memory Usage: Causes, Diagnostics, and Fixes
Reach 50,000+ security professionals
Sponsor a newsletter slot and put your brand in front of CISOs, engineers, and IT decision-makers.
The Datadog Agent is designed to run quietly in the background collecting metrics, logs, and traces, which is exactly why a memory problem with it tends to go unnoticed until it becomes an outage: a Kubernetes DaemonSet pod that keeps getting OOM-killed and restarted, a host-level Agent process that has crept from a few hundred megabytes to several gigabytes over a few weeks, or node memory pressure that Kubernetes resolves by evicting other workloads. None of this is usually a sign that the Agent itself is broadly broken. Datadog's own troubleshooting documentation and its public GitHub issue tracker both point to a small, identifiable set of causes: a specific check integration returning far more metrics or running far more instances than expected, tag cardinality that has grown unbounded, Autodiscovery patterns that are too broad for a dynamic container environment, or log and trace buffering that grows when the intake connection is slow or unreachable. This guide walks through those causes, the Agent's own commands for finding which one applies to you, concrete fixes for hosts and Kubernetes, how to confirm the fix holds under real sustained load rather than just after a restart clears the symptom temporarily, and when the right move is filing a support ticket with a memory profile instead of continuing to tune configuration blind.
Causes: What Actually Drives Agent Memory Growth
Datadog's own troubleshooting documentation for high CPU or memory consumption identifies integration behavior and runtime load as the primary drivers, and the Agent's public GitHub issue tracker shows that specific versions and specific components have shipped with genuine memory leaks that were later fixed. Treat these as the starting checklist rather than assuming every case is a mysterious leak:
Subscribe to unlock Remediation & Mitigation steps
Free subscribers unlock full IOC lists, Sigma detection rules, remediation steps, and every daily briefing.
Diagnostics: Finding the Responsible Check or Component
Datadog ships diagnostic tooling directly in the Agent specifically so this doesn't have to be guesswork. Work through these before changing any configuration.
Subscribe to unlock Remediation & Mitigation steps
Free subscribers unlock full IOC lists, Sigma detection rules, remediation steps, and every daily briefing.
Briefings like this, every morning before 9am.
Threat intel, active CVEs, and campaign alerts, distilled for practitioners. 50,000+ subscribers. No noise.
Fixes: Reconfiguring Rather Than Just Restarting
A restart clears symptoms temporarily but does not address the underlying driver identified in diagnostics. Match the fix to what the diagnostics actually showed.
Subscribe to unlock Remediation & Mitigation steps
Free subscribers unlock full IOC lists, Sigma detection rules, remediation steps, and every daily briefing.
Validation: Confirming Memory Stabilizes Under Sustained Load
Memory usage that looks fine for the first hour after a restart or a config change has not been validated. Growth patterns caused by cardinality or buffering issues often take hours or days to reappear.
Subscribe to unlock Remediation & Mitigation steps
Free subscribers unlock full IOC lists, Sigma detection rules, remediation steps, and every daily briefing.
Failure Cases: What Still Leaks Despite These Fixes
Configuration tuning solves the common cases Datadog documents. It does not solve every case, and it's worth naming where it falls short.
Subscribe to unlock Remediation & Mitigation steps
Free subscribers unlock full IOC lists, Sigma detection rules, remediation steps, and every daily briefing.
Escalation Criteria: When to File a Datadog Support Ticket
Escalate to Datadog support with a memory profile attached once any of the following is true, rather than continuing to tune configuration:
Subscribe to unlock Remediation & Mitigation steps
Free subscribers unlock full IOC lists, Sigma detection rules, remediation steps, and every daily briefing.
Related Monitoring and Agent Resource Issues
Agent memory growth is one instance of a broader pattern in security and observability tooling: an agent or collector consuming more host resources than expected. Our guide to CrowdStrike Falcon sensor high CPU usage covers the same class of problem for an EDR sensor rather than a monitoring agent, and the diagnostic discipline (isolate the responsible component before changing configuration, validate under sustained load rather than after a restart) carries over directly. If Agent memory pressure is part of a broader conversation about telemetry volume and cost, our cloud log ingestion cost optimization guide covers reducing volume at the source, which often reduces both cost and the buffering pressure that drives memory growth. And if the growth pattern you're chasing turns out to be API-side rather than Agent-side, our VirusTotal API 429 troubleshooting guide covers a related but distinct failure mode: a pipeline hitting an external rate limit rather than a local resource ceiling.
The bottom line
Datadog Agent high or growing memory usage almost always traces back to one of a small set of documented causes: a specific check integration returning too many metrics or running too many instances, an unscoped Autodiscovery pattern churning through containers, unbounded tag cardinality, or buffering that grows when APM, log, or trace volume outpaces what can be forwarded. Use the Agent's own status, per-check profiling, and flare --profile commands to identify the actual responsible component before changing any configuration, since a restart or a resource limit bump treats the symptom without addressing the cause. Validate the fix over days of real sustained load, not minutes after a restart. When diagnostics rule out every documented cause and growth continues, or the pattern matches a known but unresolved issue on Datadog's own GitHub tracker, capture a live memory profile with flare --profile and escalate to Datadog support rather than continuing to tune configuration against a problem that may be inside the Agent binary itself.
Frequently asked questions
What is the most common cause of Datadog Agent high memory usage?
Datadog's own troubleshooting documentation names a specific integration returning too many metrics per run, or running an excessive number of check instances, as a leading cause. Unscoped Autodiscovery patterns in dynamic container environments and unbounded tag cardinality are the other most common documented causes.
How do I find which Datadog check is causing high memory usage?
Run `datadog-agent status` and review the Collector section for an unusually large or growing instance count, then profile a suspected check directly with `datadog-agent check <check_name> -m -t 10` to confirm its memory footprint before changing configuration.
Does restarting the Datadog Agent fix high memory usage?
A restart clears the symptom temporarily but does not address the underlying cause. If the driver is an unscoped Autodiscovery pattern, unbounded tag cardinality, or a version-specific leak, memory usage will climb again on the same trajectory after the restart unless the actual cause is fixed.
Why does the Datadog Agent keep getting OOM-killed in Kubernetes?
Usually because the DaemonSet's memory limit is set below what the Agent's actual usage grows to under a documented cause (a noisy check, cardinality growth, or Autodiscovery churn), rather than because of a random or unfixable issue. Use `kubectl top pod` and `kubectl describe pod` to confirm the OOM kill is memory-limit related, then fix the underlying driver and size the limit to match validated steady-state usage plus headroom.
What is flare --profile used for in Datadog Agent troubleshooting?
Running `datadog-agent flare --profile 30` captures a 30-second memory and CPU profile alongside the standard flare bundle. It is the diagnostic artifact Datadog support needs to investigate a suspected Agent-level leak, and it is most useful when captured while the problem is actively occurring rather than after a restart has already cleared it.
When should I escalate Datadog Agent memory issues to Datadog support?
Escalate once diagnostics have ruled out every documented cause (stable check instance counts, bounded cardinality, scoped Autodiscovery, a current Agent version) and memory still grows steadily, or once the symptom pattern matches an open issue on Datadog's public GitHub tracker. Capture a live flare --profile before filing the case.
Sources & references
Free resources
Critical CVE Reference Card 2025–2026
25 actively exploited vulnerabilities with CVSS scores, exploit status, and patch availability. Print it, pin it, share it with your SOC team.
Ransomware Incident Response Playbook
Step-by-step 24-hour IR checklist covering detection, containment, eradication, and recovery. Built for SOC teams, IR leads, and CISOs.
Daily briefings + Google Top Stories in one step.
Enter your email and we'll subscribe you to the daily briefing and add Decryption Digest to your Google Search feed at the same time.

Founder & Cybersecurity Evangelist, Decryption Digest
Cybersecurity professional with expertise in threat intelligence, vulnerability research, and enterprise security. Covers zero-days, ransomware, and nation-state operations for 50,000+ security professionals every morning.
