r/SQLServer • u/Mountain-Incident-24 • Feb 13 '26
Question SQL Server Graph Workload Memory Leak?
4 million 'DONE' tasks not cleaned up. 3.9 GB for 'OBJSTORE_SOSTASK' in memory_clerks....
Bouncing SQL Service is only way to recover.
400+ SQL boxes, and this only happens on the 3 servers running GRAPH queries.
Has Anyone Else seen this?
Microsoft SQL Server 2022 (RTM-CU20-GDR) (KB5065220) - 16.0.4212.1 (X64) Aug 13 2025 16:40:40 Copyright (C) 2022 Microsoft Corporation Enterprise Edition: Core-based Licensing (64-bit) on Windows Server 2022 Datacenter 10.0 <X64> (Build 20348: ) (Hypervisor)
16
Upvotes
4
u/InsoleSeller 1 Feb 13 '26
What is the problem you're trying to solve?
1
u/mistersd Feb 14 '26
Any reason why you still on CU20?
2
u/ihaxr 2 Feb 13 '26
We use graph queries, but not extensively and we are still running on SQL 2019 for our main production app. Haven't had any memory issues but we do monthly patching reboots, so a slow memory leak wouldn't be noticed
1
u/Arvind-MSFT Jun 24 '26
Thanks to u/Mountain-Incident-24 raising a support ticket with Microsoft and working with us on identifying the issue. A fix for this issue has been included in SQL Server 2022 CU25 (https://learn.microsoft.com/en-us/troubleshoot/sql/releases/sqlserver-2022/cumulativeupdate25#5034739). SQL Server 2025 is unaffected by the issue.