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

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

poratips
Posting Yak Master

104 Posts

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

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?


Thanks,

James K
Flowing Fount of Yak Knowledge

3706 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

poratips
Posting Yak Master

104 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  
 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.05 seconds. Powered By: Snitz Forums 2000