当前位置:网站首页>Vmmem process (WSL2) consumes huge amount of memory
Vmmem process (WSL2) consumes huge amount of memory
2022-08-04 06:43:00 【Louzen】
[Reprint]: blogger Liu Wenzhuang, https://blog.csdn.net/u010730126/article/details/117302375
Problem Scenario
When using Docker in WSL2, it may cause the Vmmem process to consume all the memory, causing the machine to freeze, and the process cannot be terminated through the task manager or taskkill.
Projects
- Create a new file .wslconfig in the user directory, and add the following configuration to limit its memory usage:
[wsl2]memory=6GBswap=0localhostForwarding=true- The configuration of memory is based on the memory configuration of your own machine. For example, it can be configured to 1/3 or 1/4 of the machine memory to ensure smooth use of other applications.More configurations can be found in the release notes of WSL
- Restart WSL2: Open Services (by Win + R, run services.msc), find the LxssManager service, and restart it
边栏推荐
猜你喜欢
随机推荐
Shell基础
基于Webrtc和Janus的多人视频会议系统开发4 - 改造信令交互系统完成sdp交换过程
LeetCode_22_Apr_4th_Week
结构体传参-C语言
Vmmem 进程(WSL2)消耗内存巨大
JUC并发容器——跳表
基于Webrtc和Janus的多人视频会议系统开发5 - 发布媒体流到Janus服务器
LeetCode_22_Apr_4th_Week
[开发杂项][VS Code]remote-ssd retry failed
FAREWARE ADDRESS
使用cef离屏渲染技术实现在线教育课件和webrtc视频回放融合录制
LeetCode_Nov_2nd_Week
调用时序错误导致webrtc无法建立链接
vs2017 redist 下载地址
Socket编程详解
[日常办公][杂项][vscode]tab space
用PPAPI插件技术在Web上显示会议视频、桌面、PPT等
【C语言】数组名是什么
罗斯50分
MVC custom configuration









