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

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 HIgh memory Usage
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

3 Posts

Posted - 11/26/2012 :  08:14:38  Show Profile  Reply with Quote
hello experts,
please go through the below configuration:-

sql server 2005 sp2
windows server 2003 R2 (64 bit)
CPU 2.13 GHz
RAM 128 GB
max server memory 100GB
min server memory 40GB

Today morning got an issue server was too slow and concernd team taken a screen shot of memory utilization till 102 GB, first concern, is any possibility that sql server can take more memory than what we have defined in max server memory??

Elizabeth B. Darcy
Starting Member

United Kingdom
39 Posts

Posted - 11/26/2012 :  09:54:20  Show Profile  Reply with Quote
Yes it can exceed. Max memory setting is just for the buffer pool. Worker threads (2 megabtyes for each), extended stored procs, linked servers, etc. are outside of that limit.

See which database is consuming the memory using this query:
	DB_NAME(database_id) AS DB,
	COUNT(row_count)*8.0/1024.0 AS MB

If it is tempdb, it is possible that you have long running open transactions, or if RCSI is enabled it may be row versions.

I saw Aaron Bertrand's page only after I wrote the above query, but you may find the information in his blog useful for diagnosing the problem - which includes something similar to my query (but probably better) and other useful information as well: http://www.mssqltips.com/sqlservertip/2393/determine-sql-server-memory-use-by-database-and-object/

-- Yes, I am indeed a fictional character.
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.03 seconds. Powered By: Snitz Forums 2000