• Linux,  Windows

    Reducing WSL-2 Memory Usage

    Execute the following command (as root): To put in in a crontab, to execute every 6 hours (assuming the script with the command at /root/clean_caches.sh): Source: https://github.com/microsoft/WSL/issues/4166