SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2012 Forums
 SQL Server Administration (2012)
 high memory usage on mssql2012
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

duncanpts
Starting Member

11 Posts

Posted - 04/24/2013 :  02:52:55  Show Profile  Reply with Quote
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
Flowing Fount of Yak Knowledge

3699 Posts

Posted - 04/24/2013 :  08:58:36  Show Profile  Reply with Quote
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
Flowing Fount of Yak Knowledge

United Kingdom
2067 Posts

Posted - 04/24/2013 :  10:55:16  Show Profile  Visit jackv's Homepage  Reply with Quote
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
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000