Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL 2005 RAM utilization governing/capping

Status
Not open for further replies.

joepc

MIS
Jul 26, 2002
647
US
Does anyone know of a way on how to govern/cap the amount of RAM that SQL 2005 standard uses. I have a server that has most of it's RAM being consumed by SQL and it is starting to effect other programs on the server.

Thanks in advance!
 
You can set the maximum memory that can be used by sql - in management studio, right click on the instance name, go to properties, memory and set the max memory allowed in mb.
 
Or you can use sp_configure to set the setting.

Code:
exec sp_configure 'max server memory', 2048 /*Amount in Megs*/
reconfigure

Denny
MVP
MCSA (2003) / MCDBA (SQL 2000)
MCTS (SQL 2005 / SQL 2005 BI / SQL 2008 DBA / SQL 2008 DBD / SQL 2008 BI / MWSS 3.0: Configuration / MOSS 2007: Configuration)
MCITP (SQL 2005 DBA / SQL 2008 DBA / SQL 2005 DBD / SQL 2008 DBD / SQL 2005 BI / SQL 2008 BI)

My Blog
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top