Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 Memory is not releasing - sql server 2008R2
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Posting Yak Master

105 Posts

Posted - 08/20/2013 :  21:44:55  Show Profile  Reply with Quote

We have migrated to sql server 2008R2 and I have set up my MAX Memory 32 GB and MIN left a default 0.

When I was watching performance while running big batch job, it was done within 30 minutes but memory was showing almost 30 GB in task manager and after it's ran, it was still showing 30 GB memory.

I couldn't understand why it's not releasing memory after job is done and still showing 30 GB memory into task manager?


James K
Flowing Fount of Yak Knowledge

3873 Posts

Posted - 08/21/2013 :  08:44:10  Show Profile  Reply with Quote
The behavior you are seeing is normal and expected.

SQL Server does its own memory management. What that means is that, as it needs more and more memory, it will grab the required memory from the operating system upto the maximum allowed. But then, SQL OS will not release the memory back to the Windows OS when it is no longer required. It holds on to that memory and will use it as and when required.
Go to Top of Page

Posting Yak Master

105 Posts

Posted - 08/23/2013 :  00:08:48  Show Profile  Reply with Quote
Thanks James.
Go to Top of Page
  Previous Topic Topic Next 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.25 seconds. Powered By: Snitz Forums 2000