• Seletor de idioma
Rodrigo Gonçalves

Site pessoal

  • Seletor de idioma
  • Seletor de idioma
Linux,  Windows

Reducing WSL-2 Memory Usage

junho 5, 2020

Execute the following command (as root):


sync && echo 3 > /proc/sys/vm/drop_caches

To put in in a crontab, to execute every 6 hours (assuming the script with the command at /root/clean_caches.sh):

0       */6     *       *       *       /root/clean_caches.sh

Source: https://github.com/microsoft/WSL/issues/4166

linuxwindowswsl-2
By Rodrigo

Categorias

  • CentOS (1)
  • GIT (2)
  • iptables (1)
  • java (1)
  • Linux (4)
  • Matlab (1)
  • PhD (1)
  • Programming (4)
  • spring (2)
  • Windows (1)

Latest posts

  • jun 05, 2020 Reducing WSL-2 Memory Usage
  • dez 31, 2019 RDP server on Kubuntu 18.04
  • jan 03, 2019 Java object to JSON serialization
  • jan 03, 2019 Fix serializations issues in spring-boot REST JSON answers
  • nov 22, 2018 IPTables tips
Savona Theme by Optima Themes