SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SQL Server Not Using All Allocated Memory


SQL Server Not Using All Allocated Memory

Author
Message
mike.evans 12769
mike.evans 12769
Grasshopper
Grasshopper (13 reputation)Grasshopper (13 reputation)Grasshopper (13 reputation)Grasshopper (13 reputation)Grasshopper (13 reputation)Grasshopper (13 reputation)Grasshopper (13 reputation)Grasshopper (13 reputation)

Group: General Forum Members
Points: 13 Visits: 47
I am running SQL Server 2008 R2 on Windows 2008 R2 enterprise Edition with 64GBs of RAM. I have set SQL Server's max memory setting to 58GBs. SQL Server is the only major application running on the server and should reserve and use all of the 58GBs allocated to it but it isn't. When looking at task manager on the server, it indicates 97% of the server's memory currently being used, however when you go into resource monitor SQL Server is only using 289MBs of memory. The memory committed to SQL Server is 1.4GBs and the working set is 322MBs. I am currently trying to shrink a 330GB DB and it is taking 2hrs to shrink 10GB chunks and I assume it is because of the low memory usage by SQL Server. I cannot figure out what is causing SQL Server to not properly use all of the 58GBs allocated to it. Are there any other settings that would limit SQL Server from properly using all of the memory allocated to it?
GilaMonster
GilaMonster
SSC Guru
SSC Guru (226K reputation)SSC Guru (226K reputation)SSC Guru (226K reputation)SSC Guru (226K reputation)SSC Guru (226K reputation)SSC Guru (226K reputation)SSC Guru (226K reputation)SSC Guru (226K reputation)

Group: General Forum Members
Points: 226809 Visits: 46334
Don't use Task Manager to check SQL Server's memory usage. In many cases it will report a value far, far, far lower than what SQL is actually using. Use Perfmon and check the Total Server Memory counter.

Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass


Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search