当前位置:网站首页>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
边栏推荐
猜你喜欢
随机推荐
PS像素画学习-1
JUC锁框架——初识AQS
【HIT-SC-MEMO3】哈工大2022软件构造 复习笔记3
并发概念基础:并发、同步、阻塞
Pipe redirection
Chapter One Introduction
2020-03-27
Janus转发丢包导致音视频不同步原因分析
MySQL基础
【HIT-SC-MEMO7】哈工大2022软件构造 复习笔记7
LeetCode_Nov_4th_Week
基于Webrtc和Janus的多人视频会议系统开发4 - 改造信令交互系统完成sdp交换过程
[English learning][sentence] good sentence
EL表达式
集合--LinkedList
【c语言】整数的二进制表现形式是什么?
JUC并发容器——阻塞队列
理想的生活
2020-03-27
Rules.make - suitable for viewing in edit mode









