<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Q &amp; A: Does SQL Server always respond to memory pressure?</title><link>http://blogs.msdn.com/b/slavao/archive/2006/11/13/q-a-does-sql-server-always-respond-to-memory-pressure.aspx</link><description>Q: I thought I've seen reference recently to problems with SQL2005 not releasing memory when under pressure, and this was possibly due to the Lock Pages In Memory option. We have a server where this seems to be happening, i.e. SQL2005 uses all available</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>Non-yielding IOCP Listener - Stack Dump analysis</title><link>http://blogs.msdn.com/b/slavao/archive/2006/11/13/q-a-does-sql-server-always-respond-to-memory-pressure.aspx#8945024</link><pubDate>Thu, 11 Sep 2008 20:49:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8945024</guid><dc:creator>SQL in Stockholm</dc:creator><description>&lt;p&gt;Here's something I was looking at yesterday which is worth a quick look. It's quite a common scenario&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8945024" width="1" height="1"&gt;</description></item><item><title>Welcome -- Ax Database Configuration Checklist part 1</title><link>http://blogs.msdn.com/b/slavao/archive/2006/11/13/q-a-does-sql-server-always-respond-to-memory-pressure.aspx#8172571</link><pubDate>Wed, 12 Mar 2008 21:56:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8172571</guid><dc:creator>Dynamics Ax Performance team</dc:creator><description>&lt;p&gt;Welcome to the Dynamics Ax Performance Team's blog. We're putting together a team introduction and hope&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8172571" width="1" height="1"&gt;</description></item><item><title>Configuring Windows 2003 ( x64 ) for SQL Server</title><link>http://blogs.msdn.com/b/slavao/archive/2006/11/13/q-a-does-sql-server-always-respond-to-memory-pressure.aspx#7009743</link><pubDate>Sun, 06 Jan 2008 23:49:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7009743</guid><dc:creator>Grumpy Old DBA</dc:creator><description>&lt;p&gt;There is an almost constant stream of posts on forums asking about configuration of SQL Server 2005 memory,&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7009743" width="1" height="1"&gt;</description></item><item><title>SQL Server Management Studio Standard Reports – Memory Consumption</title><link>http://blogs.msdn.com/b/slavao/archive/2006/11/13/q-a-does-sql-server-always-respond-to-memory-pressure.aspx#5494483</link><pubDate>Wed, 17 Oct 2007 19:12:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5494483</guid><dc:creator>Carpe Datum</dc:creator><description>&lt;p&gt;I’m continuing a series on the Standard Reports you can find in SQL Server Management Studio (SSMS).&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=5494483" width="1" height="1"&gt;</description></item><item><title>re: Q &amp; A: Does SQL Server always respond to memory pressure?</title><link>http://blogs.msdn.com/b/slavao/archive/2006/11/13/q-a-does-sql-server-always-respond-to-memory-pressure.aspx#1110482</link><pubDate>Mon, 20 Nov 2006 22:23:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1110482</guid><dc:creator>Chris Conner</dc:creator><description>&lt;p&gt;You should also remember that if your memory is 32GB, that the kernel is going to need 2GB of memory allocation, nevermind just the OS to run. :) &amp;nbsp;&lt;/p&gt;
&lt;p&gt;For machines that have &amp;gt; 16 GB of memory, I subtract 4 GB - 2 for kernel and 2 for OS and applications. &lt;/p&gt;
&lt;p&gt;If I have 16 GB or less, I subtract 3 GB IF I am using the /3GB switch in boot.ini. If I am NOT using the /3GB switch, then the kernel is taking 2GB and since I always leave a buffer of 2GB for my applications and OS on machines that are using less than 16 GB memory that adds to 4GB to subtract instead of 3GB if I use the /3GB switch.&lt;/p&gt;
&lt;p&gt;Like Slavo has said, this is a personal preference. :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1110482" width="1" height="1"&gt;</description></item><item><title>re: Q &amp; A: Does SQL Server always respond to memory pressure?</title><link>http://blogs.msdn.com/b/slavao/archive/2006/11/13/q-a-does-sql-server-always-respond-to-memory-pressure.aspx#1098905</link><pubDate>Sat, 18 Nov 2006 14:07:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1098905</guid><dc:creator>nd-pike</dc:creator><description>&lt;p&gt;Glenn,&lt;/p&gt;
&lt;p&gt;I like to use the Pages Output/sec counter to monitor the hard page faults which are occurring on the system. &amp;nbsp;As you increase 'max server memory', keep a history of this counter. &amp;nbsp;If you start to note significant increases you may have set 'max server memory' a little too high, thereby forcing other user mode processes to page more. &amp;nbsp;I make gradual increases in the 'max server memory' setting, e.g. 512MB or 256MB at a time, before assessing the Perfmon counters against a baseline.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1098905" width="1" height="1"&gt;</description></item><item><title>re: Q &amp; A: Does SQL Server always respond to memory pressure?</title><link>http://blogs.msdn.com/b/slavao/archive/2006/11/13/q-a-does-sql-server-always-respond-to-memory-pressure.aspx#1076994</link><pubDate>Tue, 14 Nov 2006 22:47:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1076994</guid><dc:creator>slavao</dc:creator><description>&lt;p&gt;Glenn, we have to be careful here. I specifically avoid recommending setting max server memory to 30GB on 32GB system. You need to make sure that amount of available memory to OS doesn't drop below ~2GB under heavy load. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;You are also correct that you need to monitor the above counters to find out right max server memory setting , however if amount of memory available to OS drops you are in danger of bringing the whole machine to its knees. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;You might think about my recommendation as how to figure out upper limit for max server memory. If you notice based on other counters that SQL Server becomes memory bound and you can't increase max server memory anymore due to my recommendation, then to improve the situation you might need to buy more RAM&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1076994" width="1" height="1"&gt;</description></item><item><title>re: Q &amp; A: Does SQL Server always respond to memory pressure?</title><link>http://blogs.msdn.com/b/slavao/archive/2006/11/13/q-a-does-sql-server-always-respond-to-memory-pressure.aspx#1076418</link><pubDate>Tue, 14 Nov 2006 21:46:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1076418</guid><dc:creator>Glenn Berry</dc:creator><description>&lt;p&gt;Slava,&lt;/p&gt;
&lt;p&gt;Another good post. For a dedicated SQL Server 2005 x64 machine with 32GB of RAM, setting Max Server memory to 30GB seems maybe a little low. Wouldn't you also want to look at metrics like Page Life Expectancy and Memory Grants Pending to decide what to set Max Server Memory at?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1076418" width="1" height="1"&gt;</description></item></channel></rss>