WSL Module #26

Open
opened 2021-04-01 23:24:37 +02:00 by marcel.schwarz · 0 comments
marcel.schwarz commented 2021-04-01 23:24:37 +02:00 (Migrated from gitlab.com)

WSL2 Linux Module to free up caches and compact memory
See Microsoft Blog

echo 1 > /proc/sys/vm/drop_caches
echo 1 > /proc/sys/vm/compact_memory

needs to run as root (sudo doesn't work)

WSL2 Linux Module to free up caches and compact memory See [Microsoft Blog](https://devblogs.microsoft.com/commandline/memory-reclaim-in-the-windows-subsystem-for-linux-2/) `echo 1 > /proc/sys/vm/drop_caches` `echo 1 > /proc/sys/vm/compact_memory` needs to run as root (sudo doesn't work)
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: public/linux-tools#26
No description provided.