Solved

MS SQL server consumes more memory and does not release the memory

Posted on 2014-03-19
4
246 Views
Last Modified: 2014-03-20
Hi,
     I am running the database server with the following configuration.
The SQL Server consumes the hole memory(14 GB) and does not release the memory.
As a result the performance of the database server is reduced.

Please help me to resolve the issue.

 IBM System x3650
Windows 2008 server standard 64 bit
HDD:148 GB (RAID 5)
RAM :14 GB
MS SQL Server 2012 64 bit
Current Database Size: 7 GB
0
Comment
Question by:NARANTHIRAN
4 Comments
 
LVL 34

Assisted Solution

by:Dan Craciun
Dan Craciun earned 200 total points
ID: 39938963
Use this page to configure max server memory: http://technet.microsoft.com/en-us/library/ms178067.aspx

The easiest way is to use the Management Studio.

HTH,
Dan
0
 
LVL 52

Accepted Solution

by:
Carl Tawn earned 300 total points
ID: 39939159
You need to configure the MAX MEMORY to be at least a couple of GB less that the available system memory - you need to leave some for the OS to use.

Try running the following to bring the MAX MEMORY down to 12GB:
sp_configure 'show advanced options','1'
go

reconfigure with override
go

sp_configure 'max server memory (MB)','12288'
go

reconfigure with override
go

sp_configure 'show advanced options','0'
go

reconfigure with override
go

Open in new window

0
 
LVL 1

Expert Comment

by:SrinivasanITPro
ID: 39939318
Hi

I would check / change the following;

- Increase the Virtual Memory (Swap) to 1.5 times to RAM
- If any unused SQL Instances are available, I would STOP that.

Please check the above and feedback.

KS
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 39944116
The SQL Server consumes the hole memory(14 GB) and does not release the memory.
As a result the performance of the database server is reduced.

You have it back to front.  SQL Server by design will use all memory made available and not release it.  So if your performance is lousy it is not because SQL Server is using all the memory, quite the opposite, it just means that you either don't have enough memory or more likely you need to optimize the query or queries running.

Yes, you can set the max memory and provided you are not running anything else on that box i would recommend 11 or 12GB (see here)
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
insert into table 8 22
Sql Stored Procedure 65 26
hyperlink data type in SQL 3 23
T-SQL: "HAVING CASE" Clause 1 23
When you hear the word proxy, you may become apprehensive. This article will help you to understand Proxy and when it is useful. Let's talk Proxy for SQL Server. (Not in terms of Internet access.) Typically, you'll run into this type of problem w…
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.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

785 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