I have the same issue.
Sometimes docker is running, sometimes not (So docker alone does not seem to be the only app causing this behaviour).
However, restarting the PC is not a solution.
Unfortunately, sometimes "wsl -shutdown" doesn't work (the command simply doesn't return, and the high mem/CPU usage of VMMEM is still there).
Any other ideas to workaround?
High CPU usage for vmmem
Hi,
I have experienced high CPU usage for Vmmem frequently (~every 2days) and the only solution at the moment is simply restart my machine.
It is understood that is related to WSL and I do have a Docker image running on Ubuntu on Windows. However it is not really responding for Ubuntu and Docker (see below) and CPU usage is still that high even I manually close Docker Desktop and run cmd wsl --shutdown.
It's really disruptive for me and any opinion would be appreciated.
Cheers
Steve
17 answers
Sort by: Most helpful
-
Thomas Arand 0 Reputation points
2023-11-08T07:48:51.26+00:00 -
TravisR 0 Reputation points
2023-11-27T05:02:53.7266667+00:00 Apologies for commenting on an old post. I've been having this issue for years, but it's been significantly more frequent throughout 2023.
For me the issue was related to my screenshot tool. It automatically copies the captured area as a PNG image to my clipboard, which appears to make WSL very unhappy with me. Clearing the clipboard by copying some other random bit of text helps calm it down after several seconds.
It appears to be the most impactful after I've used WSL in some way, but can happen with or without Docker running as well (no idea why). Clearing the clipboard in these cases also helps.
-
Fabio Antunes 0 Reputation points
2023-12-05T03:10:28.4066667+00:00 Just had this problem and the only way to fix it after having already quit the Docker Desktop app and without having to reboot, was running this in an elevated Powershell prompt (Run as Administrator):
Restart-Service LxssManager
-
Myles Prather 5 Reputation points
2024-01-10T19:09:42.3+00:00 I am having this problem. I am not using Docker. WSL has become unusable for me. How about a fix?
-
Robert Lee 0 Reputation points
2024-01-10T19:13:14.1533333+00:00 Yes, this has gotten worse recently. More specifically this week which I'm not sure what's changed. Before I was safe if I hadn't had images copied to my clipboard or had Filezilla running but it seems there's now something else triggering it.