4 ms·
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
by evook 2y 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#experimental-settings https://learn.microsoft.com/en-us/windows/wsl/wsl-config#exp...
- nikau 2y agoYou can do this manually by doing echo 1 > /proc/dropcaches or something along those lines