How to Bypass Swap Space Limit ?

  • Thread starter Thread starter Android Central Question
  • Start date Start date
A

Android Central Question

I am using Pixel Experience Rom on Xiaomi Redmi Note 4 with 64 GB ROM and 4 GB RAM. I wanted to run heavy games like PUBG on HD Graphics with High Frame rate on this device.
As obvious the game was lagging with that setting. So I installed Roehsoft Ram expander to get additional 4 GB of Virtual RAM. When I chose the option to create a Swap File of 4 GB in Roehsoft RAM expander it said "Kernel Swap Space Limit detected! Please reduce the Swapfile Size lower 1GB! and try
again! " I thought flashing a custom kernel like Franco Kernel would solve this problem but it didn't changed anything .

Anyone have any idea to Bypass this Swap Space limit ?
 
If the idea is to speed up your system by using virtual memory, I think that you'll be disappointed. Virtual memory is a way to supplement physical RAM with storage (disk) so a computer can have more apparent address space than it actually has. The consequence of using this method is that storage is always slower than RAM, and there's an overhead in CPU cycles while paging (it's not actually swap) to/from disk. Even solid state storage is a lot slower than RAM.

Android devices tend to load most or all of the apps installed, vs. regular computers that only load applications programs into memory when you open them. A RAM expander may be helpful if you have a ton of apps on your phone, but Android can handle the situation by itself.

Like I said, it'll slow the system down, not speed it up. But if you really want to try it, you should create and activate another swap partition on expansion media, like a microSD card. That's what they recommend. IMO that's preferable to potentially borking your system image trying to enlarge the swap partition on main storage.
 

Trending Posts

Forum statistics

Threads
956,121
Messages
6,966,685
Members
3,163,470
Latest member
thatbizarregal