3
3

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 3 years have passed since last update.

SQLServerでメモリ不足

Posted at

メモリ不足でエラーとなりました。

このクエリを実行するには、リソース プール 'internal' のシステム メモリが不足しています。

サーバで確認すると、タスクマネージャも立ち上がらず。

下記を実施。

DBCC DROPCLEANBUFFERS

(各クライアントがエラーとなる中、焦っていろいろ調べてみるとサービス再起動とかOS再起動とか物騒なアドバイスが多く、そんなの無理。と思うのは私だけ?)

この後正常に接続できるようになり、SQLも実行できたのでSSMSで下記の設定を行う。
max server memory
実際はインスタンスのプロパティのメモリの上限を変更。
初期値は2,147,483,647 メガバイト。。そんなサーバ無い。
今回は1000メガバイトでまずは運用してみようかな。

3
3
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
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?