1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

dockerでSQL Serverの立ち上げ時のエラー「sqlservr: This program requires a machine with at least 2000 megabytes of memory.」に対応しました

1
Posted at

環境

  • windows11
  • wsl2
  • メモリ = 8GB

結論

メモリが8GBしかなく、wslで使えるメモリを2GBに制限していて、エラーになりました。
%USERPROFILE%.wslconfig の設定を3GBに上げる+windowsを再起動して対応しました。

[wsl2]
memory=3GB
swap=4GB

エラーメッセージ

sqlservr: This program requires a machine with at least 2000 megabytes of memory.
/opt/mssql/bin/sqlservr: This program requires a machine with at least 2000 megabytes of memory.

(機械翻訳)
sqlservr: このプログラムには、少なくとも 2000 MB のメモリを搭載したマシンが必要です。
/opt/mssql/bin/sqlservr: このプログラムには、少なくとも 2000 MB のメモリを搭載したマシンが必要です。

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?