Bart's Weblog

Just a blog…

Limit SQL Server maximum memory allocation for WSUS instance

Posted by bartvdw on 0707/0303/2010

One thing you can discover after installing WSUS with a SQL instance (Express) is that the memory allocated by the SQL instance grows quiete big. To prevent this, adjust after installation the maximum memory allocation for the SQL instance.

There are 2 options to do this:

  • command-line (osql)
  • SQL Management Studio

Command-lin (osql) method:

  • Open cmd
  • osql -E -S YOURSERVERNAME\sbsmonitoring [hit enter]
  • sp_configure ‘show advanced options’,1 [hit enter]
  • reconfigure with override [hit enter]
  • go [hit enter]
  • sp_configure ‘max server memory’, 256 [hit enter] (based on the information I found, this is OK)
  • reconfigure with override [hit enter]
  • go [hit enter]

SQL Management Studio method:

  • If you haven’t installed it yet, download the SQL Server Management Studio Express from the Microsoft website
  • Open SQL Server Management Studio Express
  • Connect to \\.\pipe\MSSQL$MICROSOFT##SSEE\sql\query
  • Right-click on the database and select ‘Properties’
  • Select page ‘Memory’ and change ‘Maximum server memory (in MB)’ to value 256
    image 
  • Click ‘OK’

Restarting the SQL instance afterwards is recommended.

Advertisements

2 Responses to “Limit SQL Server maximum memory allocation for WSUS instance”

  1. Citrix Support…

    […]Limit SQL Server maximum memory allocation for WSUS instance « Bart's Weblog[…]…

  2. Ali Bushaqer said

    This was really helpful. Thank you very much

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: