Add WSL clean mem script
This commit is contained in:
parent
8ca7c95dd4
commit
5c9d7f46aa
1 changed files with 4 additions and 0 deletions
4
useful_scripts/cleanup_wsl_mem.sh
Normal file
4
useful_scripts/cleanup_wsl_mem.sh
Normal file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
sudo bash -c "echo 1 > /proc/sys/vm/drop_caches"
|
||||
sudo bash -c "echo 1 > /proc/sys/vm/compact_memory"
|
Loading…
Add table
Reference in a new issue