Questions about Swap
First of all my device is not rooted, but I have ADB permission in some apps to monitor my resource usage (CPU, ram, swap, etc). These are my specs, I get these data from /proc/meminfo:
- RAM: 7.56 GB
- Swap: 4 GB (with no extended RAM)
- Swap: 6 GB (with extended RAM)
- I disabled extended RAM feature (it said can increase it by 4 GB)
I usually open a lot of apps especially browser with many tabs then I notice that my swap is at 100%. I got scared for a moment and begin to closing all apps to "reset" it. But then it got stuck at 60% swap usage.
So my question is:
- What happens in the background when the swap is at 100%? And is it okay?
- How to clean the swap without root or restart if it possible? And is it necessary?
- When I disable extended RAM, is that 4 GB only ZRAM?
- When I enable extended RAM, is my swap consists of 2 GB ZRAM + 4 GB Traditional swap?
- Should I turn on extended RAM based on my activity?