Ask / Submit

[8.1]How to increase Android memory limit?

asked 2019-04-20 15:22:51 +0300

attah gravatar image

updated 2019-04-24 15:12:43 +0300

jiit gravatar image

I finally figured out what was causing memory-leak-like behaviour and keeping me from having the new Android runtime alive for more than a minute. I had 1500 stale unnamed contacts left over from failed google syncs. With those removed from the google account and contacs restored from backup i got a good day's Android usage. However, now after trying to install Firefox for Android, i'm back to looping. Not sure if processing the 50MB apk puts me over the limit, but the limit the logs keep complaining about is a measly 256MB. Any chance i could experiment with increasing that slightly?

edit retag flag offensive close delete



Well, after another round of nuking contacts.db, the runtime, even installing large apks, is back to working as intended. Let's see how long i can go if i don't even look at contact sync (even though the server is cleaned).

attah ( 2019-04-20 22:14:22 +0300 )edit

There is a bug report for this - the Google account in Sailfish causes memory leaks in Android. Removing the account completely from Sailfish (not disabling it) works around this issue. All installs work, Firefox works too. fixed a part of this leak, but Dalvik still crashes after several minutes on my phone. So now I use an Android mail client to avoid that.

Bundyo ( 2019-04-21 21:58:50 +0300 )edit

I guess the timing was purely coincidental (although it reproduced 4-5 times straight). It also appears to work mostly fine with contact sync disabled on the google account. However, i'm still curious about how to interact with settings like memory limits in the android container :)

attah ( 2019-04-22 15:47:46 +0300 )edit

1 Answer

Sort by » oldest newest most voted

answered 2019-04-23 11:17:23 +0300

Konn gravatar image

Thank you a million times!!! Was already looking forward to flash back to android. Switching of the contacts syncing, did the job...for now at least. =)

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools



Asked: 2019-04-20 15:22:51 +0300

Seen: 508 times

Last updated: Apr 23 '19