Solved

SQL 2012 Memory

Posted on 2016-08-07
3
36 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

856 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