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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Memory usage config

Status
Not open for further replies.

moolie

Programmer
May 7, 2002
193
CA
Can this be done from command line or script?

Ie. server has 2 GB of ram installed, I would like to limit sql server usage to 1 gb. Normally done from properties dialog inside sql registration.

Any thoughts?
 
Yes.
Code:
sp_configure 'Max Server Memory', 1024
reconfigure
go
The 1024 is in Megs.

Denny

--Anything is possible. All it takes is a little research. (Me)

[noevil]
(My very old site)
 
Thank You. This was the last piece of my puzzle for automatic configuration script. Thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top