Solved

SQL 2012 Memory

Posted on 2016-08-07
3
35 Views
Last Modified: 2016-08-07
Windows 2012 R2 Server 32 GB Ram VM
SQL 2012 Enterprise

I was alerted today that my Windows 2012 Server Memory was over 80% when checking Task manager it is at 90%

The server has 32 GB of RAM and is a virtual machine on an ESXi 6.0 Host

I went into SQL Serer Management Studio  and on the Object Explorer I right clicked on the properties of my SQL Server Name.
In the Server Properties I selected Memory

For Server Memory

Minimum = 0 MB
Max = 10000 MB

Other Memory option
Index creation = 0 MB
Min memory per query = 1024 KB

Configured values is selected

If I have 10000MB as max why in task manager does it show I  am using 5,884.0 MB this is only 5 GB of memory

I read the minimum for sql should be 16 GB is that correct?  

I am not sure why my memory usage is so high all other processes are using low amounts of memory

IIS Worker Process is next highest at 438 mb


thanks

Tom
0
Comment
Question by:Thomas Grassi
3 Comments
 
LVL 37

Assisted Solution

by:bbao
bbao earned 250 total points
ID: 41746196
first check below MSDN article and follow the instructions to learn the actual memory usage of your SQL.

https://msdn.microsoft.com/en-AU/library/ms176018.aspx

then please advise the result and your findings, if any.
0
 
LVL 33

Accepted Solution

by:
ste5an earned 250 total points
ID: 41746208
You cannot use the task manger, cause it is only reporting the private memory, not what is request for the buffers. SQL Server uses a dynamic memory allocation process, see this thread.
For getting the correct amount you can query it in SQL Server.

You need to set the min and max memory values to meaningful boundaries. With 32GB RAM setting min to 16GB is fine and the max value depends on how much the server needs for the rest. So using 28GB or 30GB is often a good choice.
0
 
LVL 23

Author Closing Comment

by:Thomas Grassi
ID: 41746439
Thanks for the info guys
I modified SQL Memory and it has stabilized now
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question