1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

wsl2 のメモリを制御する

Posted at

放っておくと際限なくメモリを使われる

残っているメモリをすべて使い尽くすしてしまうひどいやつ
(ディスク容量だってかなりもってかれる)

上限を設けてやる

場所はc:\user\[username]の直下に配置
このファイルがない場合は作成してあげる

.wslconfig
[wsl2]
memory=4GB

ふぅ…

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?