Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Reasonable Max Memory Usage? Expand / Collapse
Author
Message
Posted Tuesday, January 8, 2013 4:38 AM


SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Thursday, July 17, 2014 8:56 AM
Points: 28, Visits: 163
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
Post #1404149
Posted Tuesday, January 8, 2013 5:12 AM


Mr or Mrs. 500

Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500

Group: General Forum Members
Last Login: Friday, April 11, 2014 6:50 AM
Points: 517, Visits: 346
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)

Post #1404170
Posted Tuesday, January 8, 2013 5:13 AM


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Yesterday @ 3:46 PM
Points: 42,462, Visits: 35,525
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 2008, MVP
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

Post #1404172
Posted Tuesday, January 8, 2013 5:30 AM


SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Thursday, July 17, 2014 8:56 AM
Points: 28, Visits: 163
Hi Vegard,

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

Craig
Post #1404179
Posted Tuesday, January 8, 2013 5:34 AM


SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Thursday, July 17, 2014 8:56 AM
Points: 28, Visits: 163
Hey Gila,

Cant believe you've taken the time to help me yet again 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
Post #1404181
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse