With release of Samsung S8/S8+ running Nougat we started getting few OOM crashes (mainly while our intent service is running), it is affecting about 1% of total S8 and S8+ users.
We have profiled our app and memory usage seems fine. Has anyone noticed strange behavior?
Same here. I think you posted on the Samsung forum as well, correct? We've run into a spike in OOMs across 3 android apps. These crashes are limited to the S8/S8+ running Nougat.
Confirmed issue OOM
I can confirm this issue, it only happens in some s8/ s8+ , when the app crashes the Free RAM is around 22%-40% bases on crashlytics data, and the free disk space teh average is around 80% , the funny thing is some users has 40% of free disk and when the crash happens they have 40%-50% of Free RAM.
I tried to reproduce the issue with my S8, i stressed the memory allocating a lot of memory using another app to have around 10% of free RAM memory and I could not reproduce the issue.
The crash is on more than 1k users :/
There is no stack trace because of the memory exception.
Any advice?
Thanks
Related
Hi,
I've noticed that over the course of a day, the memory consumption of the HD increases substantially... going up from about 30% to over 60% if I use it heavily. I imagine it has something to do with the different caches and the tweaks I've run (found on the forums) to increase performance. Is there a way to flush all caches so that I don't have to reset the device?
Thanks!
I'd like to know if anyone else is having this problem too.
After a fresh reboot my memory usage is about 30%. By the time Gyrator and TouchFlo restart it gets to about 40% where it stays.
However once I start using programs it will easily skyrocket to about 70%. Even if I close all the programs using taskmanager I will never recover more than about 2-3% of memory.
i use memmaid to free memory from time to time, but i we also backup a request for something that automaticly do that
shadow option for sktools made my hd to stuck so i rennounced to it
any ideeas?
now i don't know if this can affect battery performance but with computers the most efficient system is NOT the one with a lot of free ram, is the one that USES it totally... virtually having always ram at 99% would mean maximum performance... In other words: why do you want to flush the ram
This can not affect battery performance at all.
And it's totally normal to use ALL ram.
I guess you people grew up with normal Windows, that frees ram...
For example Linux has always used 99% RAM on your pc. It just uses all the free RAM as cache! So when there is more needed, it deletes some cache and allocates that RAM.
It is bad, very bad to waste memory by not using 100%. Using all memory for cache and only giving memory when it is needed is good for performance.
If you look at Vista, it does the same thing...
So it is normal behaviour, especially when you set all the caches high.
I use the SKTools application "FreeUP RAM" which does a sweep of RAM and normally saves about 5-10 mb.
BUT, I find I rarely need it as I don't seem to have any memory leak except with TomTom running.
i am not sure i can follow you
if i understand well, linux keem memory ocupied in order to fully use the whole capacity
but is not the case of windows, and sure is not the case of windows mobile
in my device, diferent processes and application take a slice of memory and does not release it even when you close them
so you end with a memory occupied 60, 70 even 80% despite the fact that you have nothing obviously running
because of that (not having enough free RAM), when you launch a new application, the HD became very slow or even stuck
correct me if i am wrong, but this is what i have noticed during the years of use of windows or windows mobile.
i am not computer literated so i might be wrong, though!
I also raise this problem here before, most expert's advise is that WM will manage memory itself, it is not necessary for us to do anything!!
I had tried to use memmaid, but it only free up 1-2M memory.
Back to the time when I use D810, if there are few MB left, I can't launch new application. Even when I close some and make free RAM left to 16+ MB, that program will still report out of memory........the only thing I can do is to soft reset.....
HD's RAM capacity is much better, but as time goes......maybe this problem will also happen!?!?
Sorry but not convinced. I agree that when in use 70-80% memory usage is not a problem. But when there are no programs running, then there is no reason to use ram.
Also on my previous wm6.1 device when you closed items in task manager it would restore ram. Sure not all of it but a good chunk of it. Heck, even on my previous HD using the task manager would free more ram.
The only thing that I can see that is different between my previous HD and this one is Tweak HD and the TouchFLO Calender. So I will try removing those first and see what happens,
Eventually, after flashing Laurentius's ROM, the problem went away almost completely. Have to say my memory usage is pretty stable now, at around 40-45% even after a day of full application and web use.
dunno personally i'd love to have a superfetch feature like in vista which keeps ram full
Higher memory usage causes minimal/neglectable effect on power consumption, RAM is powered as a whole, fractional/partial modes (where only used memory cells are powered) are not available on modern RAM chips. The CPU or DMA controller may use more power swapping memory data in and out as memory usage grows, however the increase is nothing in comparison with what the LCD backlight or loudspeaker would use.
I don't know what memory allocation method is used in Windows CE/Mobile, but regardless, being unable to start a new application while there are no other applications running in the background means that physical memory is depleted and this is not normal. OS may use RAM for caching/buffering to optimize performance, however memory allocated for optimizations should probably be released when it's required for other purposes. If this is not happening, than either OS lost track of allocated/unallocated memory or memory allocation approach is very inefficient and causes high fragmentation.
Here's a list of tools (for WinCE) that may also work on WinMo and help curious xda-devs figure out what's eating their memory...
http://blogs.msdn.com/ce_base/archive/2006/01/11/511883.aspx
Hello Guys
Can any one help and advice why A lot of Apps are opening and working in the mobile background spontaneously without being opened by me !!
And i have to use task killer app to kill these apps opening spontaneously and consuming memory !!
ROM MIUI 2.3.7
BR
It's just how android manages memory. Android Free memory is a wasted memory. So it uses almost all memory, yet when you really need it, all RAM is freed in an instant.
What about using CPU time and battery consumption when 35+ apps resides, can't really say..
The battery drain is too much high now on Android, i am charging the mobile about 3 times per day (due to my work nature --> calls, emails,...), while on windows mobile it was almost 1 time for the whole day, is this because the spontaneously opened apps in background or due to what ?
Hi.
So, I bought a Galaxy A5 2016 as my new daily driver. What a beautiful phone, really. Pretty fast, better than I expected, I must say. But things are not going so well.
I have a intense usage pattern. On the morning, I use Spotify (sth like 20-30 min), then e-mail sync through the day (every 5m) + browsing and messaging apps. Then, more 40m of Spotify. Everything seems in pair with other devices with similar price and hardware specs. Until today.
As my usage pattern reports, I always use Spotify for 20-30 mins every morning. Today, I was using it, and the song suddenly stopped. As a coincidence, my 3G connection is limited - so it's not operating on its normal speed, which roams about 3Mbps~5Mbps - so I thought that the connection was dropped. When I pressed the HOME button, nothing happened. The song suddenly stopped, along with the system. 10 seconds later, the song returned to play. Less than 5 minutes later, the same bug happened again - same MO. 10 seconds off, returns, didn't happen again. Tested Spotify on the afternoon (same conditions + SAMSUNG personal music player running together), didn't happen too.
Along with that, my RAM usage is pretty high. Besides my downloaded applications, the RAM is mostly consumed by the system itself - so maybe root will fix it. But I'd like to know if anyone ran into this abnormal RAM usage. I even thought about memory leak, but that seems a bit odd, since the memory leak stopped being reported in Android 5.1.
Has anyone ran into any of this issues before? Thanks in advance.
I have it for two days now, yup, ram is at least 80% when I clean up the memory.
It's also pretty hot during the lightest use, average temperature is 35C. When idle it's at least 28C. Anyway, glass backpanel feels really hot, is it normal?
What's your average temperature?
I also want to report that i have the same problem on my A510F on MM 6.0.1 (no root). I have disabled many apps like Skype, S-voice, all the microsoft apps and some system apps that could be disabled but pretty much nothing changed... My ram usage is always around 70%, if i clean it it goes down to 55%-60% but then it gets full again. This does have an impact on the overall performance since on heavy games and generally heavy usage, the phone lags and gets hot. I want to know if ROOTING the device and installing xposed modules and/or uninstalling much of the samsung crap will help the phone breath normally. Any answer or tip is welcome
I have at least 70% of RAM usage and i think it is ok... but there ia a problem over 85-90%: then I have almost same problem as you. It's my second A5 16 and still have this problem. I don't know what to do. This issue happens increasingly. I have 5.1.1 and still hope for removing this problem with marshmallow update.
Anyone more has this problem?
Any ideas what to do?
It makes this phone useless when happens so often![emoji35]
Skrobnięte z A5 '16
konar02 said:
I have at least 70% of RAM usage and i think it is ok... but there ia a problem over 85-90%: then I have almost same problem as you. It's my second A5 16 and still have this problem. I don't know what to do. This issue happens increasingly. I have 5.1.1 and still hope for removing this problem with marshmallow update.
Anyone more has this problem?
Any ideas what to do?
It makes this phone useless when happens so often![emoji35]
Skrobnięte z A5 '16
Click to expand...
Click to collapse
Same problems on MM too, 70-85% RAM usage...hope to solve in feature updates.
Sent from my SM-T560 using XDA-Developers mobile app
I don't see anything bad in usage above 85%, the problem is closing, crashing and lagging apps.
If MM (update for Europe/Poland) doesn't fix it I will probably sell this phone. It's unbelievable to crash apps during using just a 2 of them (in my case Spotify and instagram at top and a few used before).
Skrobnięte z A5 '16
Did anyone try to fix this problem by "turning off apps in background" in programist options?
I would really like to do that, but every time when I turn this option ON and go back to settings and again go to programist settings it is turned off again - can anyone try to do it on yours phone?
Skrobnięte z A5 '16
Mine is always around 55~60% but free RAM = wasted RAM in Android
More free RAM =/= Smoothness
My A5 2016 can multitask very well (Even with games!) and not much lags
So why some of A5's has so huge problems with ram managing?
Skrobnięte z A5 '16
Is there any stock Android like ROM available for Galaxy a5?
I get MM update yesterday, after 24 I can say my problem stops. Phone seem to be faster and don't get above 87% ram usage.
I didn't restore A5 16 to factory settings.
Skrobnięte z A5 '16
I have problem with level battery when Reach 5% my mobile trun off ??? Plz slov
@up
First thing which you should do is restoring to factory settings and then we will see.
Skrobnięte z A5 '16
did this happen after u do an update?
im using A5 (2016) for my daily driver.. using spotify a lot too when comutting. never failed me until now (4 month). in my region A5 still dont get MM yet. so i manually upgrade to ROM everymonth with russia region (MM). suprisingly samsung do apply 'android security update' every month for A series.
is ur device is locked by some carrier? AT-T /other? if not try flashing with Russia ROM. u can flash with odin. fear not, ur data & apps still intact. if u flash official fw with odin.
for ram usage, i think this is not a problem. the multitasking still flawless for 2GB of ram. the feature i like from this phone is the GPS. lock very fast. im glad buying this phone. the only downside for me is 'no notification led'
Hey xda-ers,
I have been plagued by this issue for quite some time and wanted to see if it was just me, or if others share my pain.
Since migrating to Nougat I have found that my phone starts to slow down and freeze after some usage. Typically after leaving some apps open.
The problem immediately goes away once i hit Clear All on the recents, thus I think it is a RAM issue.
In all kernerls or Roms I have tried the problem persists, even if selecting "Aggressive mode" for low memory killer.
I always thought that leaving apps open will not impact ram, as android "understands" theses are not being used (hence why all "ram managers" are just snake oil).
So is anyone else getting this slow down after a few hours of use?
Any tips/tricks to help with this?
TL;DR: how do i fix constant low memory on Nougat roms?
It must be a particular app/set of apps that would be causing this. I see from your signature that you are on Nitrogen OS, as am I. In my particular case, I have never seen more than 1.2GB RAM of the 1.8GB used, the usual average is more in the mid to high 800 Meg range. You could check for yourself in settings, under memory, the current usage is shown. There is a further sub menu in there that shows per app memory used. Check and see if you can identify the culprit.
P.S: I do use Greenify, maybe that keeps the RAM usage low? Maybe someone else can chime in with their usage as well.
Karan.S said:
It must be a particular app/set of apps that would be causing this. I see from your signature that you are on Nitrogen OS, as am I. In my particular case, I have never seen more than 1.2GB RAM of the 1.8GB used, the usual average is more in the mid to high 800 Meg range. You could check for yourself in settings, under memory, the current usage is shown. There is a further sub menu in there that shows per app memory used. Check and see if you can identify the culprit.
P.S: I do use Greenify, maybe that keeps the RAM usage low? Maybe someone else can chime in with their usage as well.
Click to expand...
Click to collapse
Hi, thanks for the reply.
I also use Greenify, and when checking the app usage (which i have monitored for a few months), I see that OS uses around 1.2, and chrome and other apps around 100-200mb each.
However, it seems that the moment I have less than 400mb "free" it starts to glitch.
Also, issue persists even with Tesla Rom (which is what i moved to a few months ago).
Maybe this is just the limit of the N4 with newer apps...
For me the android OS is currently around the 350MB mark. Tap on Android OS and see what is using the memory. Maybe the cache is running high for you?
I've got the six gig varient but I'm not getting more than a couple apps open at any given time. I used the stock kernel then flashed ex to see if it's better. I haven't noticed much different as far as ram goes is there anything I can do or flash to get the most out of the ram? Cheers
loulondono said:
I've got the six gig varient but I'm not getting more than a couple apps open at any given time. I used the stock kernel then flashed ex to see if it's better. I haven't noticed much different as far as ram goes is there anything I can do or flash to get the most out of the ram? Cheers
Click to expand...
Click to collapse
You have to disable battery optimization.
You also have to use the phone regularly with the apps you want to stay in memory because OnePlus added features called "Adaptive battery" and "Smart Boost" which take note of your usage habits and then stops removing those apps from memory. I have Fossil Hybrid smartwatch and when I first got the device it would kill my smartwatch app overnight because, OnePlus memory management. However, after about 2-3 days of restoring the application back on the device it stopped being killed overnight and now stays in memory unless I specifically remove it through the recents menu. Anyway, that's my two cents; do with that information what you will.