wsl-drop-cache
prelockd
wsl-drop-cache | prelockd | |
---|---|---|
3 | 6 | |
24 | 100 | |
- | - | |
0.0 | 2.5 | |
over 2 years ago | 6 months ago | |
Python | Python | |
GNU General Public License v3.0 only | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
wsl-drop-cache
-
Linuxatemyram.com
That's just one part of the issue - even after forcefully dropping Linux's caches, WSL has been unable to reclaim the memory back reliably. There has been a recent update that claims to finally fix this.
You might find this package helpful: https://github.com/arkane-systems/wsl-drop-cache
-
WSL2 Massive Paging File Size Taking Up Over 1/3 of Total Ram
Yeah. for a while I used validatedev/drop-cache-if-idle. There's also arkane-systems/wsl-drop-cache which seems to be a little newer.
-
Release Dropcacheifidle
Repo at arkane-systems/wsl-drop-cache: Periodically drop the WSL caches when load is low. (github.com) , installable from wsl-transdebian | A repository for WSL-only apt packages. (arkane-systems.github.io) .
prelockd
-
Linuxatemyram.com
This may or may not preserve your desktop and other important applications in an OOM situation. https://github.com/hakavlad/prelockd
- force specific program to use ram instead of swap as much as possible?
- Looking for better scheduler for high core system
- Can someone explain me why do DEs crash like any other application?
- Prelockd
- Amazon 46.50% with 4.79% runtime slowdown using proactive memory reclaim
What are some alternatives?
ksm_preload - Enables legacy applications to leverage Linux's memory deduplication.
nohang - A sophisticated low memory handler for Linux
drop-cache-if-idle - The tool which doesn't interrupt your processes, drops the cache if and only if the machine is idle.
le9-patch - [PATCH] mm: Protect the working set under memory pressure to prevent thrashing, avoid high latency and prevent livelock in near-OOM conditions
earlyoom - earlyoom - Early OOM Daemon for Linux
memavaild - Improve responsiveness during heavy swapping: keep amount of available memory
mio - Cross-platform C++11 header-only library for memory mapped file IO
vmtouch - Portable file system cache diagnostics and control
pf-kernel