当前位置:网站首页>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
边栏推荐
- Miscellaneous [development] [VS Code] remote - SSD retry failed
- 并发概念基础:线程安全与线程间通信
- C语言对文件的操作(完整版)
- 最全的最详细的指针讲解(C语言)
- MySQL基础
- 【C语言】数组名是什么
- jdbc:mysql://localhost:3306/student?serverTimezone=CTT&useUnicode=true&characterEncoding=utf-8时报错
- counting cycle
- Deep learning, "grain and grass" first--On the way to obtain data sets
- Unity Day03
猜你喜欢
随机推荐
调用时序错误导致webrtc无法建立链接
网络通信与Socket编程概述
Design and implementation of legal aid platform based on asp.net (with project link)
20170729
file permission management ugo
[Development Miscellaneous][Editor][Code Reading]ctags & vim
const int * a 与 int * const a 的定义与区别
[日常办公][shell]常用代码段
使用cef离屏渲染技术实现在线教育课件和webrtc视频回放融合录制
webrtc代码解读一:音频数据的接收解码播放过程
IEEE802.X协议族
彻底删除MySQL教程
虚幻引擎 5 完整指南[2022六月最新课程学习内容]
指针的运算【C语言】
Object. RequireNonNull method
IDEA创建Servlet步骤
[日常办公][ssh]cheatsheet
安装Apache服务时出现的几个问题, AH00369,AH00526,AH00072....
集合--LinkedList
Stream API