STEP 1 alias drop_cache="sudo sh -c \"echo 3 >'/proc/sys/vm/drop_caches' && swapoff -a && swapon -a && printf '\n%s\n' 'Ram-cache and Swap Cleared'\"" STEP 2 source ~/.bashrc STEP 3 drop_cache
[wsl2] # https://docs.microsoft.com/en-us/windows/wsl/wsl-config (Docs) # https://github.com/microsoft/WSL/issues/4166 (Topic) memory=4GB swap=16GB localhostForwarding=true