검색결과 리스트
글
OS/Windows
2021. 4. 13. 23:27
WSL
1. Vmmem 프로세스 메모리 과다 점유 !?
WSL을 사용하고 부터 Vmmem
이라는 프로세스가 메모리를 점유할 때가 있다.
2021년 04월 13일, 아직도 Open중인 Issue인데.. ( https://github.com/microsoft/WSL/issues/4166 )
현재 최선의 방법은 Vmmem
의 메모리 점유 최대치를 설정하는 방법이라는 것 같다.
2. Vmmem 메모리 점유 최대치 설정
사용자 경로로 이동. ( C:\Users\SOMEUSER )
cd %UserProfile%
OR
cd ~
.wslconfig
파일 생성. (memory
에 최대치를 적는다.).wslconfig
[wsl2] memory=4GB swap=0 localhostForwarding=true
Reference
- WSL 2 consumes massive amounts of RAM and doesn't return it #4166: https://github.com/microsoft/WSL/issues/4166#issuecomment-526725261
- WSL 리소스 조정하기: https://seokbeomkim.github.io/posts/wsl-customize-resource/
- WSL2 기반 docker 사용시 vmmem 프로세스 메모리 소모량 줄이기: https://meaownworld.tistory.com/160
'OS > Windows' 카테고리의 다른 글
[Windows 10] 에어팟(AirPods) 윈도우에 연결하기 (0) | 2021.04.18 |
---|---|
[Windows] 모니터에서 사라진 창 끄집어내기 (0) | 2021.04.14 |
[Windows] iPhone to Windows - USB로 인터넷 연결 (0) | 2021.04.12 |
[Windows 10] Windows Terminal 1.0 (단축키모음 / 꾸미기 / GitBash 추가) (2) | 2021.04.03 |
[Windows 10] WSL2 - Docker for Windows (0) | 2021.03.28 |