SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Reasonable Max Memory Usage?


Reasonable Max Memory Usage?

Author
Message
craig.dixon
craig.dixon
SSC Rookie
SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)

Group: General Forum Members
Points: 38 Visits: 177
Hey Everyone :-),

I wanted to try setting the max memory usage on my test environment as currently sqlservr.exe is using 4317MB of the 5000MB. I just was hoping someone could give me some quick advice. Firstly I had looked at a few articles and blogs myself and I was wondering if anyone had a reason I shouldn't follow Glenn Berry's advice in this blog (http://www.sqlservercentral.com/blogs/glennberry/2009/10/29/suggested-max-memory-settings-for-sql-server-2005_2F00_2008/).

I was also wondering if I should change it at all? If sqlservr.exe is using that amount of memory would I be putting significant strain on it by setting the max memory usage?

Thanks in advance everyone, and I hope your all having a nice day :-)

Craig
Vegard Hagen
Vegard Hagen
SSChasing Mays
SSChasing Mays (617 reputation)SSChasing Mays (617 reputation)SSChasing Mays (617 reputation)SSChasing Mays (617 reputation)SSChasing Mays (617 reputation)SSChasing Mays (617 reputation)SSChasing Mays (617 reputation)SSChasing Mays (617 reputation)

Group: General Forum Members
Points: 617 Visits: 387
Sound advice from Glenn Berry and I'm not aware of any good reasons not to follow it.

Restricting SQL Server's memory use may hurt performance in some cases, but allowing it to "strangle" the OS and get into fights with Windows will hurt worse and can cause far more serious problems. So, basically, if you think your suggested max memory setting is too low for your SQL Server, you should set it anyway and then order more memory. :-)



Vegard Hagen
Norwegian DBA, blogger and generally a nice guy who believes the world is big enough for all of us.

@vegard_hagen on Twitter
Blog: Vegard's corner (No actual SQL stuff here - haven't found my niche yet. Maybe some day...)

"It is better to light a candle than to curse the darkness."
(Chinese proverb)


GilaMonster
GilaMonster
SSC Guru
SSC Guru (87K reputation)SSC Guru (87K reputation)SSC Guru (87K reputation)SSC Guru (87K reputation)SSC Guru (87K reputation)SSC Guru (87K reputation)SSC Guru (87K reputation)SSC Guru (87K reputation)

Group: General Forum Members
Points: 87227 Visits: 45272
Set max server memory, unless you like SQL being able to starve the OS and sitting in a near-constant grow memory, release memory cycle.

At 5 GB of memory total, you probably want SQL's max server memory no higher than 4GB to give the OS enough space.

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

We walk in the dark places no others will enter
We stand on the bridge and no one may pass


craig.dixon
craig.dixon
SSC Rookie
SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)

Group: General Forum Members
Points: 38 Visits: 177
Hi Vegard,

Thanks for the advice :-), I just didn't want to start implementing new settings without asking if the information was correct.

Craig
craig.dixon
craig.dixon
SSC Rookie
SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)

Group: General Forum Members
Points: 38 Visits: 177
Hey Gila,

Cant believe you've taken the time to help me yet again Wow 4GB is what I had in mind, so I think I'll implement it now and see how it runs :-) Thanks again for all your help everyone. Have a nice day.

Regards,
Craig
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search