[Q] RAM Usage - AT&T Samsung Galaxy Note 4

I've been noticing some slight lag in unlocking, the screen coming on, etc on my new Note 4 from time to time. I've found that going in the app switcher thing and clearing all remedies the issue for a bit.
I was curious recently and looked at the RAM usage in that screen and was surprised to see that ~2.1GB of RAM was being used, even after clearing all recent apps.
Is it normal for the thing to be using over 2GB of RAM at all times? This seems very strange to me.
Thoughts?

rmp5s said:
I've been noticing some slight lag in unlocking, the screen coming on, etc on my new Note 4 from time to time. I've found that going in the app switcher thing and clearing all remedies the issue for a bit.
I was curious recently and looked at the RAM usage in that screen and was surprised to see that ~2.1GB of RAM was being used, even after clearing all recent apps.
Is it normal for the thing to be using over 2GB of RAM at all times? This seems very strange to me.
Thoughts?
Click to expand...
Click to collapse
I'm pretty sure its normal because mine is also using 2GB after clearing all. After a reboot, it dropped to 1.6GB before manually launching any application. I'm pretty sure Android is designed this way.

The way android is made and runs, it uses almost all RAM at all times... Basically "unused RAM is wasted RAM." All of our phones have run this way since the time of I'm.
Now, with respect to lag, that's all the bloatware forcing itself to be the main process or close to it. Only way is to fully delete (not only disable) all of them and their underlying processes.
Sent from my SAMSUNG-SM-N910A

greekunit690 said:
The way android is made and runs, it uses almost all RAM at all times... Basically "unused RAM is wasted RAM." All of our phones have run this way since the time of I'm.
Now, with respect to lag, that's all the bloatware forcing itself to be the main process or close to it. Only way is to fully delete (not only disable) all of them and their underlying processes.
Sent from my SAMSUNG-SM-N910A
Click to expand...
Click to collapse
Thanks for the replies, guys. Just waiting on root, then bloatware will be gone.

greekunit690 said:
The way android is made and runs, it uses almost all RAM at all times... Basically "unused RAM is wasted RAM." All of our phones have run this way since the time of I'm.
Now, with respect to lag, that's all the bloatware forcing itself to be the main process or close to it. Only way is to fully delete (not only disable) all of them and their underlying processes.
Sent from my SAMSUNG-SM-N910A
Click to expand...
Click to collapse
Well said..

Only time I have lag on the lockscreen is with a sub par sd card. Once I got rid of that junker the lag went away. Try removing your SD card and see if that fixes the lag.

Related

[Q] Process lifetime

I was wondering if there's any way to prevent android from killing programs immediately after i press the home button or switch to other programs.
For example, I'm browsing the Web when an sms comes in. Using home button (long pressing) I switch the task to answer and when I come back, the browser is gone and i have to load the page again (although it reloads in the same state).
It's really annoying. Reloading a webpage is not a problem but what about playing games?
I'm running InsertCoin 1.5, have about 80- 90MB RAM unused. And I doubt that I had RAM shortage
Thanks for reply
Your brought up that old horse (debate) on why the android OS does or does not need task managers. Yes, the wonderful engineers at android, developed a platform unlike windows, manages processes (by some opinions) way better than Windows. When you switch screens, it freezes the process, and holds it until you come back. When the phone starts to run out of allocated memory, it starts to kill the (less used) processes.
Now, I've heard of allocation of process levels to cause some apps to continuous run, which would be an interesting development for some dev to take on. You can select what apps you'll like to constantly run even if you switch screens. This would help those who would want to quickly drain their battery for OS calibration purposes.
If I find such a solution, ill report back.
Sent from my HTC Vision using XDA Premium App
Android should never kill the 2nd process in line (aka the Browser when switching to SMS), unless you're extremely short on RAM. In low RAM conditions, it will kill the farthest from recently used app in order to free up RAM.
How often do you notice this? is it always killing the app you switch from? Because this isn't correct (unless you're literally out of RAM as I said).
martonikaj said:
Android should never kill the 2nd process in line (aka the Browser when switching to SMS), unless you're extremely short on RAM. In low RAM conditions, it will kill the farthest from recently used app in order to free up RAM.
How often do you notice this? is it always killing the app you switch from? Because this isn't correct (unless you're literally out of RAM as I said).
Click to expand...
Click to collapse
Like i said. I had plenty of free RAM. So it's unlikely that I have RAM shortage.
I spent the morning examined things. Just figured I it out:
Flash this over and I have 3 apps in line.
Combine with Perfect task switcher, I got what i wanted.
Also, I noticed that switching by long pressing HOME button and choosing apps cause the app to restart while using BACK button won't
I don't know if this is Android behavior or my device's issue
But anyway, I got it sorted out
Thanks you u guys
I'm running CM7. Long pressing home and switching between numerous apps I've never had an app close on me. Must be a ROM/device combination situation for you...

[Q] Clearing RAM

Whenever i clear the ram on the phone, it seems to move all the applications on my home screen around, making me put them into their places all over again. Anybody know why this is happening?
bump
bump
Well this is awkward a bit
Try to use the stock ram cleaner & tbh i never encounter that issue atall
Sent from my GT-N7100 using Tapatalk 2
that;s the one im using, the stock ram cleaner, when you hold down the home button, bottom left and click on RAM then clear memory. That's when it happens :S
http://www.youtube.com/watch?v=zCh7z5EwYF8
Know the Difference Between Good and Bad High RAM Usage
"Sometimes people like to panic when their computer's resources seem to be maxed out. While CPUs and hard disks may suffer from high usage, RAM doesn't necessarily slow down your computer when it appears to be running low."
http://lifehacker.com/5958598/know-the-difference-between-good-and-bad-high-ram-usage
Whether your RAM is full of cached files or completely empty, it's all available for programs that really need it. Cached data in your RAM is marked as low-priority, and it's instantly discarded as soon as the memory is needed for something else. Because this data can be instantly discarded when necessary, there's no disadvantage to using the RAM for cache. (The one potential disadvantage is users who don't understand what's going on becoming confused.)
Empty RAM is useless. It's not any faster for the computer to write data to empty RAM, nor does empty RAM use less power. In fact, assuming you're launching a program that may already be present in your RAM's file cache, programs will load much faster when your RAM is used rather than when it's empty.
LLanito said:
Whenever i clear the ram on the phone, it seems to move all the applications on my home screen around, making me put them into their places all over again. Anybody know why this is happening?
Click to expand...
Click to collapse
You mean to say it refreshes the whol3 screen after you clear ram?
sent from: The New S-Pen
tbh, when i cleared the ram, it would remove dolphin browser and the stock msg app into the all app folders for some reason. si id have to put them back to their place every time.
MohJee said:
http://www.youtube.com/watch?v=zCh7z5EwYF8
Click to expand...
Click to collapse
hahahahah wtf

UK G3 memory

Well I've got my g3 and after 2 days use I've noticed that with its 2gb memory it constantly uses 80% of it even on standby with no apps open. I did a factory reset and didn't install anything and it was still using 72% of the memory. Anyone else noticed this or is my phone faulty.......?
chrisbrew said:
Well I've got my g3 and after 2 days use I've noticed that with its 2gb memory it constantly uses 80% of it even on standby with no apps open. I did a factory reset and didn't install anything and it was still using 72% of the memory. Anyone else noticed this or is my phone faulty.......?
Click to expand...
Click to collapse
I think this is how Android works, it fills the memory then kills things it doesn't need. There's also ZRAM active in the kernel which uses roughly 25% of the memory as swap space.Heres a snippet from an article on Android RAM....
The problem is that Android uses RAM differently than, say, Windows. On Android, having your RAM nearly full is a*good*thing. It means that when you relaunch an app you've previously opened, the app launches quickly and returns to its previous state. So while Android actually uses RAM efficiently, most users see that their RAM is full and assume that's what's slowing down their phone. In reality, your CPU—which is only used by apps that are actually active—is almost always the bottleneck.
Sent from my LG-D855 using Tapatalk
Its not so much Android as how Linux manages memory. The memory usage indicated includes memory used for cached apps and information, or swap etc. In saying that LG's version of android does use more memory than stock AOSP android on say a nexus 5 (1.2gb~ on G3 compared to around 700mb on N5)
But the rule still stands true, used ram is better than unused ram.
free ram is wasted ram.
chrisbrew said:
Well I've got my g3 and after 2 days use I've noticed that with its 2gb memory it constantly uses 80% of it even on standby with no apps open. I did a factory reset and didn't install anything and it was still using 72% of the memory. Anyone else noticed this or is my phone faulty.......?
Click to expand...
Click to collapse
So? What's the problem? Using RAM is good, it's what it's here for. Android will try to keep in memory as many apps as possible, and when it's full, it'll start killing old apps to free ram for new ones. Don't worry about that, it's how it's supposed to work, and Android is very good at that. You should never have to worry about killing apps yourself, and you won't see any bad performance impact because of high RAM utilization. These "task killer" apps out there (including the default one on your phone) have only one valid use case: killing an app that's not responsive, in a connection loop, or that you wish to manually reset for any other reason.
Well thanks guys for your replies. Had no idea that's how android worked. Just goes to show you learn something new everyday.

Phone freezing twice or thrice a day ! Tried all reset options !

Hi All,
Anybody here with the same issue ?
Looks like a software issue/touch unresponsive issue because usually I find it coming back to normal once I press power button and unlock it again.
Sounds like RAM allocation issue, isn't ?
Thinking to sell it. Please suggest if you guys know a better way to deal with it !
Even if I go to SC, I cannot reproduce the issue at that particular time. They will just reset it and give me back, and that where I don't want to waste my time.
Does this looks fruitful to flash stock firmware again by the unbrick way ? I feel like that will be me last try.
You seem new here, so welcome on xda
One thing you should keep in mind is to be as precise as possible when presenting an issue, your description right now is not very clear, by the title it sounded like your phone actually froze, which could have been a ram or even a power management issue, but after reading your post it seems more likely that your display was wet, or that you were charging your phone, capacitive touchscreens are sensible to that.
Usually a frozen phone does not respond to the power button like yours did, and a ram issue seems very unlikely tbh
CriGiu said:
You seem new here, so welcome on xda
One thing you should keep in mind is to be as precise as possible when presenting an issue, your description right now is not very clear, by the title it sounded like your phone actually froze, which could have been a ram or even a power management issue, but after reading your post it seems more likely that your display was wet, or that you were charging your phone, capacitive touchscreens are sensible to that.
Usually a frozen phone does not respond to the power button like yours did, and a ram issue seems very unlikely tbh
Click to expand...
Click to collapse
My style of using I believe is the same and I had no such issues in my Cool 1 ever in an year. Was a lot better in every way. Picked it up because I loved the looks, but have lost my trust on Huawei. They really need a lot of improvement.
i am having the same issues as the OP (Although i don't know what he means by "going to the SC")
the phone just goes through moments of extreme lag for about 10-30 seconds, sometimes longer, and it makes the phone COMPLETELY unusable during those times. it happens at least once every other day or so, sometimes several times a day, and sometimes it only lasts about 10 seconds, although on a few occasions, it has lasted several minutes, the phone will "attempt" to respond to inputs, but it gets nowhere quick, opening apps i did not click on, closing apps that weren't open, black-screening, half-screening (app on half the screen), etc.. sometimes i have to just power cycle..
i have the exact same feeling as the OP in that i want to sell the phone. (although i type much better, i'll assume english is a second language for him/her)
i like EMUI a lot.. although i think i want a galaxy s8/s9 now.
BND-L24 HONOR 7X B140 no root
Tirken said:
i am having the same issues as the OP (Although i don't know what he means by "going to the SC")
the phone just goes through moments of extreme lag for about 10-30 seconds, sometimes longer, and it makes the phone COMPLETELY unusable during those times. it happens at least once every other day or so, sometimes several times a day, and sometimes it only lasts about 10 seconds, although on a few occasions, it has lasted several minutes, the phone will "attempt" to respond to inputs, but it gets nowhere quick, opening apps i did not click on, closing apps that weren't open, black-screening, half-screening (app on half the screen), etc.. sometimes i have to just power cycle..
i have the exact same feeling as the OP in that i want to sell the phone. (although i type much better, i'll assume english is a second language for him/her)
i like EMUI a lot.. although i think i want a galaxy s8/s9 now.
BND-L24 HONOR 7X B140 no root
Click to expand...
Click to collapse
Since yours is the us variant, I'm assuming you've got 3 gb of ram instead of 4 gb, in which case a ram issue seems much more likely.
Not much of an issue actually, just that you probably had lots of apps open at the same time, leading to almost full ram (so the system starts closing background and even foreground apps if needed, leading to the strange behaviour you noticed).
Just remember to close apps you don't use and you'll be fine
CriGiu said:
Just remember to close apps you don't use and you'll be fine
Click to expand...
Click to collapse
It's 2018 and I think the OP and I know how smartphones work. I am coming from a phone with 2GB RAM and it has no such issues, no matter how many apps and/or games are open. Google explicitly states that closing background apps is unnecessary, and I should think EMUI offers an improvement over stock Android, not a detrimental experience. However, if you are correct and it is the RAM, it is not acceptable and needs to be fixed or I'm buying a new phone from a different company. In today's world, phones will open links to Chrome and from Chrome open reddit, xda app, pinterest, link to Facebook, share to Twitter, etc etc.. every time I click on a button I should not be having to back track to make sure I only have a certain amount of apps open. Nougat limits max open apps to 20 BTW, marshmallow it was 30.. But RAM management CPU management should be better. If it's of any interest, my reported "free" ram always stays at or above 1-1.5GB so I don't think its ram.. CPU or software problem, possibly.. But my Temps are good as well. Yes it's the 3GB version
Just a quick thought of something you could check (I also have the US 3GB version and was experiencing the same issue). Open up Settings > Battery, and other the "Other" section click "Consumption". See if there's any apps there that are keeping the phone awake and preventing it from sleeping. I would get constant lag after only a few hours of use, and it was intermittent just like you're experiencing. I was about to send the phone back, but checked this setting first. Turns out, the CNN app was running the CPU at nearly 100% for hours on end and preventing the phone from deep sleeping. Once I uninstalled that app, I haven't had issues since then. Could be something similar, just a thought. YMMV.
And by the way, it's NOT the ram. 3GB is plenty. You can see how much is being used on the app select screen, and I've never used more than 1.5 with a ton of apps in the background.
Let me help you there guys....i got the US variant too and has these freezing and lags all over the place, what i discover and did was:
1- Not all the apps works well with the phone hardware(they told me that somewhere) so try to test the apps you put on the phone.
2-Delete all the unnecessary apps from emui, that will give you less lag.
3-Check the battery consuming apps like the guy said and if you want turn on the close apps on screen lock.
Now after all of these my phone have been moving better but the problem isnt the ram, is the software so wait a little more so they can fix this cause is really a good value phone
It has to be the RAM management. Huawei must have optimized the software for 4GB, and then released a US 3GB version without changing anything, so it's screwed up even though phone is showing lots of free RAM.
Wao man thats the best explanation for this problem thanks man
It isn't and never was a RAM thing. Android's memory management essentially force closes apps (but shows them in recents) if it needs more memory. Note there is no work involved in that and you'd never know it until you switch apps and it has to reload, shows logo, etc. Amazing how non-solutions we're brought up multiple times and even thanked. Insert that's-not-how-any-of-this-works meme.
deV14nt said:
It isn't and never was a RAM thing. Android's memory management essentially force closes apps (but shows them in recents) if it needs more memory. Note there is no work involved in that and you'd never know it until you switch apps and it has to reload, shows logo, etc. Amazing how non-solutions we're brought up multiple times and even thanked. Insert that's-not-how-any-of-this-works meme.
Click to expand...
Click to collapse
Well, yeah, ram issues nowadays should not be present, but I do speak on a basis, I have experienced bad performance and foreground apps getting killed on a nexus 5, which has 2 gb of ram and stock android. I have no idea what's emui's ram management policy, but on a scale, this would be the least likely cause for sure

RAM BOOST

Hi to everyone. I'm comming from OnePlus 5t and I don't have any experience with "Ram boost" that we have on Oneplus 7t (Settings/System)... Also I didn't find many explanations by searching (neither here on XDA nor at Google search).
So basically, how it work and is there any benefit except gaming, (and I don't use mobile for gaiming) in real life?
I can't recall is it On or Off by default?
And last but not least, how it's effect battery life?
Thank you.
From what I read, it works like windows superfetch.
When ram usage is not taxed, it will fill the free ram with apps it knows you use frequently. Presumably as with windows, it keeps them in an off state, but when you open the app, it doesn't need to load it in to ram from flash storage, so it can load much much quicker.
There won't be any battery drain.
When ram usage is needed by say a game, it'll kick these auto cached apps out.
I've been using the OP7T for close to a month. I've experienced lag while using various apps, and especially when switching between apps. Occasionally the system becomes temporarily unresponsive, and a handful of apps have crashed multiple times. My previous OP3 phone rarely lagged, even if I had tens of apps open. I've been using the RAM booster on the 7T, but today I spent some time removing and freezing apps that were consuming tens of MB of memory in the background.
personally I didn't had any glitch or lag... I didn't saw any different.
But I don't recall is it turned on or off by default.
Anyway thank you both for comments and making it more clear to.

Categories

Resources