FIX: SQL Server 2016 uses all available memory and crashes when it runs a query that contains HASHBYTES functions

Applies to: SQL Server 2016 DeveloperSQL Server 2016 EnterpriseSQL Server 2016 Enterprise Core

Symptoms


When you run a query that contains HASHBYTES functions in Microsoft SQL Server 2016, SQL Server may consume all the available memory, and eventually crashes.

Resolution


The issue was first fixed in the following cumulative update of SQL Server:

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 terminology that Microsoft uses to describe software updates.