Skip to main content
8 events
when toggle format what by license comment
Dec 27, 2021 at 17:04 comment added Irfan Latif "why it would be detrimental to the Android system as a whole". Quoted from the link I provided above: "embedded system normally are reluctant to use eMMC or SDCard as swap because there is wear-leveling and latency issues" and "it sometime ends up making system very unresponsive caused by slow swap storage performance".
Dec 27, 2021 at 16:55 comment added Irfan Latif Some more details can be found in this answer and this comment.
Dec 27, 2021 at 16:55 comment added Irfan Latif As Robert said, saying that "Dalvik does not support swap space" does not make sense. Rather you can say that "Android does not support swap space". But it isn't true. Android is based on Linux kernel. And you can use a swap partition or swap file on Android exactly the same way as you'd do on a Linux PC. But you are correct in saying that Android devices by default do not use secondary storage for swap space. Instead engineers at Android decided to use ZRAM.
Dec 27, 2021 at 16:15 history edited francisRH CC BY-SA 4.0
added 165 characters in body
Dec 27, 2021 at 16:14 comment added francisRH @Robert thanks for the reply and explanation, I will edit the question to include the original question and exactly what was asked
Dec 27, 2021 at 15:16 comment added Robert Dalvik is the Android JVM (thus an program) and swap space is a feature of the OS. I a regular OS a program is never aware if it uses RAM or swap as the OS just provides memory. There are Android stock devices that are configured to have a small swap partition and of course a lot of custom ROMs make use of swap partitions. Therefore I am not sure what actually you are asking.
S Dec 27, 2021 at 14:28 review First questions
Jan 1, 2022 at 7:38
S Dec 27, 2021 at 14:28 history asked francisRH CC BY-SA 4.0