I have a SQL Server 2008 (ver 10.0.1600) running on a Windows Server 2008 R2 Enterprise server with 8 GB of physical ram. If I open Task Manager I can see on 'Physical Memory' section of 'Performance' tab that only 340 MB are Available of 8191 Total, but I can't see any process using such amount of memory. Please note SQL Server is memory limited to 6GB (Maximum Server Memory = 6000).
If I open Sysinternals Process Explorer, I can see sqlsrvr.exe
process has:
Private Bytes: 227.000 K
Working Set: 140.000 K
Virtual Size: 8.762.000 K
What does this means? Is there any way to free up this memory for other process? Why Virtual Size figure as allocated memory? I thought that Virtual Size was 'reserved memory' only.
Best Answer
This is normal. SQL server will always use all available memory, and scale back when the system needs more resources.
THIS article describes what is going on.