Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
poratips
Posting Yak Master
105 Posts |
Posted - 2013-08-20 : 21:44:55
|
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
Master Smack Fu Yak Hacker
3873 Posts |
Posted - 2013-08-21 : 08:44:10
|
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. |
|
|
poratips
Posting Yak Master
105 Posts |
Posted - 2013-08-23 : 00:08:48
|
Thanks James. |
|
|
|
|
|