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 |
laddu
Constraint Violating Yak Guru
332 Posts |
Posted - 2013-05-13 : 11:46:51
|
Hi,We have two similar reporting servers. Lets assume them Server A and Server BOn Server B, one of the ETL package SQL agent job is failed due an out of memory condition.On both server Total RAM is 32 GBOut of 32, 24 GB is allocated for SQLOur monitoring tools say SQL is using 100% memory on server ABUT SQL is using only 50% memory on Server B. Both are identical servers. Why SQL is using only 50% of its allocated memory on Server B?Do we need to reconfigure the memory on Server B? so that SQL can use 100% of its allocated memory.8GB used by OS, So 8GB is not sufficiant for SSIS procedures? is this a memory leakage?Thanks |
|
James K
Master Smack Fu Yak Hacker
3873 Posts |
Posted - 2013-05-13 : 13:10:57
|
That server A is using 100% of the allocated memory and B is using only 50% does not necessarily mean that there is anything wrong. SQL Server has its own OS (SQLOS) which manages its memory. As you run queries and more memory is required, SQL Server will grab more and more memory from the Windows OS, upto the maximum limit you specified. Once it has reached that max, it will not grab anymore from Windows OS, but it won't release the memory back to the Windows OS either.So what may be happening in your situation is that Server A grabbed the maximum amount of memory it is available to because it needed that for some reason. Server B probably did not need to do that (yet) because of the nature of queries that were run against it. |
|
|
srimami
Posting Yak Master
160 Posts |
Posted - 2013-05-14 : 03:13:08
|
In addition to James K response, it is also recommended to allocate 90% of RAM to Sql Server which is around 29GB as a best practice. |
|
|
ahmeds08
Aged Yak Warrior
737 Posts |
Posted - 2013-05-15 : 02:45:21
|
You might run into memory issues if your Lookup transformation is set to Full cache.mohammad.javeed.ahmed@gmail.com |
|
|
|
|
|