Applies To: SQL Server 2014, SQL Server 2016 Preview
Most memory allocations that are attributed to the SQL Server process space are controlled through interfaces that allow for tracking and accounting of those allocations. However, memory allocations might be performed in the SQL Server address space that bypasses internal memory management routines. Values are obtained through calls to the base operating system. They are not manipulated by methods internal to SQL Server, except when it adjusts for locked or large page allocations.
All returned values that indicate memory sizes are shown in kilobytes (KB). The column total_virtual_address_space_reserved_kb is a duplicate of virtual_memory_in_bytes from sys.dm_os_sys_info.
The following table provides a complete picture of the process address space.
Applies to: SQL Server (SQL Server 2008 through current version), Azure SQL Data Warehouse Public Preview.
To call this from SQL Data Warehouse, use the name sys.dm_pdw_nodes_os_process_memory.
Indicates the process working set in KB, as reported by operating system, as well as tracked allocations by using large page APIs. Not nullable.
Specifies physical memory allocated by using large page APIs. Not nullable.
Specifies memory pages locked in memory. Not nullable.
Indicates the total size of the user mode part of the virtual address space. Not nullable.
Indicates the total amount of virtual address space reserved by the process. Not nullable.
Indicates the amount of reserved virtual address space that has been committed or mapped to physical pages. Not nullable.
Indicates the amount of virtual address space that is currently free. Not nullable.
Indicates the number of page faults that are incurred by the SQL Server process. Not nullable.
Specifies the percentage of committed memory that is in the working set. Not nullable.
Indicates the amount of memory that is available to be committed by the process. Not nullable.
Indicates that the process is responding to low physical memory notification. Not nullable.
Indicates that low virtual memory condition has been detected. Not nullable.
On SQL Server requires VIEW SERVER STATE permission on the server.
On SQL Database Premium Tiers requires the VIEW DATABASE STATE permission in the database. On SQL Database Standard and Basic Tiers requires the SQL Database admin account.