BAD Nougat RAM management (all devices with pure android) - Xiaomi Redmi Note 3 Questions & Answers

Hi eveyone,
Title tells you everything. Why i made this conclusion? Because android nougat system uses all your RAM in vain.(I would like to mention that Linux os is famous for its low ram usage and fast ui so, google, why android is using so much RAM?) . Any installed app data which are stored on your Ram on a boot, so why apps are slowly opening,Why they are reloading everytime when switching back to that app? All apps which are running in multitasking mode(recents apps) when switching between apps , app is reloading but not switching to the last opened moment. Also there are some other bad behaviour like when youre updating your apps through google play store. If you switch to another app , google play app stops doing update process. These problems gets pixel and nexus devices and all devices which uses ROMs based on aosp or lineage.
I'm on a purenexus(aosp) rom and My device (kenzo)uses 1.8/1.8 GB of ram. It's a real problem. Comparing samsung galaxy s8 vs pixel device you can see what i'm talking about. (Youtube link is below) Why OEMs gets better results with their own UI and kernel customizations? Atleast, Can we get better Ram management on android o with stock kernel? I'm not talking about apple's iOS which is better in multitasking in any way..
https://youtu.be/UK8K-lhDFVw
I would like to get your opinion and suggestions how to improve RAM management on nougat. Atleast prove me that you don't have these my mentioned problems (please tell me your using ROM name, kernel and other mods you use).
Tried a lot ROMS but after some days of usage they end with poor ui performance with bad ram management behaviour..

Some saintly person with infinite knowledge is coming here to tell you that "free ram is wasted ram".
He won't care if your phone lags, apps reload and ui is unresponsive. He'll just repeat his favorite phrase.
"Free ram is wasted ram."
Let's see the first Saint's comment.
Oh and btw..
I'm facing the exact same problem. And I'm very pissed off with these saintly people repeating their favorite phrase. No solution found so far. Use greenify on as many apps as you can. It'll cause the problem to be a little more bearable.
Sent from my Redmi Note 3 using Tapatalk

Use custom kernel.
Also lately play services started hogging ram so I disabled some of the services :
https://www.dropbox.com/sh/ibsk0e1yens5suc/AACU4nhZGu0UuBcwHV1VT2pLa?dl=0
Third if you have social media apps running they are the culprit, my gfs s7e lagged with Facebook, Instagram, viber, whatsapp etc.
Greenify solved the issue.

1emrys1 said:
Some saintly person with infinite knowledge is coming here to tell you that "free ram is wasted ram".
He won't care if your phone lags, apps reload and ui is unresponsive. He'll just repeat his favorite phrase.
"Free ram is wasted ram."
Let's see the first Saint's comment.
Oh and btw..
I'm facing the exact same problem. And I'm very pissed off with these saintly people repeating their favorite phrase. No solution found so far. Use greenify on as many apps as you can. It'll cause the problem to be a little more bearable.
Sent from my Redmi Note 3 using Tapatalk
Click to expand...
Click to collapse
LOL so true, I was just thinking the same ? They'll say free ram is wasted but that's not true for a multitasker, like me, because I like to use 4 apps and be able to switch amongst them without reloading(I have 2GB variant)
Anyway, checkout my screenshot, I use greenify + 512mb zram(ElementalX kernel default settings)
P.s I'm on XenonHD

Never had such issue on any nougat rom. I use Resurrection remix 5.8.2 and Agni Kernel. Use Zram in kernel Auditor to boost performance little bit. I always have 700 to 800 free ram on 2g variant.

I set my LMK to 9-32-64-100-156-214 and I swear i can switch around with browser, facebook, message and gallery without reload anything . I'm on 2gb Kenzo with franco kernel

guys, use privacy guard / appops , and disable background working of unnecessary apps like

Solution: Root; tweak
A little bit of my story: Galaxy Tab S. What laptop (tablet - in the old days, laptops were great with that much ram, weren't they?) with 3 gb ram won't let you multitask?! When it was Kitkat, it was, well, alright. I upgraded to Marshmallow, and I was not able to multitask. Marshmallow on Galaxy J5 Prime leaves 800 MB without cache and over 1.2 GB without cache, out of 3 GB. Similar with Marshmallow/Tab S (+ overheating processor!). I mean what the ****? Is that planned obsolescence?
And now I am here, typing from Tab S, with: 5 tabs open in Chrome, 2 tabs in Xodo, Settings, Play Store, ES File Explorer, Task Bar (Braden Farmer) [at the least] - having changed to Lineage OS 14.1 (no good. by default), rooted and learnt about Low Memory Killer (in Deathly Adiutor); tweaked it and I have less than 300 MB free ram with cache and less than 875 MB free without cache. Yay! (Btw, the overheating problem is solved too by underclocking - to save battery and avoid overheating!) [I have spent at least two days testing out different OS and possibility-of-root and features.] So, this paragraph is my 2 cents.
Would like to hear from you if your problem is solved.
[PS: J5 Prime is still under warranty, and is used for basic functionalities - no problem there as of yet.]

I'm currently running RR nougat with randon kernel
The ram management is great i can swith fb ,youtube, chorme, mess without loading, but in long term the phone start slow, hang and battery drop super fast ( 5H SOT)
So i have to force 3 app running background to keep battery longer and stay away from lag.
Any ideas to keep great ram and free - lag ?!?
Tks in advance
Any idea

vkass said:
Use custom kernel.
Also lately play services started hogging ram so I disabled some of the services :
https://www.dropbox.com/sh/ibsk0e1yens5suc/AACU4nhZGu0UuBcwHV1VT2pLa?dl=0
Third if you have social media apps running they are the culprit, my gfs s7e lagged with Facebook, Instagram, viber, whatsapp etc.
Greenify solved the issue.
Click to expand...
Click to collapse
How do you disable the services?

mehrshad.shafaghi said:
How do you disable the services?
Click to expand...
Click to collapse
https://play.google.com/store/apps/details?id=cn.wq.disableservice

Related

SGS3 (i9300 Europe) on XXDLIB closes minimized apps

Hi.
First: I haven't found a thread which is only meant for my problem.
So: As written above, I'm on XXDLIB, but this behaviour is there in earlier JB releases, too (all WanamLite).
When I minimize an app (means: press home button in an app) it won't stay there long. It will be closed after a (volatile) period of time.
Example: I'm navigating and want to read something in (stock) browser. I read and minimize this app too.
I'll go back to navigation.
Afterwards I want to read my opened page (which should be in browser) and waht happens: the browser reloads the page and hasn't been listed in task manager (hold home button, left side).
So it has been closed.
First i thought that this is a out of memory issue. So I removed many apps that I don't need from /system/app and observed the memory usage then.
Same scenario as mentioned above: Navigation (Navigon) is opened, I open the browser, finish my navigation... and .. the browser is closed again.
This is vice versa: when I minimize my navigon app and use the browser for.... let's say 3 to 4 minutes the app will be closed.
Then I got deeper into it. I opened FM radio, browser, WhatsApp and evernote and minimized them, before I slept. No app with that great memory usage I would say.
But at morning ALL apps are closed.
For short: I HATE it. When I want to have my browser opened, it should be opened until I want to close it.
Sometimes I minimize my navigon app and I only need audio orders... unusable now, because the app closes very fast...
Same for browser: It eats my monthly provided data, because it reloads the last viewed page (its not reloaded from cache; with flight mode enabled there is only an error page).
It's no memory issue I would say. After opening all these mentioned apps I have more than 230 MB of free ram.
I know that wanam adds a modified services.jar with some kind of 'memory optimization script/code' from XDA devs.
But as far as I understand it, it should not lead to any closed apps.
As far as I can see, this problem is 'new' since JB (AOS 4.1.1).
In 4.0.4 it hasn't been there.
Anyone with the same problem?
Stock or mod?
Any suggestions?
I'm missing my S2... never had this kind of problems there...
Greetings,
Mario
EDIT: I'm using the newest apex launcher (free). I don't know if this could be important.
The issues you describing are present big time in ICS also. That's what I hate this phone.
I don't even think this is a Galaxy S III issue. It seems to be more of an issue with Android itself. I've noticed things like this with the pure stock android Galaxy Nexus and even on the US Galaxy S III which has a total of 1.6gb of ram available.
Mine keeps it in memory and when I return to it is still there as I left not re-started. In fact I just opened xda app after not using all day today but using many other apps it was still on the last thread I was reading. I'm running stock but rooted.
It's all about the RAM. More precisely about the amount of available RAM.
Get the free app 'Advanced Tools', go to 'options' and tick 'Root functions'.
Then go to 'System'->'System Manager'->LMKiller and configure the values.
They are thresholds, meaning that if this amount of total available RAM (disk cache deduced) has been reached, it will start killing apps off to free at least enough Ram to go above the threshold again. Lowering the values means it will only do it much later.
Make sure that you don't lower them too far, since a device running low on RAM uses the OOM-Killer to kill apps regardless of their status.
It should help to set the Dalik heap size to 128MB too, but some side effects with large games/apps have been reported.
I have also realised this problem as someone who comes from Samsung Galaxy S 2. Now I am on Omega Rom v27 and use hard swap, I should not be having this problem but no, I see that many apps are closed by system although I have huge ram available after some time. There must be a way to deal with it; I play with auto memory kill settings but have not seen a difference so far.
Regards
GT-I9300 cihazımdan Tapatalk 2 ile gönderildi
This is an Android issue even with GB, if the phone runs out of memory for the foreground process, it closes other processes in order to free up memory. However, what you're talking about (web browsing) if you're using Chrome I believe this is a chrome thing (does the page get greyed out?) Happens to me even if I leave the page on. For example:
Browsing, put phone aside, the phone automatically locks, as I unlock it does that. Doesn't bother me much though, as long as the page loads again normally. I haven't had any issue with the S3 concerning closing other applications for the foreground one.
d4fseeker said:
It's all about the RAM. More precisely about the amount of available RAM.
Get the free app 'Advanced Tools', go to 'options' and tick 'Root functions'.
Then go to 'System'->'System Manager'->LMKiller and configure the values.
They are thresholds, meaning that if this amount of total available RAM (disk cache deduced) has been reached, it will start killing apps off to free at least enough Ram to go above the threshold again. Lowering the values means it will only do it much later.
Make sure that you don't lower them too far, since a device running low on RAM uses the OOM-Killer to kill apps regardless of their status.
It should help to set the Dalik heap size to 128MB too, but some side effects with large games/apps have been reported.
Click to expand...
Click to collapse
Thanks. I will have a look - but I would say, its now memory issue, because of the free ram that is left.
Heapsize is at 128 MB, heapgrowlimit too. I played around with these values. Nothing helped.
I'll give a report tomorrow.
EDIT: On stock the heapsize is 256m. Why should someone *lower* this value, like wanam?
Any idea? I'm no programmer...
Removing the bloat helped here a lot and that change in the build.prop from 256 to 128m.
Delete kiesexe from system/bin if you don't use kies. Freeze all the Samsung applications and services. Finally don't use Supercharger.
Swyped on I9300 - XXDLIB - Siyah kernel - JKay & Thunderbolt tweaks.
To me, it happens randomly. Sometimes the browser just show the same page without reload even after a few days! But sometimes it just reload after receiving a call!!!
Is not big problem on a daily usage but is very very big problem when I'm downloading something and have to worry about incoming call.
Sent from my GT-I9300 using xda app-developers app
hey guys, it makes me miss my little "Eclair" or "Froyo" phone...
a phone with this huge capabilities can't have this type of issue...
im getting this issue when im playing and need to change a track in song player...
then it always restart the game and it sucksssssssssssssss!!!!! ;/
So, thank you all.
I increased heapsize to 276. Now the apps are hold longer in memory.
I observed something strange: When I use flight mode, apps are closed too... but thats ok.
im playing Football Manager Handheld
and it closes everytime too...
cant handle this!!!!
i want a phone that does the things correctly.....so sad!!
Ya this is really sad!!
We keep on saying how Android does true multitasking and all, but at the end of the day it's not getting done what we want to.
I was downloading Shadowgun the other night, and after about 50%, I got a msg so I pressed home button to go to the Msg app and then:
1) Home Redraw ..grrrrrrrrrrrr.
2) I replied back to text and opened the Shadogun from Recent Apps and the downloading had stopped.
Had to start it again.
WTF??
Why does android not kill the other useless cached things which is taking upto 300-400 mb ram.
Why does it have to kill Launcher and the latest foreground operation??? The worst kind of management ever!!
Why doesn't it kill Maps instead of Launcher. I've not touched maps in two days and it takes about same ram as my Launcher does??
It has got the sorting all wrong...I hate it...
I don't know how it is in iOS, but it couldn't be worse
d4fseeker said:
It's all about the RAM. More precisely about the amount of available RAM.
Get the free app 'Advanced Tools', go to 'options' and tick 'Root functions'.
Then go to 'System'->'System Manager'->LMKiller and configure the values.
They are thresholds, meaning that if this amount of total available RAM (disk cache deduced) has been reached, it will start killing apps off to free at least enough Ram to go above the threshold again. Lowering the values means it will only do it much later.
Make sure that you don't lower them too far, since a device running low on RAM uses the OOM-Killer to kill apps regardless of their status.
It should help to set the Dalik heap size to 128MB too, but some side effects with large games/apps have been reported.
Click to expand...
Click to collapse
Best reply in this thread. I have these settings :
LMkiller: 32/40/48/56/64/72
dalvik.vm.heapsize=256m
To fix launcher redraws, change it's OOM value. Supercharger V6 can help with that. Also debloated ROMs help a lot
j0ep0 said:
Best reply in this thread. I have these settings :
LMkiller: 32/40/48/56/64/72
dalvik.vm.heapsize=256m
To fix launcher redraws, change it's OOM value. Supercharger V6 can help with that. Also debloated ROMs help a lot
Click to expand...
Click to collapse
This is where Apple wins and Samsung fails.
So much just to make your phone smoothly, something Samsung should have done and not the user.
j0ep0 said:
Best reply in this thread. I have these settings :
LMkiller: 32/40/48/56/64/72
dalvik.vm.heapsize=256m
this settings will solve the problem????
if so, how to set up?????
Click to expand...
Click to collapse

[Q] ram managment

hi everyone
i've been using the d620r version for half a year now and there is a problem i see with the ram managment. the phone just can't keep a few tasks running at once. when i listen to music, or chat with chatheads (fb messenger) and open another app, for example maps, browser, or any game, the system simply closes the music and messenger apps running in the background. and i don't even want to mention the homescreen which reloads everytime i open the simplest app...
i am rooted, and this is what i've tried to do to solve my problems:
deleted lg the bloatware (like lg sync etc)
deleted google bloatware (google search, play games, play music, etc)
played around with auto memory manager (setting really low values so apps would not get killed)
tried to force ongoing notifications using the xposed module app settings
tweaked around with gl tools, to decrease graphics so apps would be lighter
decreased screen resolution using resolution changer pro (this helped but it made the phone and message apps to forceclose)
i even flashed another rom, the crystal PA 8 available here on xda.. this actually helped, there was much less closing, BUT the rom is too unstable and buggy for everyday use...
is there anything else i could do?
thanks a lot
I don't know about any other users but root takes something from performance, at least here (D618). What I suggest is: flash back stock, full wipe (KDZ), root but don't heavily use apps that require root, don't use a lot of xposed modules and etc. Hope it helps.
bombaglad said:
hi everyone
i've been using the d620r version for half a year now and there is a problem i see with the ram managment. the phone just can't keep a few tasks running at once. when i listen to music, or chat with chatheads (fb messenger) and open another app, for example maps, browser, or any game, the system simply closes the music and messenger apps running in the background. and i don't even want to mention the homescreen which reloads everytime i open the simplest app...
i am rooted, and this is what i've tried to do to solve my problems:
deleted lg the bloatware (like lg sync etc)
deleted google bloatware (google search, play games, play music, etc)
played around with auto memory manager (setting really low values so apps would not get killed)
tried to force ongoing notifications using the xposed module app settings
tweaked around with gl tools, to decrease graphics so apps would be lighter
decreased screen resolution using resolution changer pro (this helped but it made the phone and message apps to forceclose)
i even flashed another rom, the crystal PA 8 available here on xda.. this actually helped, there was much less closing, BUT the rom is too unstable and buggy for everyday use...
is there anything else i could do?
thanks a lot
Click to expand...
Click to collapse
make swap in cache partition because its so dumb to have that much free memory
and thats why apps are being killed
thanks for your opinion. actually, this problem occured even before i rooted the phone. right now, i'm back to stock. i hoped that maybe i could expand my ram using rohesoft swap expander but our kernel is not supported and i couldn't find any custom ones...
sebatox said:
make swap in cache partition because its so dumb to have that much free memory
and thats why apps are being killed
Click to expand...
Click to collapse
kernel doesn't support swap
oooh i was sooo wrong... the cache swap file works perfectly, the phone is much much smoother now
if anyone is experiencing the same issue, just download ram expander, choose the swap file location to cache and enjoy

[Q] RAM usage (memory leak/background RAM clearing)

Planning on buying the 4G model, but I'm a bit worried because it's got only 1GB RAM.
Is it enough? How much RAM is free on boot? Will it slow down/ clear apps if I use FB messenger, reddit, soundcloud and chrome? Not looking at running 5+ apps in the background, so will it do?
For me it is enougth, the only apps with usually the phone closes itself are games, everyone else didnt
JuanAG said:
For me it is enougth, the only apps with usually the phone closes itself are games, everyone else didnt
Click to expand...
Click to collapse
Do you multitask? How's the performance with 3-4 apps open?
I'm not a big multitasker, but I do cycle through apps a lot. Like I'll browse Facebook, then G+, then Twitter, then some websites, then maybe play a game or two. Even with heavy apps like Facebook and Clash of Clans recently open when I check the RAM I usually have around 34% free, and the phone is not sluggish. The only thing I do a lot is after I'm done with what I did I clear all apps from the recent apps menu. I don't like how 5.x stores so many snapshots of all the things I did. I like the old 4.x way where it only showed what apps you used, and not the exact place. I think if the phone slows down it's because of too many snapshots in the recent apps since it's holding all those in memory. Clear those, and the phone should get snappy again.
With the sotck rom i usually do because it doesnt have the clear all button like CM and it is very responsive and works fine, the unique apps who are disposed of the ram are games basically, firefox for example doesnt and it is a heavy app
I am happy, it is enough fast for me and i played so far everything i want
I am not happy. Usually my phone always have 200MB free ram but it closes simple applications as music players.
I was discussing that in this topic http://forum.xda-developers.com/moto-e-2015/help/bug-music-players-suddenly-close-t3114383

Apps keep closing on galaxy S3

Hello, I have a really frustrating problem with my galaxy S3.
All apps are closing when I am using them.
It started with Google Chrome that was closing after browsing the web for a few minutes but more and more apps keep closing.
I installed many different web browsers but they all do the same, they freeze and close.
Games and other demanding apps are also doing this, for example: Real Racing 3.
I am running Android 5.1.1 Cyanogenmod and I already tried multiple roms that all had this problem. (All clean installs and I did a factory reset before and after the flashing)
I was thinking of a ram issue (the s3 only got 1gb) I checked the ram usage and there is always about 200mb free ram.
Using Greenify didn't make the apps crash less but it did give me a battery boost.
I don't know anything about the kernel ram settings and I don't know if this can solve the issue.
Is there someone with the same problem or does someone know how to solve this?
Thank you in advance.
edit: i also tried freezing all user apps that are active in the background
I found a sort of solution to my problem, I downloaded the app: Lspeed and I did set the ram preset on "game mode".
Background apps close so I won't get any notifications but I can play games or use heavy apps.
It is not the best solution but I will have to deal with it due to the 1gb ram.

[Discussion][N950F] Official Oreo 8.0 slow and sluggish

Have any of you experienced problems with the official 8.0 ROM?I've been using it for a month now and I'm finding quite a few annoyances like :
1)A LOT of times when I multitask apps have to reload even though I have like half my RAM available.
2)Google Play store/Facebook/Reddit app scrolling is laggy the first 5 seconds after opening the app.
3)I get occasional crashes on apps like Instagam and Reddit.
4)Load times on apps in general seem a bit too slow.
That being said I'd like to clarify that I have like 15 apps installed on my phone and it's not been overloaded in any way.I even have BK Manager and have disabled quite a few of the unnecessary services that run in the background.Just overall disappointed with RAM management and overall speed of the device.
tanazzz said:
Have any of you experienced problems with the official 8.0 ROM?I've been using it for a month now and I'm finding quite a few annoyances like :
1)A LOT of times when I multitask apps have to reload even though I have like half my RAM available.
2)Google Play store/Facebook/Reddit app scrolling is laggy the first 5 seconds after opening the app.
3)I get occasional crashes on apps like Instagam and Reddit.
4)Load times on apps in general seem a bit too slow.
That being said I'd like to clarify that I have like 15 apps installed on my phone and it's not been overloaded in any way.I even have BK Manager and have disabled quite a few of the unnecessary services that run in the background.Just overall disappointed with RAM management and overall speed of the device.
Click to expand...
Click to collapse
I add that sometimes it locks up and restarts.
Enviado desde mi SM-N950F mediante Tapatalk
Maybe just wipe the phone before doing any updates ? So just backup your datas => wipe => and set it up again ! i'm pretty sure it gonna work
Just Backup all data. Do a factory reset from recovery. everything will be fine.
even i faced wierd issue.... suddenly phone froze and system ui got huge issue...

Categories

Resources