Running out of RAM - Galaxy S II Q&A, Help & Troubleshooting

Hello,
Well I have a strange and frustrating problem with my galaxy S2.
First of all I am running Resurrection Remix 3.0.9 (will update soon) with Siyah kernel.
The problem also happened with another ROM so I don't think it is related to the ROM.
The problem is that I have to reboot my phone everyday (or my phone does it by itself).
If I check the memory usage then I can see that this is pretty high. Around 80%.
Normally this is around 40-50%.
The most frustrating is that after almost a day or half a day my phone will get very slow. Everything starts to lagg.
Example: when I browse on the internet scrolling will lagg and when I type text in swiftkey the keyboard will just dissapear randomly.
Also applications where I am working in will just close spontaneously without an error like I closed it.
When I want to open an application it takes an unusual amount of time to open. It is like the processor is very underclocked.
Sometimes it will reboot when I'm playing with my phone but only when it laggs and is running very slow.
I think this problem is due to high RAM usage caused by some memory leak?
How can I find out which app is taking so much ram? I checked a lot of task manager/task killers/memory boosters etc. and none of them shows and app with an unusual amount of RAM taken.
Thanks,
Melvin

Melvin v/d berg said:
Hello,
Well I have a strange and frustrating problem with my galaxy S2.
First of all I am running Resurrection Remix 3.0.9 (will update soon) with Siyah kernel.
The problem also happened with another ROM so I don't think it is related to the ROM.
The problem is that I have to reboot my phone everyday (or my phone does it by itself).
If I check the memory usage then I can see that this is pretty high. Around 80%.
Normally this is around 40-50%.
The most frustrating is that after almost a day or half a day my phone will get very slow. Everything starts to lagg.
Example: when I browse on the internet scrolling will lagg and when I type text in swiftkey the keyboard will just dissapear randomly.
Also applications where I am working in will just close spontaneously without an error like I closed it.
When I want to open an application it takes an unusual amount of time to open. It is like the processor is very underclocked.
Sometimes it will reboot when I'm playing with my phone but only when it laggs and is running very slow.
I think this problem is due to high RAM usage caused by some memory leak?
How can I find out which app is taking so much ram? I checked a lot of task manager/task killers/memory boosters etc. and none of them shows and app with an unusual amount of RAM taken.
Thanks,
Melvin
Click to expand...
Click to collapse
Thats a known issue with that version (RR3.0.9) ma8 upgrade it to V3.1.2 and the memmory leak will be gone for u

Related

[Q] GDI LAG?

I have a strange problem. My TG01 is very laggy in certain application. I cant use them, bacause scrolling is very choppy in them. So far i discovered that these are:
- parlingo contacts scrolling
- scroling content of email message
- scrolling in pocket informant
- scrolling in ptasks
- scrolling in spb mobile shell in star menu when using sense theme and changing desktops
I dont understand how is it possible that device with such a fast processor can behave like this. My another observation is that some of these issues sometimes disappear - I mean parlingo and email.
I tried diffirent roms and change some settings in registy (font cache) with no luck.
Do You have these problems too? Pliz help
Anyone? I recently tried throttle launcher and without hwarware acc i get 5-10 fps and with acceleration 15-20. It is unusable. I bought device with 1Ghz processor bacuase i wanted it to be fast!
Maybe power saving options?
SD card is slow?
Install programs to main memory instead.
Install Chain Fire 3D drivers.
Free up memory using Clean Ram program.
A list of things you can try.
Power saving settings are OK - best performance
Programs are installed to main memory but i do not think that this lag can be caused by slow sd card.
I had chainfire3d and clean ram but with no help.
Maybe everyone have this issues , but only I see them?
Mic43 said:
Power saving settings are OK - best performance
Programs are installed to main memory but i do not think that this lag can be caused by slow sd card.
I had chainfire3d and clean ram but with no help.
Maybe everyone have this issues , but only I see them?
Click to expand...
Click to collapse
you arent the only one! i suffer these problems as well on the email, i find it very annoying. none of those solutions provide a fix, anyone help?
I also noticed that this strange behaviour sometimes disappears and it runs quite smooth then. It runs smooth in email app for some time after soft reset.
I tried to run some benchmarks (2dmark) and i found that my results are 4-5 times lower than some another user of TG01 posting his results. But this results may not be connected to the lag I am seeing in other applications.
Mic43 said:
I also noticed that this strange behaviour sometimes disappears and it runs quite smooth then. It runs smooth in email app for some time after soft reset.
I tried to run some benchmarks (2dmark) and i found that my results are 4-5 times lower than some another user of TG01 posting his results. But this results may not be connected to the lag I am seeing in other applications.
Click to expand...
Click to collapse
yes, i notced this to after some soft resets. i only stared noticing these problems after i install htc sense. i don't really face the email problem that much any more, i use the htc email tab reader
still it would be nice to get a fix...

[Q] Lag Reasons, Solutions

I'm running stock 2.1 with JIT v2 enabled and SetCPU, but i've noticed an increase in Lag lately.
Is there a minimum of free space recommended for Android to run better? I've checked a few similar threads across xda and others but i couldn't find much useful information. My main memory currently has 100 MB and the sdcard 1,14 GB of free space.
Or maybe it's a cache issue? Never cleaned cache files before, can they actually cause lag? Hopefully is not the first signs of an incoming hardware fault.
Try using CacheMate and see...
a.monteiro said:
I'm running stock 2.1 with JIT v2 enabled and SetCPU, but i've noticed an increase in Lag lately.
Is there a minimum of free space recommended for Android to run better? I've checked a few similar threads across xda and others but i couldn't find much useful information. My main memory currently has 100 MB and the sdcard 1,14 GB of free space.
Or maybe it's a cache issue? Never cleaned cache files before, can they actually cause lag? Hopefully is not the first signs of an incoming hardware fault.
Click to expand...
Click to collapse
Laggy after JIT enabled?
Normaly,the phone will just lag for the first 30s-1 min after the booting.
After that,the phone would work like a charm.
Also,remember to maintain enough ram for you phone,kill unneccessery apps.
Also,check you SetCPU settings,I used the performance and set to highest frequency(not to worried the battery,my phone usually drops 2-3% for one light)
If problem continues,just reflash and problem should be solved.
cheers,
L
I have no idea what happened, phone was very slow for the last couple of days, but out of nowhere it simply got back to it's normal behaviour.
Since JIT my x10 has been working very smoothly, hence my surprise when things started stuttering like crazy, the only thing that made it lag like that was a beta for Fennec/Firefox i've tested, but that app was already uninstalled when the problem started.
My noob knowledge of the Android OS led to a conclusion that some app in the background was misbehaving and the system itself shut it down eventually. Does it make sense? Watchdog's last alert accused Pulse News, but nothing looked out of the ordinary.
It started again yesterday, this time i've got random boots as well. Uninstalled a bunch of apps and the difference in performance was instantly noticeable. I've removed Beautiful Widgets and Lookout, but the former is more likely to be the naughty app.
too bad i've payed for that crap.

Galaxy S3-Hopeless multitasking?

I did use the search function. There was a similar thread posted a day ago but I'd like to do a more in-depth query here. The more extensive one has been dormant since April so I figure that I might as well open a new one.
I'm sorry if this sounds like a rant, but I want to do a serious investigation of the multitasking woes in the S3.
Just some background of my experiences:
Having flashed the latest official (ending with MF6), I must say that multitasking is just atrocious and my apps close for every 3rd one I open. RAM is always full, and once cleared it is bogged down again. And again. And again. The iPhone 4, with 512 MB RAM, can manage better than this. The RAM heavy ones (Facebook, Chrome, YT, etc.) are the worst of all-as they close down even when you don't touch the phone for a period of time.
What exactly is using up my RAM? Please don't come back to me with the Free RAM=Wasted RAM argument. I have seen no speed improvement of apps "cached in memory" compared to those that I just opened up.
I remembered back in the days of the S2 release people called 1 GB RAM unnecessary, and to an extent this is true, as the S2 was able to do some serious multitasking of 8-9+ apps without having to close any of them. Other flagships (HTC Sensation) did fine with 768 MB RAM. Heck, the Galaxy S1 seemed fine with 512 MB RAM. The OS can run, camera works fine, I can play videos fine. So where exactly did this 512 MB of extra RAM go, when the Galaxy S3 is upped to 1 GB of RAM?
I have tried zRAM 300 MB, 400 MB, 600 MB. They all make the phone remarkably slow. Initially it does prove to be somewhat useful, but over time multitasking becomes completely hopeless again.
Is there ever going to be a solution to this, or do I really have to get a 2 GB RAM phone to actually be able to use it?
Well, mate, this has been discussed over and over as you may be aware. Honestly, i've lost hope for stock firmwares on multitasking. Some people swear by zram or even swap and while it does work i didn't find the results very good. Someone may come up with a more thorough explanation on how all the ram is being actually used (and it has been written already, i've seen it around) but at this point i just don't really care much.
Bottomline, you have 3 options:
- install some aosp rom and never see this problem again (some others may come up due to lack of sources for exynos)
- compromising speed for multitasking purposes with zram, swap and there were some atempts at plain better multitask management with supercharger and others
- ignore and live with it and try to change your phone for anything else asap - samsung botched this and is making no effort i can see for a fix. If they don't care about you it's only fair you don't care about them either.
I'm aiming for a nexus4 when i find one cheap around. Plenty of power, 2Gb, fastest updates in the business. Should come down in price even more when any new phones hit the market.
This is a really big issue with this phone.
First of all, don't compare it to the iphone, cause the iphone doesn't actually multitask as it freezes apps in the background.
Start downloading something with safari and open another app in iphone. Then the download stops until you switch back to safari.
iOs multitasking philosophie is completely different to android.
Now, having paid 600euros and being unable to multitask is really frustrating. I've tried several things like different roms, external swap, internal swap, zram blah blah.
The truth is that although the stock touchwiz roms offer stuff like multi-window, they are really REALLY laggy in my opinion. I once decided to flash a cm10.1 (aosp) based rom. I haven't regretted since. I felt as if i had a completely new phone. I suggest you try such a rom. you wont regret it.
Also, there are some apps that allow you to freeze background processes. I use Rom Toolbox pro for example and i have frozen many background apps so I've reduced the amount of ram being used. Search on xda, there is a thread about which backgroung services are safe to be frozen.
Also, use greenify. Greenify stops apps from running in the background when you dont need them. Maps for example keep running in the background consuming 20mb for no reason. Greenify such apps so that they consume your ram only when you need them to do so.
Plus, change your LMK settings. The Low Memory Killer is an android service that kills apps when the amount of ram falls beneath a limit. Use an app such as Rom Toolbox to lower your limits so that apps don't get closed so often.
Finally, try zram with the appropriate settings. I use Googy-Max kernel which has bult-in zram support. I use 600mb of zram with 80% swappiness.
Having these things altered i can run at least 5 apps simultaneously without any problems. For example i run facebook and messenger along with whatsapp and skype. When i open the browser to search for something, none of the other apps gets closed.
Ofcourse if you try to run many apps, you may experience app-closing or lags. But remember, the key, is to close apps that you dont need.
Also, if your phone feels laggy just reboot it. For the next 24 hours you ll be fine without any lags.
Hopeless multitasking continues even on CM11 4.4.4. I don't understand what the reason for bad multitasking. When I switch from Dolphin browser to any other app and come just after 5 seconds I find it killed. Even I can't upload a photo to a browser. While I am selecting the, browser page was shut down.

Stock 5.0.1: Looks like we got the well-known massive memory leak :/

I've noticed that Chrome dies every few minutes, (sometimes it can go 30+ minutes depending on what I'm doing.) Just yesterday when I was on KK, Chrome NEVER lost the tabs, even when I had 20+ of them.
I tend to stream talk radio/pod casts from websites, and up until now, it hasn't been a problem. This is actually a really big problem in the base Lollipop code. Is anyone else noticing this?
http://www.reddit.com/r/Nexus5/comments/2q6bed/lollipop_memory_leak_still_on_501/
I've rebooted my phone several times today, yet I'm at 1.2GB+ system usage, and 850MB+ app usage. I can't compare this to KK directly because I never once cared to check those metrics. This is making the phone quite unusable. I'm using the odexed stock ROM. This is fairly disappointing.
What android version is the LG update? Was the memory leak fixed in 5.0.2? Cuz I'm running bliss ROM, which I believe is 5.0.2, and don't seem to have memory leak issues.
Haven't noticed anything like what you're describing, but battery life is taking a major hit on 5.0.1. Eight hours at work on KK and the battery still had around ninety percent. The same thing on Lollipop and it's around sixty percent. This is just sitting in my pocket for all but 15 minutes or so during lunch.
Pierceye said:
Haven't noticed anything like what you're describing, but battery life is taking a major hit on 5.0.1. Eight hours at work on KK and the battery still had around ninety percent. The same thing on Lollipop and it's around sixty percent. This is just sitting in my pocket for all but 15 minutes or so during lunch.
Click to expand...
Click to collapse
From what I understand the bug persists in 5.0.2 but the ROM developer might have made some tweaks to mitigate the problem. Stock/OEM versions of 5.0.1 and 5.0.2 have this issue. My brother with a Sprint S5 is having the same problem. After a few hours of runtime, then you'll notice the home screen redrawing when you hit home... you'll notice your tabs in Chrome re-drawing as well. If you were streaming something like audio or video, then it dies in the background. People are also complaining that this happens with Google Music, and things of that nature. I haven't played around enough to see what all will close.
With bumped stock ROM, I never once had Chrome close in the background. At this point, I'm having a hard time seeing the benefits of LP over KK. A few fun things like unlock w/ BT connection, but what else? I see that framerate improved by about 20%, but didn't eliminate stutter completely from this phone. That's likely never going to be fixed, as it's a result of the 2K screen.
I also find it bizarre that I can CAUSE Chrome to die on-demand. If I'm listening to this particular podcast, and Chrome is the only app running in the background, then I go to Setttings > Apps > Running, within 5 seconds, the audio stops. Chrome dies. I see the System RAM usage drop from 1.5GB to 1.0GB. App usage stays around 800MB.
Rebooting the phone seems to help a bit, but it comes right back after I go through a few apps in normal use. On KK, I almost NEVER swiped away apps, or closed Chrome tabs. I only did that if I had clutter and I wanted things to be more neatly organized in the recent apps dialog.
Can anyone else try loading up a podcast like thebiggestproblemintheuniverse.com in Chrome/Chrome Beta, then using their phone like normal with this all in the background for a bit. Try going to Running apps and see if it kills/freezes the Chrome process.
ScrapMaker said:
Can anyone else try loading up a podcast like thebiggestproblemintheuniverse.com in Chrome/Chrome Beta, then using their phone like normal with this all in the background for a bit. Try going to Running apps and see if it kills/freezes the Chrome process.
Click to expand...
Click to collapse
So I went ahead and tried the above on my non-rooted / stock KK and as soon as I went into the Apps settings Chrome stopped playing the podcast and closed. I tried this multiple time and it happened each time. FYI - Am on Chrome V.40.0.2214.109.
ScrapMaker said:
I also find it bizarre that I can CAUSE Chrome to die on-demand. If I'm listening to this particular podcast, and Chrome is the only app running in the background, then I go to Setttings > Apps > Running, within 5 seconds, the audio stops. Chrome dies. I see the System RAM usage drop from 1.5GB to 1.0GB. App usage stays around 800MB.
Rebooting the phone seems to help a bit, but it comes right back after I go through a few apps in normal use. On KK, I almost NEVER swiped away apps, or closed Chrome tabs. I only did that if I had clutter and I wanted things to be more neatly organized in the recent apps dialog.
Can anyone else try loading up a podcast like thebiggestproblemintheuniverse.com in Chrome/Chrome Beta, then using their phone like normal with this all in the background for a bit. Try going to Running apps and see if it kills/freezes the Chrome process.
Click to expand...
Click to collapse
I'm rooted, L odexed, and on the latest Chrome beta and can confirm this happened exactly as you described. Within 2-3 seconds of going to running apps, the podcast died. When I opened chrome again, it came back to that web page but had to reload it.
Forgive me if I am entirely off base here as I am not a dev,
It was noted here: http://forum.xda-developers.com/g-watch/development/android-5-0-lollipop-memory-leak-fix-lg-t3030871
that the LG G watch suffered from the same thing, and from this git hub: https://github.com/temasek/android_...services/core/java/com/android/server/display
The dev made a patched services.jar, could this point in the right direction
To be fair, I never tried to go to the 'Running' apps while streaming on KK, because I never had a problem with the podcast stopping. It's possible that Android 'cheats' by clearing up RAM when you visit this page to make things look more efficient. That's actually kinda shady.

Nvidia Shield Tablet Rebooting/freezing

Since some days my tablet has been experiencing some slowdowns, and app lock ups. But no straightout freezes or reboots just yet.
Until today that is. My tablet starting to experience even greater slowdown, and apps really became unresponsive resulting in a reboot of the entire tablet.
Now this doesn't go away with each reboot, but sometimes it vanishes for a period of time. And If I look in advandes task manager sometimes the entire thing is EMPTY. which is weird because ther should always be apps in there. Or only 2 apps.
And the memory % still seems like a good amount of ram is in use..
So what im asking is what can you advice me to do?
Also im running a custom rom (i think?) can't remember. At the very least i rooted my tablet
How can i update to new Android OS rooted? Perhaps this will fix it.
Can I do this with a backup of my apps?

Categories

Resources