3
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

開発用PCにSQL Expressを入れたらmax server memoryを設定しておこう

Last updated at Posted at 2017-11-14

PC入れ替えた際とかによく忘れるのでメモ
メモリ使用量が妙に多くて変だな、と思ったら高確率でコレだった気がする…

SQL Server Management Studioで以下を実行

T-SQL
sp_configure 'show advanced options',1 --詳細設定の許可
go
reconfigure
go
sp_configure 'max server memory', 2048 --(MB)
go
reconfigure
go
sp_configure 'show advanced options',0 --元に戻す
go
reconfigure
go

※本番環境で忘れる方がもっとダメだけど…インストーラのオプションで設定させて欲しい…

【参考】 DO’s&DONT’s #12: やった方がいいこと – max server memory を設定する

3
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?