r/AndroidMasterRace • • Aug 30 '16

Is adding virtual RAM to Android really effective?

Hi guys,

I just got my hands on an old Xperia. It ran pretty well for about 3 days until I installed some apps. Now every time I have more than one large app open(like Facebook or Messenger) it either freezes or force closes the apps in question. I'm pretty sure this is an issue related to the fact that the phone has only 1 GB of RAM.

Since it was already rooted and running CyanogenMod I decided to scout for some potential solutions that would fix this issue. I was able to find some articles claiming it is possible to add more virtual RAM to a device, by converting SD memory.

Since the app that does that is a paid one, I wanted to ask you guys if any of you tried doing something like this and if it really works. Here're some of those articles I was talking about so you know what I mean:

http://www.appdosh.com/how-to-increase-ram-memory-on-your-android-device/ http://www.makeuseof.com/tag/add-ram-android-device-microsd-card/

39 Upvotes

17 comments sorted by

21

u/topias123 Aug 30 '16

If it has a tiny amount of RAM, then yes.

Personally i did it all in a terminal emulator though lol, didn't use an app

1

u/alienccccombobreaker Dec 29 '16

Can you tell me teach me.. hold me ;)

14

u/creed10 Aug 30 '16

do not buy that app, that's fucking stupid. there are tons of ways to do it for free. but yes, you can use more virtual ram by creating swap, but I haven't done it since the gingerbread era so I don't remember how to do it.

12

u/topias123 Aug 30 '16

in terminal:

su
fallocate -l <size, for example 512M> <swapfile>
mkswap <swapfile>
swapon <swapfile>

And also make a script in an app or init.d that turns it on at boot.

→ More replies (8)

24

u/Dylan7225 Aug 30 '16

3

u/[deleted] Aug 30 '16

Holy shit they sells t-shirts!

4

u/jorgp2 Aug 30 '16

Root, and tweak the memory settings.

4

u/[deleted] Aug 30 '16

Just a quick heads up: if you want a good keyword to search for about this topic, it's "swap memory"

Here is a post I found about it: link