Answers for "wsl2 memory problem"

1

wsl2 release memory

STEP 1
alias drop_cache="sudo sh -c "echo 3 >'/proc/sys/vm/drop_caches' && swapoff -a && swapon -a && printf 'n%sn' 'Ram-cache and Swap Cleared'""
STEP 2
source ~/.bashrc
STEP 3
drop_cache
Posted by: Guest on September-29-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language