Is It a Problem?
Rarely. It is not described in any detail anywhere, and it was zero on our SQL Server 2025 lab. Get Wait Statistics does not filter it out, so if it ranks, you will see it. If it ever ranks, treat it like CMEMTHREAD: the question is which memory object.
What It Means
It is documented as internal use only, from SQL Server 2014, with no fuller description published. From the name and from sys.dm_os_memory_objects, which classifies memory objects as not partitioned, partitioned by NUMA node or partitioned by CPU, it is read as the partitioned counterpart of CMEMTHREAD, waiting on a thread-safe memory object that has been split into partitions. Treat that reading as inference from the name, not documentation.
When It Does Matter
If it shows real time, find the memory objects with the most waiters:
SELECT TOP (10)
type,
partition_type_desc,
contention_factor,
waiting_tasks_count,
exclusive_access_count,
pages_in_bytes / 1048576 AS size_mb
FROM sys.dm_os_memory_objects
ORDER BY waiting_tasks_count DESC;
The columns are from SQL Server 2016. The baseline to monitor is the top objects’ contention_factor over time. The query needs VIEW SERVER STATE.
The MEMORY Family
These are the memory object and allocation waits: threads queuing for a thread-safe memory object, and preemptive switches while memory is allocated. For memory grant queues, see RESOURCE_SEMAPHORE; otherwise start from the waits that usually matter.
- CMEMTHREADMemory object contention. Waiting on a thread-safe memory object that many tasks allocate from at once.Worth a look when it climbs
- CMEMPARTITIONEDPartitioned memory object. Documented as internal use only; the partitioned counterpart of CMEMTHREAD.Usually noise. This page.
- MEMORY_ALLOCATION_EXTAllocations. Allocating memory from the internal pool or the operating system.Usually noise
- RESERVED_MEMORY_ALLOCATION_EXTGranted memory. Allocating memory already reserved for a query by its grant.Usually noise
Where To Go Next
CMEMPARTITIONED is usually zero. If you are chasing a real problem, start with the waits that cost you time.
- The waits that usually matter, ranked, with what each one is telling you.
- CMEMTHREAD, the memory object contention wait.
- Performance & Troubleshooting, the scripts and guides for this part of the stack.
Leave a Reply