当前位置:网站首页>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
边栏推荐
猜你喜欢
随机推荐
管道重定向
指针运算相关面试题详解【C语言】
LeetCode_Nov_2nd_Week
[English learning][sentence] good sentence
基于Webrtc和Janus的多人视频会议系统开发5 - 发布媒体流到Janus服务器
Object. RequireNonNull method
strlen 转义字符
counting cycle
硬件描述语言Verilog HDL学习笔记之模块介绍
指针的运算【C语言】
JDBC第一学之进行数据库连接时出现The server time zone.....解决办法
SSO单点登陆
文件编辑器
使用cef离屏渲染技术实现在线教育课件和webrtc视频回放融合录制
file permission management ugo
集合---ArrayList的底层
tmux概念和使用
理想的生活
LeetCode_Nov_5th_Week
Object.requireNonNull 方法说明