A memory leak occurs when DATA_CONSISTENCY_CHECK is being executed for a system-versioned temporal table in SQL Server 2016

When DATA_CONSISTENCY_CHECK is being executed for a system-versioned temporal table and an error occurs on memory allocation, a memory leak in MEMORYCLERK_SOSNODE within the SQL Server engine might occur.
The fix for this issue is included in the following cumulative update for SQL Server:

About cumulative updates for SQL Server
Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. Check out the latest cumulative updates for SQL Server:

To work around this issue, add the ALTER TABLE clause in your CREATE TABLE statement.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Learn about the terminology Microsoft uses to describe software updates.

Article ID: 3174708 - Last Review: 08/10/2016 16:12:00 - Revision: 2.0

Microsoft SQL Server 2016 Developer, Microsoft SQL Server 2016 Enterprise, Microsoft SQL Server 2016 Enterprise Core, Microsoft SQL Server 2016 Express, Microsoft SQL Server 2016 Standard, Microsoft SQL Server 2016 Web

  • kbqfe kbfix kbexpertiseinter kbsurveynew KB3174708