FIX: Out of memory error occurs even when there are many free pages in SQL Server

Applies to: SQL Server 2017 DeveloperSQL Server 2017 EnterpriseSQL Server 2017 Enterprise Core More

Symptoms


An "out of memory" error may occur even when there are many free pages in Microsoft SQL Server. Additionally, you receive a message that resembles the following:

Note: This is frequently observed when running DBCC CHECKDB, but is not exclusive to this command.

Resolution


A fix for this issue is included in the following updates for SQL Server:

          Cumulative Update 10 for SQL Server 2017

          Cumulative Update 3 for SQL Server 2016 SP2

Status


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

References


Learn about the standard terminology Microsoft uses to describe software updates.