Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2012 Forums
 SQL Server Administration (2012)
 high memory usage on mssql2012

Author  Topic 

duncanpts
Starting Member

11 Posts

Posted - 2013-04-24 : 02:52:55
high Memory usage on server2008r2 when running mssql2012. the memory usage around 90-95%.
it is new. just install mssql2012(BI version) into server2008r2. the database is empty.
The task manager show the memory usage around 10GB+-. total is 16Gb on server. i have set the max memory to 10GB.
after i restart the mssql services, it drop to around 5 GB, few minute later the memory will growing up
how to solve the issue?
the server spec :
window server 2008r2
intel xeon CPU E5640 @2.67 2 processor
memory: 16GB
64 bit OS

Thanks...

James K
Master Smack Fu Yak Hacker

3873 Posts

Posted - 2013-04-24 : 08:58:36
This is not really an issue. SQL Server is designed to work this way. As the server needs more memory, SQL OS grabs more and more memory, until it reaches the maximum you have set. Once it gets to that point, it won't grab anymore, but, if the workload reduces, SQL OS won't release the memory back to Windows OS either. It will hold on to the memory. In other words, SQL OS does its own memory management with the memory you allow it to take.

In Perfmon or task manager, you may see SQL taking up a little bit more memory than the max you set. That is because the max you set is the max for buffer pool and not the total memory SQL OS is allowed to take.
Go to Top of Page

jackv
Master Smack Fu Yak Hacker

2179 Posts

Posted - 2013-04-24 : 10:55:16
You can use this script to drill into which SQL Server objects are using the most memory
http://www.sqlserver-dba.com/2013/03/memory-objects-allocated-by-sql-server.html

Jack Vamvas
--------------------
http://www.sqlserver-dba.com
Go to Top of Page
   

- Advertisement -