Borg3 slaps foldr with a spinning rust.
And now more seriously ;) Swapping aint fun. Sure, if it needs to happen, its better that out of memory error or crash, but still. Its not excuse to baloon everything..
And here, is my memory stats, while writing reply:
Commit: 288.13M (1%); Free Memory: 15.43G (96%)
Swapping is perfectly fine for the case where an app that has remained unused for a significant period of time starts being used again. It may even be faster than having the app manually release all of the memory it’s allocated and then manually reallocating it all again on user input (which is presumably what the alternative would be, if the complaint is only about the app’s memory usage when in an inactive state).
Free RAM is just RAM that’s doing nothing useful. Better to fill it with cached application states until you run out.
loading story #43128831