Hacker News new | ask | show | jobs
by evook 814 days ago
There is an experimental flag[0] in the .wslconfig which let's you set autoMemoryReclaim to gradual or dropcache. On my laptop I had good success with dropcache and on my countryside desktop with gradual.

[0] https://learn.microsoft.com/en-us/windows/wsl/wsl-config#exp...

1 comments

You can do this manually by doing echo 1 > /proc/dropcaches or something along those lines