KB4133191 - FIX: A memory leak occurs in sqlwepxxx.dll causes the WmiPrvSe.exe process to crash

Symptoms

Assume that you use Windows Management Instrumentation (WMI) to monitor events in Microsoft SQL Server. In this situation, a memory leak occurs in the sqlwepxxx.dll file causes the WmiPrvSe.exe process to crash, and the following error messages are logged in the SQL Server error log:

Error message 1

Error: 17003, Severity: 16, State: 1.
Closed event notification conversation endpoint with handle '{CF29E9B8-33FA-E711-80DC-005056BB2DA5}', due to the following error: '<?xml version="1.0"?><Error xmlns="http://schemas.microsoft.com/SQL/ServiceBroker/Error"><Code>-8470</Code><Description>Remote service has been dropped.</Description></Error>'.

Error message 2

Error: 17001, Severity: 16, State: 1.
Failure to send an event notification instance of type 'ERRORLOG' on conversation handle '{D229E9B8-33FA-E711-80DC-005056BB2DA5}'. Error Code = '8429'.

Error message 3

Error: 17005, Severity: 16, State: 1.
Event notification 'SQLWEP_F7B4409C_33AD_4027_8008_07E894E7886F' in database 'master' dropped due to send time service broker errors. Check to ensure the conversation handle, service broker contract, and service specified in the event notification are active.

Additionally, an error message that resembles the following is logged in the Application event log:

date time Warning server_name 5612 Microsoft-Windows-WMI N/A NT AUTHORITY\SYSTEM Windows Management Instrumentation has stopped WMIPRVSE.EXE because a quota reached a warning value. Quota: PrivatePageCount Value: 537690112 Maximum value: 536870912 WMIPRVSE PID: 4244 Providers hosted in this process: C:\Windows\System32\wbem\WmiPerfClass.dll, C:\Program Files\Microsoft SQL Server\120\COM\sqlwep120.dll, C:\Program Files\Microsoft SQL Server\120\COM\sqlwep120.dll

Note The sqlwep120.dll file is the SQLWEP file in SQL Server 2014.

Resolution

This issue is fixed in the following updates for SQL Server:

         Cumulative Update 10 for SQL Server 2017

         Cumulative Update 3 for SQL Server 2016 SP2

         Cumulative Update 11 for SQL Server 2016 SP1

Cumulative Update 12 for SQL Server 2014 Service Pack 2

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

Latest cumulative update for SQL Server 2017

Latest cumulative update for SQL Server 2016

the latest cumulative updates for SQL Server 2014

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

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Any additional feedback? (Optional)

Thank you for your feedback!

×