Comment on Why doesn't Android save app memory into storage instead of killing the process in RAM?
Magister@lemmy.world 2 weeks agoYup, it’s common on chinese phone/tablet where they advertised things with 16GB of ram while it’s 8+8. First thing I disabled on my first phone that supported this fake RAM. This would be slow and kill your flash.
Lojcs@piefed.social 2 weeks ago
You wouldn’t gain anything speed or durability wise from disabling swap. Normal ram is always the priority if it is available, so any time the phone retrieves data from the swap it avoids having to relaunch an app killed due to memory pressure, which would take longer. As Android is already pretty aggressive about killing apps to save battery, in the majority of cases the swap would be used to ease the blow of a sudden, memory intensive task like high resolution video editing.
Let’s assume the phone storage can take 256 read write cycles (which is a low estimate). Considering that phones have at least 256 gigs of storage nowadays that gives an allowance of 18 gigs written per day for a phone with 10 year lifespan. Considering that I very rarely change the contents of the storage and the memory will likely not spill over by that amount every single day, it’s safe to say flash health isn’t a concern.