C:\Users\[userName]\.wslconfig
파일 추가 후 아래 코드 추가
[wsl2]
guiApplications=false
그 후 재부팅하면 점유율이 확실히 줄어든 것을 확인할 수 있다.
참고
https://www.tecklyfe.com/fix-vmmem-high-cpu-usage-in-windows/
Fix VMMem High CPU Usage in Windows - TeckLyfe
If you're noticing VMMem high CPU usage in Windows 10 or Windows 11, it is related to the Windows Subsystem for Linux (WSL and WSL2). More recently, it seems
www.tecklyfe.com
+ 여기에 메모리 사용량 제한 등을 추가하여 최종적으로 내 파일은 아래와 같다.
[wsl2]
memory=4GB
swap=0
localhostForwarding=true
guiApplications=false
'공부 > TIL' 카테고리의 다른 글
[TIL] Eslint 오류 : Auto Fix is enabled by default. Use the single string form. (0) | 2022.06.23 |
---|---|
[TIL] Visual Code Studio 우클릭 바로가기 추가 (0) | 2022.06.23 |
[TIL] ESLint 갑자기 적용 안되는 오류 (0) | 2022.06.21 |
[TIL] Windows 탐색기에서 wsl2 리눅스 네트워크 접근 시 권한 오류 (0) | 2022.06.17 |
[TIL] 콘솔에서 exe 응용 프로그램 실행 (0) | 2022.06.17 |