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 / microsoft-sql-server / microsoft-sql-server-error-701-insufficient-memory

Operations Guides

SQL Server Error 701: there is insufficient system memory to run this query

Error 701 is one of SQL Server’s bluntest messages: “There is insufficient system memory in resource pool ‘default’ to run this query.” When it fires, the engine could not satisfy an allocation. Queries that were running fine seconds ago start failing, and the failure cascades into application timeouts, retry storms, and a flood of related errors (17890, 8645).

The error itself tells you very little. It does not say whether the buffer pool is starved, whether a single query is hoarding a memory grant, whether an Extended Events ring buffer has eaten 50 GB, or whether the OS is reclaiming memory from a VM balloon driver. Investigate by source.

What this means

Error 701 is MSSQLSERVER_701. It fires when the SQLOS memory manager cannot satisfy a memory allocation request from any source within the engine. The “resource pool” in the message refers to a Resource Governor pool (the default is default); the error is the same mechanism as Error 8657, which fires when Resource Governor explicitly denies a grant.

Three sources of memory pressure produce 701, matching Microsoft’s standard taxonomy:

  1. External pressure - the OS, a co-tenant VM, or another process on the host is squeezing SQL Server. sys.dm_os_sys_memory.system_memory_state_desc reads Available physical memory is low.
  2. Internal pressure from DLLs loaded into the SQL Server process - linked servers, CLR assemblies, extended stored procedures. These allocations are not visible as buffer pool usage; they show up as the gap between Process:Private Bytes and SQL Server:Memory Manager\Total Server Memory (KB).
  3. Internal pressure from engine components - plan cache bloat, runaway memory grants, USERSTORE_SXC growth from large RPC batches, unbounded Extended Events ring buffers, or in-memory OLTP. These all surface as specific clerks in sys.dm_os_memory_clerks.

A common companion signal is RESOURCE_SEMAPHORE waits in sys.dm_os_wait_stats, plus queries sitting in sys.dm_exec_query_memory_grants with grant_time IS NULL. Do not confuse 701 with Error 9002 (transaction log full) or Error 1105 (filegroup full); those are disk space failures, not memory failures.

flowchart TD
    A[Error 701 fires] --> B{sys.dm_os_sys_memory low?}
    B -- Yes --> C[External OS pressure]
    B -- No --> D{Top clerk in dm_os_memory_clerks?}
    D -- SQLBUFFERPOOL --> E[Buffer pool exhausted]
    D -- SQLCP / OBJCP --> F[Plan cache bloat]
    D -- MEMORYCLERK_XE --> G[XE ring buffer leak]
    D -- USERSTORE_SXC --> H[Large RPC batch]
    D -- Other --> I[CLR / linked server / XP]
    C --> J[Find competing process or raise max server memory]
    E --> K[Check dm_exec_query_memory_grants]
    F --> L[Parameterize or flush plan cache]
    G --> M[Cap XE ring buffer]
    H --> N[Batch the RPC call]
    I --> O[Audit loaded modules]

Common causes

CauseWhat it looks likeFirst thing to check
Genuine buffer pool starvationMEMORYCLERK_SQLBUFFERPOOL near max server memory, PLE dropping, PAGEIOLATCH_* waits climbing, process_physical_memory_low = 1sys.dm_os_sys_memory and sys.dm_os_process_memory
Runaway memory grantOne or two queries holding large grants in sys.dm_exec_query_memory_grants, RESOURCE_SEMAPHORE dominant in waits, Memory Grants Pending above zeroTop rows of dm_exec_query_memory_grants by granted_memory_kb
Plan cache / ad-hoc bloatCACHESTORE_SQLCP and CACHESTORE_OBJCP clerks large, single-use ad-hoc plans dominate sys.dm_exec_cached_plans, compilations/sec high relative to batch requestsSingle-use plan query
External DLL pressure (CLR, linked server, XP)Process:Private Bytes much larger than Total Server Memory (KB), no obvious clerk explains the gapLoaded modules and CLR / linked server usage
Unbounded Extended Events ring bufferMEMORYCLERK_XE grows unbounded over hours or dayssys.dm_xe_sessions and sys.dm_xe_session_targets
USERSTORE_SXC growth (large RPC batches)USERSTORE_SXC clerk grows; large parameterized RPC batchesApplication batch size, parameter types
Resource Governor pool too restrictive701 (or 8657) naming a non-default resource pool; REQUEST_MAX_MEMORY_GRANT_PERCENT set very low on a workload groupsys.dm_resource_governor_workload_groups
VM memory overcommit or balloonprocess_physical_memory_low = 1, but SQL internal clerks are normal; co-tenant noiseHypervisor memory settings

Quick checks

All read-only. Run them in order; the first three usually localize the problem in under a minute.

-- 1. OS-level memory state
SELECT total_physical_memory_kb / 1024 AS total_mb,
       available_physical_memory_kb / 1024 AS available_mb,
       system_memory_state_desc
FROM sys.dm_os_sys_memory;

-- 2. SQL Server process memory and OS pressure flag
SELECT physical_memory_in_use_kb / 1024 AS sql_physical_mb,
       locked_page_allocations_kb / 1024 AS locked_mb,
       process_physical_memory_low,
       process_virtual_memory_low
FROM sys.dm_os_process_memory;

-- 3. Top memory clerks by pages_kb
SELECT TOP (15) type, name, pages_kb / 1024 AS size_mb
FROM sys.dm_os_memory_clerks
WHERE pages_kb > 0
ORDER BY pages_kb DESC;

-- 4. Currently waiting and granted memory grants
SELECT session_id, request_time, grant_time,
       requested_memory_kb, granted_memory_kb,
       used_memory_kb, wait_time_ms, dop, query_cost
FROM sys.dm_exec_query_memory_grants
ORDER BY COALESCE(wait_time_ms, 0) DESC,
         granted_memory_kb DESC;

-- 5. Memory Grants Pending counter (point-in-time)
SELECT cntr_value AS memory_grants_pending
FROM sys.dm_os_performance_counters
WHERE counter_name = 'Memory Grants Pending'
  AND object_name LIKE '%Memory Manager%';

-- 6. RESOURCE_SEMAPHORE waits (cumulative; snapshot twice for delta)
SELECT waiting_tasks_count, wait_time_ms,
       max_wait_time_ms, signal_wait_time_ms
FROM sys.dm_os_wait_stats
WHERE wait_type = 'RESOURCE_SEMAPHORE';

-- 7. Top single-use ad-hoc plan waste
SELECT COUNT(*) AS single_use_plans,
       SUM(CAST(size_in_bytes AS BIGINT)) / 1024 / 1024 AS wasted_mb
FROM sys.dm_exec_cached_plans
WHERE usecounts = 1 AND objtype = 'Adhoc';

-- 8. Resource Governor workload group memory caps
SELECT name, request_max_memory_grant_percent,
       request_memory_grant_timeout_sec, max_dop
FROM sys.dm_resource_governor_workload_groups;

-- 9. Extended Events sessions and their targets
SELECT s.name, s.total_buffer_size / 1024 AS buffer_mb,
       t.target_name, CAST(t.target_data AS XML) AS target_data
FROM sys.dm_xe_sessions s
JOIN sys.dm_xe_session_targets t
  ON t.event_session_address = s.address
WHERE s.name <> 'system_health';

-- 10. Recent 701 entries in the error log
EXEC sp_readerrorlog 0, 1, 'Error: 701';

How to diagnose it

  1. Establish whether the pressure is external or internal. Look at sys.dm_os_sys_memory.system_memory_state_desc. If it reads Available physical memory is low, the OS itself is squeezed; this is external pressure. If it reads Available physical memory is high, the pressure is internal to the SQL Server process.
  2. Confirm the OS is not paging SQL Server out. Check process_physical_memory_low in sys.dm_os_process_memory. A value of 1 means Windows told SQL Server to shrink its working set. Without Lock Pages in Memory (LPIM), this can be catastrophic and invisible in buffer pool counters. On Linux, the equivalent concern is the OOM killer; check dmesg -T | grep -i oom for OOM activity.
  3. Read the top memory clerks. Sort sys.dm_os_memory_clerks by pages_kb descending. The expected dominant consumer is MEMORYCLERK_SQLBUFFERPOOL. If something else is at the top, or if CACHESTORE_SQLCP (plan cache for ad-hoc SQL) is more than 10-15 percent of max server memory, you have found the leak.
  4. If the buffer pool dominates and is at max server memory, the issue is that max server memory is set too low for the workload, or queries are evicting pages through legitimate (but large) scans. Cross-check PLE, PAGEIOLATCH_* waits, and Total Server Memory (KB) vs Target Server Memory (KB) to confirm a memory pressure spiral.
  5. Check active memory grants. Queries in sys.dm_exec_query_memory_grants with grant_time IS NULL are waiting; queries with very large granted_memory_kb are hoarding. A single bad plan from parameter sniffing can take a 25 percent grant on the default workload group and starve everyone else.
  6. If RESOURCE_SEMAPHORE dominates waits, this is a memory grant problem, not a buffer pool problem. The two are separate pools within the engine.
  7. Inspect Extended Events sessions. MEMORYCLERK_XE growing steadily over hours is a classic symptom of a user-defined XE session with an oversized ring buffer target.
  8. Check Resource Governor. If the 701 message names a non-default resource pool, the workload group’s REQUEST_MAX_MEMORY_GRANT_PERCENT may be set too low. The default is 25 percent of the pool; values close to zero will reject almost any grant-requiring query.
  9. Correlate with deployment context. On a VM, ask whether memory was overcommitted or whether a balloon driver is active. On a host shared with other instances, check whether a co-tenant was running an index rebuild.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
Memory Grants Pending counterDirect indicator that queries are queued for grants; correlates with RESOURCE_SEMAPHOREAny sustained nonzero value
RESOURCE_SEMAPHORE wait (delta)Confirms grant pool exhaustion, not buffer poolBecoming a top-5 wait
sys.dm_os_memory_clerks top 10 by pages_kbIdentifies which clerk is consuming memoryNon-buffer-pool clerk in top 3, or CACHESTORE_SQLCP above 15 percent of max server memory
sys.dm_os_sys_memory.system_memory_state_descOS-level memory pressureAvailable physical memory is low
sys.dm_os_process_memory.process_physical_memory_lowOS is shrinking the SQL working setValue flips to 1
PLE (per NUMA node on multi-node hosts)Buffer pool health and early spiral indicatorSudden 50 percent+ drop from baseline
Total Server Memory (KB) vs Target Server Memory (KB)SQL Server cannot grow the buffer pool to targetTotal stays below Target for a sustained period
Error log entries for 701, 17890, 8645Confirms recurrent pressure, not a one-offNew occurrences after a baseline
sys.dm_exec_query_memory_grants waiting and top grantsLive picture of grant contentionMultiple rows with grant_time IS NULL

Fixes

Genuine buffer pool exhaustion

If the buffer pool is at max server memory and the OS is not under pressure, the most common fix is to raise max server memory. Leave 4-8 GB (or roughly 10-20 percent of total RAM, whichever is larger) for the OS and any co-located services. See SQL Server max server memory: setting it so the OS and buffer pool both survive for the full method.

If the OS is squeezed by a co-tenant, you must move or throttle the co-tenant. Raising max server memory on a host with no free RAM will worsen 701, not fix it.

Runaway memory grant

Identify the query in sys.dm_exec_query_memory_grants and KILL <session_id> for immediate relief.

Warning: KILL rolls back the current transaction. If the query has already modified rows, rollback duration depends on the amount of work to undo.

The underlying cause is almost always a bad plan from stale statistics or parameter sniffing:

  • Update statistics on the affected tables.
  • Force a known-good plan in Query Store (sp_query_store_force_plan).
  • Reduce the per-query grant ceiling with Resource Governor (REQUEST_MAX_MEMORY_GRANT_PERCENT below the default 25 percent).
  • On SQL Server 2019 and later (database compatibility level 150), confirm that row mode memory grant feedback is enabled for the database; it will correct repeated over-grants. SQL Server 2022 persists grant feedback through Query Store.

See SQL Server Memory Grants Pending above zero: queries queued before they can run for an extended walkthrough.

Plan cache bloat from ad-hoc SQL

Enable optimize for ad hoc workloads at the server level to cache only a stub on first execution. Parameterize the application SQL, or enable forced parameterization on databases where the workload is dominated by non-parameterized ad-hoc queries.

Warning: DBCC FREEPROCCACHE clears the entire plan cache. Every cached plan is discarded and the next round of executions will recompile, causing a CPU spike and elevated compilations per second. Use it only as an emergency measure, not on a regular schedule.

See SQL Server high compilations per second: plan cache pollution and CPU burn for the plan-cache angle.

External DLL pressure (CLR, linked servers, XPs)

This is the trickiest case because the consumption is not visible as a normal clerk. Compare Process:Private Bytes against SQL Server:Memory Manager\Total Server Memory (KB); if Private Bytes is much higher, the gap is consumed by loaded DLLs. Common culprits are linked server providers (especially OLE DB providers that allocate large buffers), unverified CLR assemblies, and third-party extended stored procedures. Audit sys.dm_clr_appdomains, sys.servers for linked server activity, and xp_cmdshell enablement. The long-term fix is to remove the offending module or move the workload to a separate host.

Unbounded Extended Events ring buffer

Find the offending session in sys.dm_xe_sessions (look at buffer memory usage) and reconfigure its ring buffer target with an explicit MAX_MEMORY and a max_events_limit cap, or switch to an event_file target with rollover. Stopping the session immediately releases the memory.

USERSTORE_SXC growth from large RPC batches

This pattern surfaces as a large USERSTORE_SXC clerk. It is associated with large RPC batches that pass many sql_variant parameters. Reduce the batch size on the client side, or change the parameter types so they are not all sql_variant. The fix is in the application, not in the engine.

Resource Governor pool misconfiguration

If the 701 message names a non-default resource pool, inspect sys.dm_resource_governor_workload_groups. A workload group with REQUEST_MAX_MEMORY_GRANT_PERCENT near zero will reject almost every grant-requiring query. Reconfigure with ALTER WORKLOAD GROUP and run ALTER RESOURCE GOVERNOR RECONFIGURE.

Warning: Resource Governor configuration changes are live and affect every connection classified into the group immediately.

VM memory overcommit

If process_physical_memory_low is 1 and the SQL internal clerks look normal, the host is overcommitted. Work with the virtualization team to reserve memory for the SQL Server VM, disable balloon driver reclamation for the SQL VM, or move co-tenants. This is not fixable from inside SQL Server.

Prevention

  • Set max server memory correctly. This is the single most important prevention step on a dedicated host. Leaving it at the default lets SQL Server consume memory until the OS thrashes.
  • Enable optimize for ad hoc workloads on servers running any significant ad-hoc SQL workload. The cost is one extra compilation per ad-hoc query on first run; the benefit is lower plan-cache memory waste.
  • Cap user-defined Extended Events sessions. Every user XE session should have an explicit MAX_MEMORY, or use event_file with rollover.
  • Review Resource Governor workload groups before promotion. REQUEST_MAX_MEMORY_GRANT_PERCENT = 0 looks safe but rejects almost everything that needs a grant.
  • Reserve VM memory. Do not overcommit hosts running SQL Server VMs. Configure LPIM on Windows, or the equivalent mssql OOM-score adjustment on Linux.
  • Alert on Memory Grants Pending. It is zero most of the time; any sustained nonzero value means grant pool contention is starting.
  • Snapshot sys.dm_os_memory_clerks periodically. A clerk that grows monotonically over days is a leak; catching it early prevents the next incident.

How Netdata helps

  • Per-second memory clerk visibility shows which clerk is growing while 701 is firing, without running a manual DMV sweep under load.
  • Correlate Memory Grants Pending, RESOURCE_SEMAPHORE waits, and buffer pool size on a single timeline to distinguish grant exhaustion from buffer pool exhaustion.
  • OS-side memory metrics on the same dashboard make it obvious whether the pressure is external or internal to SQL Server.
  • Error log ingestion surfaces 701, 17890, and 8645 as they occur, giving a timeline of when memory pressure started.
  • Per-NUMA-node breakdowns catch the case where one node is starved while the aggregate looks healthy.

Netdata’s Microsoft SQL Server monitoring brings these signals together with per-second metrics.

The Netdata solution

Microsoft SQL Server monitoring with Netdata

Netdata monitors SQL Server with per-second metrics, pre-built dashboards, and ML-powered anomaly detection. Correlate wait statistics, blocking chains, transaction-log and TempDB pressure, Page Life Expectancy, memory grants, per-file I/O stalls, and AlwaysOn send/redo queues against the rest of your stack so you catch the incidents in these runbooks before they page anyone.