﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Discuss content posted by Rudy Panigas / Article Discussions / Article Discussions by Author  / Calculate the values for MAX Memory for SQL Server  / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Tue, 18 Jun 2013 22:50:14 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Calculate the values for MAX Memory for SQL Server</title><link>http://www.sqlservercentral.com/Forums/Topic1224761-471-1.aspx</link><description>Thank you for the scripts.  It was a great help for me.</description><pubDate>Tue, 02 Apr 2013 09:21:49 GMT</pubDate><dc:creator>nisha_rana</dc:creator></item><item><title>RE: Calculate the values for MAX Memory for SQL Server</title><link>http://www.sqlservercentral.com/Forums/Topic1224761-471-1.aspx</link><description>[quote][b]scweichel (6/26/2012)[/b][hr]Change these two lines in your script to make it 2012 compatible --- Read physical memory on server SET @TotalMEMORYinBytes = (select physical_memory_kb from sys.dm_os_sys_info) -- Coverting value from bytes to megabytesSET @TotalMEMORYinMegaBytes = (@TotalMEMORYinBytes /(1024))[/quote]Thanks for the update and it seem to work just fine in 2012 now :)</description><pubDate>Wed, 27 Jun 2012 06:40:11 GMT</pubDate><dc:creator>Rudy Panigas</dc:creator></item><item><title>RE: Calculate the values for MAX Memory for SQL Server</title><link>http://www.sqlservercentral.com/Forums/Topic1224761-471-1.aspx</link><description>[quote][b]Tec_Chief (4/30/2012)[/b][hr]Great Script.. Thank You.  Can you add direction on how to take your script results and have it use the MAX MEM (SQLMaxMemoryMegaByte) results to automatically change/update the SQL settings (i.e. sp_configure max server memory)?[/quote]Hello,Not sure why you want to automatically change the memory setting. Since you don't need to do this often, I would recommend just executing the script and then copy/paste the results to make you memory change.Thanks,</description><pubDate>Wed, 27 Jun 2012 06:37:27 GMT</pubDate><dc:creator>Rudy Panigas</dc:creator></item><item><title>RE: Calculate the values for MAX Memory for SQL Server</title><link>http://www.sqlservercentral.com/Forums/Topic1224761-471-1.aspx</link><description>Change these two lines in your script to make it 2012 compatible --- Read physical memory on server SET @TotalMEMORYinBytes = (select physical_memory_kb from sys.dm_os_sys_info) -- Coverting value from bytes to megabytesSET @TotalMEMORYinMegaBytes = (@TotalMEMORYinBytes /(1024))</description><pubDate>Tue, 26 Jun 2012 14:31:07 GMT</pubDate><dc:creator>scweichel</dc:creator></item><item><title>RE: Calculate the values for MAX Memory for SQL Server</title><link>http://www.sqlservercentral.com/Forums/Topic1224761-471-1.aspx</link><description>Great Script.. Thank You.  Can you add direction on how to take your script results and have it use the MAX MEM (SQLMaxMemoryMegaByte) results to automatically change/update the SQL settings (i.e. sp_configure max server memory)?</description><pubDate>Mon, 30 Apr 2012 19:28:58 GMT</pubDate><dc:creator>Tec_Chief</dc:creator></item><item><title>RE: Calculate the values for MAX Memory for SQL Server</title><link>http://www.sqlservercentral.com/Forums/Topic1224761-471-1.aspx</link><description>Yes this is correct as per the authors of the book. Also, there is other memory reserved it not just 1GB of RAM.</description><pubDate>Fri, 10 Feb 2012 06:57:08 GMT</pubDate><dc:creator>Rudy Panigas</dc:creator></item><item><title>RE: Calculate the values for MAX Memory for SQL Server</title><link>http://www.sqlservercentral.com/Forums/Topic1224761-471-1.aspx</link><description>"Reserve 1 Gigabyte (GB) of RAM for the Operating System (OS)"Are you sure?  Shouldn't it be 2GB?</description><pubDate>Thu, 09 Feb 2012 09:26:16 GMT</pubDate><dc:creator>pkrudysz</dc:creator></item><item><title>Calculate the values for MAX Memory for SQL Server </title><link>http://www.sqlservercentral.com/Forums/Topic1224761-471-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/scripts/max+memory+setting/86998/"&gt;Calculate the values for MAX Memory for SQL Server &lt;/A&gt;[/B]</description><pubDate>Tue, 20 Dec 2011 14:13:47 GMT</pubDate><dc:creator>Rudy Panigas</dc:creator></item></channel></rss>