In Windows, it's possible to use SD card as RAM.
Is something similar possible in Android (with and without root)?
In Windows, it's possible to use SD card as RAM.
Is something similar possible in Android (with and without root)?
It's possible but I would not suggest you as the SD card is way too slow to use as RAM. You can use "ROEHSOFT RAM Expander (SWAP)" app on a rooted Android device to increase RAM.
Source: XDA Forums - [Guide] [RAM EXPANDER swap] Easiest Way To Increase Ram in Galaxy Y
mkswap once on SWAP partition or file and do swapon on every boot. But you correctly said that using SD card for SWAP is a really bad idea.
– Irfan Latif
Apr 26 '20 at 15:29
It's possbile. However SD Card is extremely slow, so Android don't use SD Card as a swap, using ZRAM instead
ZRAM will allocate a memory area as swap, compress unused allocated memory into this area;
ZRAM usually used on low-ram device.
However, ZRAM is battery consuming when you are in low memory situation;
If you ram is not enough, better policy is keeping as less backgourd application as possible by increasing LMK paramters;
Yes it is. As on Linux, it's called Swap. It might be useful on devices with minimal RAM (512MB and less), but unlinkely on those coming with 1GB and more.
There are apps available helping you to configure swapping. You find most of them searching for swapper.