RAM usage - Samsung Galaxy S9 Questions & Answers

I noticed there was a lot of dropped frame rates while playing PUBG. So i quit and shut down all the apps. Ran the optimiser and to my surprise I was not able to get more than 700mb. I ran the optimiser few times. But to no use.
Do you know why this happens? This happens quite often now. The max i get is 748Mb.
I have battery saver mode on at all times that reduces background processes. I also put loads of apps to sleep in the settings. I have Sync switched off. The biggest application i have is PUBG. I do not have any crazy mods or apps that might need certain permissions.
I have nova launcher and i have just added fluid nav with ADB settings.
I have the usual apps like WhatsApp Instagram Skype Twitter YouTube and NO Facebook or messenger.
This started only after the ADB mod. But I don't think it causes this.
I restarted my phone and got back upto 1.3GB but it goes down in few hours.
Any suggestions? I will provide more info if needed. I tried providing as much as possible
Sent from my SM-G960F using Tapatalk

Related

Background-ed app eating CPU resources!

Hi,
We all knew that we should not use task killer to kill apps, because when we hit the back button, the app will not active anymore ... but it will still occupy some memory (RAM).
When Android OS needs more RAM it will remove in-active apps to free some.
Related article: http://geekfor.me/faq/you-shouldnt-be-using-a-task-killer-with-android/ (GOOD READ)
We should not panic when we see a huge list of apps when we start task killer.
Ok, got it there ...
Now, I installed this app called Quick System Info (FREE):
http://www.cyrket.com/p/android/org.uguess.android.sysinfo/
Which you can use to see what kind of processes are still running or apps that are still occupying RAM. It could show you the amount of RAM and CPU resources that are being used by each app.
So, I went to the Quick System Info -> Processes, hit the "menu" button -> Preferences and set like this:
- Update Speed = Low
- Show Memory Usage [checked]
- Show CPU Usage [checked]
- Sort by = CPU Usage
- Direction = Descending
Go back and watch ...
Surprisingly, I saw "Market" app is eating 1% CPU resources once in a while ... again and again ...
Hey, I thought it (Market app) is suspended in the background? I don't have it active, I pressed the back button when I finished with it.
Why is it eating 1% CPU from now an then in the background?
Obviously, this will drain battery power for something that I don't need.
Any thought?
I am now wondering if I install other kind of process monitoring app, and see if the suspended Quick System Info is also eating CPU resources
Why should we not use task killers? I`ve used them on android for the last year otherwise like you say background tasks use resources slowing up the system.
Obviously dont close any system important apps but I`m always closing down background apps that I no longer require.
1% every now and again? I really wouldn't worry about that to be perfectly honest. The impact on battery life will be incredibly small, so much so I doubt you'd even notice if you weren't watching it like a hawk.
By far the biggest drain on battery life remains all of the wireless stuff (wifi, bluetooth and 3G internet) followed closely by the screen itself. Turn those off when not in use and the miniscule drain of suspended tasks won't be an issue.
I'm sure if Google thought suspended tasks would be an important factor in battery drain they would've designed it differently to start with.
Read this article
http://geekfor.me/faq/you-shouldnt-be-using-a-task-killer-with-android/
paulruk said:
Why should we not use task killers? I`ve used them on android for the last year otherwise like you say background tasks use resources slowing up the system.
Obviously dont close any system important apps but I`m always closing down background apps that I no longer require.
Click to expand...
Click to collapse
It does every minute or so, and so far I found only this app (Market).
I just found out this morning before went to work, so I don't have time to inspect more.
Too bad I cannot see CPU TIME (the amount of time the process took 100% of cpu resources).
Noiz said:
1% every now and again? I really wouldn't worry about that to be perfectly honest. The impact on battery life will be incredibly small, so much so I doubt you'd even notice if you weren't watching it like a hawk.
By far the biggest drain on battery life remains all of the wireless stuff (wifi, bluetooth and 3G internet) followed closely by the screen itself. Turn those off when not in use and the miniscule drain of suspended tasks won't be an issue.
I'm sure if Google thought suspended tasks would be an important factor in battery drain they would've designed it differently to start with.
Click to expand...
Click to collapse
that 1% would be it occasionally checking in with the market to see if any updates have been released for the programs you have installed, so that it can give you a notification when the update is released.
i would imagine that is what it is anyway.
and yes, 1% every so often is negligible, and if you killed just that process, i doubt you would notice any difference.
gogol said:
Surprisingly, I saw "Market" app is eating 1% CPU resources once in a while ... again and again ...
Hey, I thought it (Market app) is suspended in the background? I don't have it active, I pressed the back button when I finished with it.
Why is it eating 1% CPU from now an then in the background?
Obviously, this will drain battery power for something that I don't need.
Any thought?
Click to expand...
Click to collapse
I am not sure about this..
Have you noticed that you will get a notification if there is an update to application that is installed in your phone?
I think the marketplace doesn't have a push notification yet. So it periodically will check whether there is any update to the installed application.
Allright, that might be it ... the Market is checking for apps aupdate.
And most probably 1% is not much (I don't know how to measure this and translate it to battery life time). 1% every minute ... hmmm
1 hour of 1% cpu per minute = X % of battery life.
If we have N processes?
N = email check, weather check, friendstream check, RSS check, whatnot check
I`ll give you an example why I use a task killer.
Sometimes I use an app that goes online every few minutes and notifies me of any updates. I can 100% be certain this app even when in the background uses enough cpu to cause the phone to slowdown. Dont ask me why, maybe bad programming but this is the exact reason why I need a task killer to get rid of it.
Once its gone the phone is fine again. it happends on a few apps I own, so when I finish with them, I kill them.
I wouldnt recommend a task killer that kills everything, you just need to be selective.
That is a perfect example for using task killer
What I wrote in the first post is about using task killer to just kill apps without knowing anything.
In the past, I just select all and KILL ... Then the HTC Sense got reloaded
I was scared it could corrupt my phone ... lol.
paulruk said:
I`ll give you an example why I use a task killer.
Sometimes I use an app that goes online every few minutes and notifies me of any updates. I can 100% be certain this app even when in the background uses enough cpu to cause the phone to slowdown. Dont ask me why, maybe bad programming but this is the exact reason why I need a task killer to get rid of it.
Once its gone the phone is fine again. it happends on a few apps I own, so when I finish with them, I kill them.
I wouldnt recommend a task killer that kills everything, you just need to be selective.
Click to expand...
Click to collapse
Yes thats a bit extreme killing everything.
I`ve also used startup auditor in the past. That stops some apps loading at startup , for example footprints, never use it so I kill it before it gets a chance to load up. Have to be careful what you limit though as some tasks are used by others.
That Startup Auditor is interesting, does it work as expected?
Or you encountered some quirks or issues with it?
Yeah, I don't quite like with the way Android startup (or HTC?), for example: FM radio ... it also started automatically after reboot.
paulruk said:
Yes thats a bit extreme killing everything.
I`ve also used startup auditor in the past. That stops some apps loading at startup , for example footprints, never use it so I kill it before it gets a chance to load up. Have to be careful what you limit though as some tasks are used by others.
Click to expand...
Click to collapse
gogol said:
That Startup Auditor is interesting, does it work as expected?
Or you encountered some quirks or issues with it?
Yeah, I don't quite like with the way Android startup (or HTC?), for example: FM radio ... it also started automatically after reboot.
Click to expand...
Click to collapse
Seems to work fine, not sure what help it is though hehe, in terms of speed/memory savings. I stop the radio , bluetooth,google talk and footprints. But I also use it to start some apps automatically.
I found this list of what you can/can`t disable. You can still run them after startup, just they wont load automatically when you start the phone.
safe
Google Partner Setup
Network Location (if not using apps which need geolocation regularly. ie. Gmaps, GeoTag, etc.)
Bluetooth Share (if not using BT device)
Email (if not using email service other than Gmail)
Messaging (if using 3rd party sms app, ie. Handcent SMS. or if infrequent texter)
Calendar (if calendar is not used regularly)
Calendar Storage (if calendar is not used regularly)
Voice Dialer (if not used)
Google Talk Service (if GTalk is not used regularly)
Maps (if GMaps is not used regularly)
unsafe
Clock
Media Storage
Android System
Gmail Storage
Sync Feeds
Dialer
System Updater (not sure about this one)
My Uploads (not sure about this one)
Download Manager (not sure about this one)

Incredible 2 and CPU Usage

This is my first post here!
So it looks like I may be having a problem with CPU usage and battery drain. My Incredible 2 was fine until this morning when a market update kicked in and started running the whole phone slow, and ate the battery life to 50% within a matter of 2 hours.
I'm not sure where to start with this phone - because I haven't found an app which can give me the list of running processes which are taking the most CPU resources so I can figure out what to kill (or what to remove). Can anyone recommend some tools?
settings>applications>running services. Elixir is a good app also to show you running services. You don't want to be killing apps a lot or often though, just battery draining or memory hogging ones.
Just an fyi...the recent Pandora update to version 1.5.9 to a performance hit on both of my DInc2's. Since uninstalling, performance is back to normal.
Ok - that's good info. The thing is, I never opened Pandora or played it, but I did have a widget on one of my panels (it was never active, either). I uninstalled it, but I can't tell if I'm back to normal yet . . .
By far the best app for this is called watchdog. Amazon had it as its free app of the day a few days ago. all it does is notify you wwhen an app is using more CPU % than it should. It's not a task killer. There's a lite version as well as a full one. I highly suggest it.
And by the way, welcome to XDA!
Sent from my ADR6350 using XDA Premium App
It looks like the process for HTC Mail is causing CPU drainage (I think it was com.htc.mail or something - I can't get it to reappear). I Force Stopped this process and amazingly, everything starts running smoother - panes switch like silk, scrolling is smooth, etc. This also appears to be what was draining the battery, as it quickly rose to the highest percentage of what was eating it.
The process gets restarted at some point because I've had to Force Stop it a few times already but at least it stays off for quite some time. So far, it's been about half a day since I had to kill it last.
The funny thing is - I can force stop it and still use all my HTC mail functions properly and they run quicker than ever.

Lag after 5.1.1 update

Hi, i dont remember there being much lag before updating yet now, opening apps or even trying to swipe between the pull down menu pages (battery, cinema mode & settings) for example sometimes takes a couple of seconds.
I've reset the watch to factory settings and uninstalled the app on my phone and reinstalled.
It feels like i need to reduce the animation times like i would in the phones developer settings.
Any suggestions?
I haven't seen anyone else on XDA or reddit with lag issues. If you can sideload a CPU profiler or otherwise monitor processor load, I would recommend making sure an app or system process isn't hogging all the CPU cycles. If there is no issue and the lag is still there, the only option might be to contact Sony support.
I could not use the watch lagged too much, restarted the watch and it seems better.

s-pen + Evernote sync ROM recomendation?

Hello,
I am using this old tablet with a 4.4. Rom with S-pen and Evernote sync. This lets me see evernote draws on Evernote Mac or PC application, just save it on Tablet, it will be available on PC.
I think this ROM is old and slow (and battery is drying very fast).
What ROM could you recommend me with Evernote sync notes? This is my only request...
Are you still using it? I keep using it ONLY for S-pen + evernote sync.
Thank you a lot
raultaboraz said:
Hello,
I am using this old tablet with a 4.4. Rom with S-pen and Evernote sync. This lets me see evernote draws on Evernote Mac or PC application, just save it on Tablet, it will be available on PC.
I think this ROM is old and slow (and battery is drying very fast).
What ROM could you recommend me with Evernote sync notes? This is my only request...
Are you still using it? I keep using it ONLY for S-pen + evernote sync.
Thank you a lot
Click to expand...
Click to collapse
I am on stock 4.4.2 with some customisations. I also run beoffla
Kernel for some added features. I get about 10 hrs of runtime on both tablets, and speed is about the same with any custom rom. It's all about what you do to keep apps from taking over, not the ROM. You can play with disable service, app ops, prevent run, and hosts file blocking, to clean up things and run lean. I also removed a few Samsung apps, Knox, some Google apps and sync stuff. Google is bad with hogging memory and running in background. Prevent running helps keep such background activities from occurring. Disable service will disable running and loaded services in apps. You would be amazed to find a lot of yank apps have a buht load of services for marketing and tracking. Like Amazon prime video is huge compared to SBS TV (austrailia) and itv (UK) which are subscription based.
Reason being for explaining about TV streaming apps... Comcast xfinity TV runs a wake up service that will wake up your device periodically for no apparent reason, when the freaking app is closed for some time.
Well that's the basics.... enjoy!
gooberdude said:
I am on stock 4.4.2 with some customisations. I also run beoffla
Kernel for some added features. I get about 10 hrs of runtime on both tablets, and speed is about the same with any custom rom. It's all about what you do to keep apps from taking over, not the ROM. You can play with disable service, app ops, prevent run, and hosts file blocking, to clean up things and run lean. I also removed a few Samsung apps, Knox, some Google apps and sync stuff. Google is bad with hogging memory and running in background. Prevent running helps keep such background activities from occurring. Disable service will disable running and loaded services in apps. You would be amazed to find a lot of yank apps have a buht load of services for marketing and tracking. Like Amazon prime video is huge compared to SBS TV (austrailia) and itv (UK) which are subscription based.
Reason being for explaining about TV streaming apps... Comcast xfinity TV runs a wake up service that will wake up your device periodically for no apparent reason, when the freaking app is closed for some time.
Well that's the basics.... enjoy!
Click to expand...
Click to collapse
thanks for your reply... However I have a set of tools on TASKER (auto plane mode with screen off, no data, no wifi...)... I also have Greenify kill all possible + Xpossed with boot ini modules control etc. So I think I have done all possible here... Maybe my battery is dead because years... maybe? Do you know any way for testing battery live status?
Thanks!
raultaboraz said:
thanks for your reply... However I have a set of tools on TASKER (auto plane mode with screen off, no data, no wifi...)... I also have Greenify kill all possible + Xpossed with boot ini modules control etc. So I think I have done all possible here... Maybe my battery is dead because years... maybe? Do you know any way for testing battery live status?
Thanks!
Click to expand...
Click to collapse
Don't use tasker and greenify. Both tools use too much cpu utilisation, and play around with memory. Tasker is only good for automating tasks that are difficult or time consuming to do when needed. Though I would run scripts for that and run them in SManager. SManager can be prevented to run, to keep it from loading into memory to run in background. Thus making it a 2 step automation tool that will not stay in memory.
It seems you have basic uses for the apps being used to make memory clean and such.
To prove my point... run OS manager soon after reboot.
Watch the process list for about 2 minutes, it will show what loads and uses cpu comparing to system processes. OS manager should be on top about 70% or more after 3 minutes.
Restart the tablet again, and run OS manager and touch misc
To watch uptime and compare core utilisation. I have minimum core use hit at 2 minutes, single core use at 3 minutes, and after 6 minutes i have 1 core at minimum speed.
As for processes my percentage with one core at minimum speed is about 8% to 9% at 200mhz or 16 to 17% 100mhz if using custom kernel.
Once you can verify you are within the ball park, then you can test with battery fully charged and plugged in with the screen set to stay on for 10 minutes with screen dim. Open settings and view battery. Wait a few minutes and touch the screen after unplugging.
View battery condition over time. I would check at 6 minutes and watch until battery drops to 99%. 8 minutes should be good. Below 6 minutes bad battery. This only works for top charge, as the battery will produce more charge per percent after top charge has depleted. I can get 1 hour for every 8% used, while working away with my tablet.

How to prevent apps from getting killed

Hi all,
I'm running several apps that should run all the time (AdGuard, Network Speed Meter) or for a long time (speed trap warner,...) but OxygenOS kills them after a certain period. Some of them restart automatically, some don't. Of course all of these apps are 'not battery optimized'. Is there any chance to prevent OxygenOS from killing them?
Are there custom ROMs that can overcome this problen?
I'm on the latest OxygenOS Pie Beta, but the behavior was similar on Android O...
Thanks a lot,
W
Did you try locking the app via recents menu?
Thank for the info, didn't know that.
Unfortunately it doesn't help, Adguard and the network monitor don't appear in recents. The speed trap warner automatically starts and stops when I'm in the car, i don't want to open recents manually every time.
Battery - Battery optimisation - Don't optimise
safwankatharudheen said:
Battery - Battery optimisation - Don't optimise
Click to expand...
Click to collapse
This is not changing anything,e ven with disable battery disabled, even with adaptative battery disabled.
I have the same problem. I have not found any solution whatsoever. This is really frustrating. I've made sure apps aren't optimized. Advanced optimization is disabled. Developer options background limit is at standard. I've pinned the apps in recent apps and it still happens. Apps get killed all the time.
For example,
1. I use Google Fit to start tracking a run. Within 10 minutes of tracking, the app is closed and workout not tracked. Its not even like i touched the phone and opened other apps during this.
2. I have VoIP account setup in the default dialer. Calls come through only 50% of the time cause the dialer is closed.
3. YouTube Music, constantly gets closed if i simply pause the music. Within 2 minutes, the app is closed.
4. Trying to transfer 15GB of files through Explorer app from phone to file server, never succeeds if i don't watch the app and keep the screen on.
5. Plex gets closed and therefore my photos don't auto backup with the phone is plugged in.
This is absolutely ridiculous! Why the hell a phone with 8GB of RAM is killing apps is beyond me!
Custom ROM on the same phone, like Lineage OS, no issues. Can have optimization on, battery manager on and all. In fact, battery life is better on custom when its not killing the apps! Seems to be the only solution until OOS can stop killing apps so aggressively.
M3drvr said:
I have the same problem. I have not found any solution whatsoever. This is really frustrating. I've made sure apps aren't optimized. Advanced optimization is disabled. Developer options background limit is at standard. I've pinned the apps in recent apps and it still happens. Apps get killed all the time.
For example,
1. I use Google Fit to start tracking a run. Within 10 minutes of tracking, the app is closed and workout not tracked. Its not even like i touched the phone and opened other apps during this.
2. I have VoIP account setup in the default dialer. Calls come through only 50% of the time cause the dialer is closed.
3. YouTube Music, constantly gets closed if i simply pause the music. Within 2 minutes, the app is closed.
4. Trying to transfer 15GB of files through Explorer app from phone to file server, never succeeds if i don't watch the app and keep the screen on.
5. Plex gets closed and therefore my photos don't auto backup with the phone is plugged in.
This is absolutely ridiculous! Why the hell a phone with 8GB of RAM is killing apps is beyond me!
Custom ROM on the same phone, like Lineage OS, no issues. Can have optimization on, battery manager on and all. In fact, battery life is better on custom when its not killing the apps! Seems to be the only solution until OOS can stop killing apps so aggressively.
Click to expand...
Click to collapse
My app is not killed when i lock it in the switch app menu
There's a whole website regarding that issue on several devices, maybe it helps: dontkillmyapp(dot)com/general#user-solution

Categories

Resources