November 11, 2011 at 7:43 am
Hi Gial,
My Server details
Microsoft SQL Server 2008 R2 (RTM) - 10.50.1600.1 (X64
Microsoft Corporation Enterprise Edition (64-bit) on Windows NT 6.1 <X64> (Build 7600: )
I have few things what I am not able to configure.
I have 20 server. There are SQL servers from 2000 to 2008R2. Why I have a problem with the memory in only 1 server? Why this memory problem is not other servers?
After lot of looking into the problem, we found that a few steps in a job is causing the memory increase. But this job was working fine till last thursday, and then suddenly on Friday this started giving a problem. No changes were made in the steps, neither any changes were made in the procedure executed in the steps.
I have decreased the max memory set , but still the problem is there.
What should we do that it does not use all the memory, or how to avoid memory increase.
We have already done 3 reboot of the server to reduce the memory problem.
Please help.
Thanks,
Harsha
November 11, 2011 at 7:53 am
SQL Server will generally take as much memory as it needs (or the max allowed, whichever is less), and then will keep it. There are reasons for that.
Is there a reason it needs to give the memory back?
- Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
Property of The Thread
"Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon
November 11, 2011 at 8:02 am
Hi GSquared,
I have to provide a necessary explanation why this server is having such issue. Why not other servers.
Also I am also trying to find why sql server is taking so much memory.
What is causing to take that memory.
Thanks,
Harsha
November 11, 2011 at 8:05 am
Why do you think the memory is the problem??
Do you run anything clr or xml on that server? That takes ram outside the max settings and you can't really control that aside from recuding the max memory by a lot (possibly too much).
Tried something like this?
November 11, 2011 at 8:14 am
is the server witht eh memory problem one of many on the same virtual server? could it be that instances are eating up 100% of the available memory, and #20 is starved for resources because of the others ?
Lowell
November 11, 2011 at 8:48 am
Hi,
I am trying to find out, why my 1 server is having problem with SQL server Memory allocation.
All the servers are fine.
No they are not starving for memory.
All are set to range from 24 to 31 GB .
I just want to know what is making my X server is using that much memory? There are no CLR or XML queries.
Thanks,
Harsha
November 11, 2011 at 8:53 am
How did you find out that you were having memory issues on that server?
November 11, 2011 at 9:09 am
Hi,
The IT team came running to us..
Later on... we were keeping an eye on it.
We did a reboot on Thursday then on Monday..
There were no multiple logins i=on Monday. 1 job was running ... and it was of for Data warehouse work.
It has lot of cursors..
November 11, 2011 at 9:15 am
The IT came running to you BECAUSE?
November 11, 2011 at 9:45 am
Its not this because..
I also want to know why this server is taking so much memory.
Why this server only is having this memory issue..
November 11, 2011 at 9:49 am
SQL_DBA_New (11/11/2011)
Its not this because..I also want to know why this server is taking so much memory.
Why this server only is having this memory issue..
SQL takes memory because it needs it. Period, end of story.
If you're not troubleshooting a specific performance issue you're wasting your time and ours.
November 11, 2011 at 9:52 am
Ninja's_RGR'us (11/11/2011)
SQL takes memory because it needs it and lives happily ever after. Period, end of story.
there. fixed it for you. 😛
Lowell
November 11, 2011 at 9:52 am
I also want to know why this server is taking so much memory.
Why this server only is having this memory issue..
I am sorry but it won't be an easy exercise for you. You should make inventory of ALL Servers (CPU, RAM, DBs, OS, SQL Server configuration etc) and find what’s DIFFERENT here.
That might be your answer.
November 11, 2011 at 9:55 am
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
November 11, 2011 at 10:02 am
Or this if you have 1 month to decypher it.
DBCC memorystatus()
Viewing 15 posts - 1 through 15 (of 15 total)
You must be logged in to reply to this topic. Login to reply