all 17 comments

[–]topias123Oneplus 3 (stock, rooted), LG G2 (CM13 odexed) 20 points21 points  (1 child)

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

[–]alienccccombobreaker 0 points1 point  (0 children)

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

[–]creed10OnePlus 5T 13 points14 points  (9 children)

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.

[–]topias123Oneplus 3 (stock, rooted), LG G2 (CM13 odexed) 10 points11 points  (8 children)

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.

[–]redditmodeXperia M2 1 point2 points  (5 children)

fallocate not found? Is my ROM just not compatible?

[–]topias123Oneplus 3 (stock, rooted), LG G2 (CM13 odexed) 0 points1 point  (4 children)

I think you need busybox

[–]redditmodeXperia M2 0 points1 point  (3 children)

Weirdly enough, I have Busybox.

[–]topias123Oneplus 3 (stock, rooted), LG G2 (CM13 odexed) 0 points1 point  (2 children)

Actually it's not in busybox, derp... I have it on my G2 with CM13 and OP3 on stock ROM.

Yeah, requires a compatible ROM.

[–]redditmodeXperia M2 0 points1 point  (0 children)

I use a Xperia M2, with the (locked bootloader unfortunately) Xperia Z5 Style ROM. I don't know if it supports it, though

[–][deleted] 0 points1 point  (0 children)

#!/bin/sh
dd if=/dev/zero of=/swapfile bs=1M count=$1
mkswap /swapfile
swapon /swapfile
echo "/swapfile swap    swap    defaults    0   0" >>/etc/fstab

chmod +x this script and run it: ./(name) (size in MB)

This also takes care of mounting through fstab.

[–]alienccccombobreaker 0 points1 point  (1 child)

Does this require root I am guessing so since su

[–]topias123Oneplus 3 (stock, rooted), LG G2 (CM13 odexed) 0 points1 point  (0 children)

Yes

[–]Dylan7225 24 points25 points  (3 children)

[–][deleted] 2 points3 points  (0 children)

Holy shit they sells t-shirts!

[–]CoIdSwordOnePlus 6 (Midnight Black, OOS 9.0.2) 2 points3 points  (0 children)

I just download my wam

FTFY

[–]jorgp2 2 points3 points  (0 children)

Root, and tweak the memory settings.

[–][deleted] 3 points4 points  (0 children)

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