Thanks for that. Pretty cool how that works. Linux does have swap files, though.
Comment on Why doesn't Android save app memory into storage instead of killing the process in RAM?
Onomatopoeia@lemmy.cafe 1 week ago
Because Linux and Windows take a different approach to memory management.
And Android is based on Linux.
schipelblorp@sh.itjust.works 1 week ago
ShellMonkey@piefed.socdojo.com 1 week ago
That function would seem like a last resort no-mem/no-swap situation would it not? Standard Linux server/desktop systems have a swap partition typically by default.