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 4 weeks ago
Because Linux and Windows take a different approach to memory management.
And Android is based on Linux.
schipelblorp@sh.itjust.works 4 weeks ago
ShellMonkey@piefed.socdojo.com 4 weeks 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.