Memory consumption with lollipop - Nexus 7 (2013) Q&A

My lollipop experience is this: battery life seems OK but less than I was getting with the elementalx kernel, the sound stutters especially when the screen is locked. Its pretty random but the buffer is underrunning at times. Which leads me to what's bugging me the most. With KitKat and the same apps installed I was getting roughly 800mb-1gb free of memory. With lollipop it starts out OK at boot but quickly starts eating up ram like candy. I've had Pandora force close in the background which is probably why I'm getting sound stutters because something is using memory and force closing services in the background. I'm using apex launcher and that constantly has to reload to. Before it very rarely reloaded. Also various widgets are having their services killed and I have to go and manually restart them. I've gone from 1gb free typically to like 3-400 mb free. Does L really use that much more ram? Also what about the damned "focus" on battery life they claimed? Its definitely worse here. Looks like this update was half baked if you ask me. I'm at least not getting horrible fps in games like some are claiming. And yeah the YouTube bug is really random and annoying. Anyone else have low memory issues??
Sent from my Nexus 7 using XDA Free mobile app

Same issue. But found the soultion
Facing the same issue. But what i came across is that maximum people who updated to lollipop via OTA are facing these.
Others who have side loaded it or flashed the new lollipop image are all fine. There are bugs in lollipop but atleast they are not facing the terrible issues like us. That battery life is insane , i cant use it as my daily driver with such pathetic battery life. But people who have updated it other than OTA are infact getting better battery than KitKat what Google claimed it to be.
Also the memory issue. Yes this is the main problem what we all OTA updaters are facing. This is called memory leak. I founded it over here. Few developers have explained it in detail - You should have a look.
They have suggested for a clean install of lollipop by complete flash or a factory reset. I have not done it yet. Too lazy to get the backup and all.
But have to try it as we are left with no other option. Check out this link for memory leak - tinyurl.com/pmjlol2

If you decide to install it yourself, use one of the current builds instead of the factory image. Google has pushed a few revisions out.

Related

Custom ROMS, Nexus Stutter in Operation and Play Store Installs?

Hey guys,
I've recently joined the Galaxy Nexus bandwagon from the Apple Crowd and I'm enjoying the experience thanks to the awesome community here.
However...
As soon as I got the phone I unlocked and rooted. I've been experimenting with Custom Roms, and I'm yet to find a completely smooth "lag free" experience.
What I mean by this, is that using (for example) Spotify and browsing around (nothing intensive) causes an occasional "skip" like you'd hear when your computer is low on memory/cpu cycles when listening to music. This happens in operation and in some ROMS when the screen is locked. I had a shot with Seeder which rinsed the battery and still had a small amount of skipping.
It really comes into its own when installing apps from the Play Store, the phone slows down to a crawl, even freezing for at least 10 seconds while it's sorting out the data, and then not fully going back to smooth after.
I've seen some people recommend going back to Stock, which is no fun, should I really go back to Stock to fix this issue?
What are the "perfect lag free" ROM/Kernel/CPU settings for the Galaxy Nexus that removes these stutters and provides a pure experience?
I understand that's a broad question, so what's your combo and is your experience totally smooth?
i've noticed this too while downloading something from the playstore or my dropbox account, it just lags like crazy. even on my N7 running Dirty AOKP, i just started having problems with that. no matter what i do kernel wise, it still lags. i guess the only way around this is to not use the phone while it's downloading something.
There is nothing you can do - it is related to the hardware of this device overall. The IO performance of this device sucks, plainly. About the maximum transfer speed of the internal SD is roughly 10mb/sec.. compare that to a typical consumer-grade SSD that can write around 200-300mb/sec with a 6gb/sec interface it really puts this in to perspective.. when you're downloading something from the play store it is writing to memory and then installing to SD almost simultaneously, which these operations take priority over the UI thread obviously.
We need higher performance memory and faster SD read/write speeds to overcome this bottleneck. I am unsure of the interface between the memory, sd to the CPU.
Stock ROM does not stutter that much. I'm using AOKP mr1 build5 and it's pretty close to stock when it comes to lag.
Seen some roms freezing for 5 seconds while using market intensively... Crazy
Better then the incredible

Lagging & Reloading Launcher

I know that's maybe a noob question but my phone had never been so slow and i don't know why is doing this..
I'm having some serious problem with my phone on every ROM that i try with Jelly Bean. I've tried stock, Linaro, Paranoid Android, Minco...but every rom behave the same. My phone it's really slow, can't load anything without lagging. I've also tried different kernel, obviously. I've made a video to explain this behaviour.
http://www.youtube.com/watch?v=48V93aSq9Z0
I don't know if it's just an old phone that needs to be replaced by the new nexus but..i remember that i was doing great with Jelly Bean; about that time i remember that i was surprised for performance improvements after ICS. I've tried to cut of all the sync applications (Currents first of all..) and tried to reduce apps to a minimum but i still got this lag. It's very annoying cause it happens every 5 mintues and i can barely use my phone.
You probably have a ****load of services running.
Sent from my Galaxy Nexus using Tapatalk 4 Beta
Actually for some reason I have been experiencing the same thing the past couple days and I watch my running services and apps like a hawk.
Nothing unusual, installed an app or two in that time frame and uninstalled again - nothing changed.
Looked at BBS logs and also nothing out of the ordinary. Something funky is going on for sure.
I am still convinced there is a memory leak in the UI somewhere since my "free memory" after a few days dwindles down to sometimes even under 100MB which I feel uncomfortable with.
After a fresh restart it sits over 300MB free and before this lag became more apparent it would always tune in around 200MB after a few days.
Now I restart every day, sometimes more than once a day just keep performance somewhat decent.
There's a memory leak in 4.2.x. Unless you restart your phone daily you'll get it. Try a 4.1.2 rom, it's Jellybean, but quick again.
no leaks here 4.2.2 axiom and rootbox
speedyink said:
There's a memory leak in 4.2.x. Unless you restart your phone daily you'll get it. Try a 4.1.2 rom, it's Jellybean, but quick again.
Click to expand...
Click to collapse
Rebooting the phone twice in a day fixed this issue for me , Also an Startup manager app to unload all **** apps that eats the ram
yep, i think that everyone is experiencing lag on 4.2.x roms... JB had never been so fast like 4.1...
There are plenty of thread with people complaining about this
guidocioni said:
yep, i think that everyone is experiencing lag on 4.2.x roms... JB had never been so fast like 4.1...
There are plenty of thread with people complaining about this
Click to expand...
Click to collapse
not me
:good:
OFF TOPIC
Resolution of the video in first post is huge
On topic. Seems like you have too much apps and proceses running at the same time.
Try reflashing your ROM and kernel, and start using Greenify for example
Godra said:
OFF TOPIC
Resolution of the video in first post is huge
On topic. Seems like you have too much apps and proceses running at the same time.
Try reflashing your ROM and kernel, and start using Greenify for example
Click to expand...
Click to collapse
O_0 ! ! 0_o!
Godra said:
OFF TOPIC
Resolution of the video in first post is huge
On topic. Seems like you have too much apps and proceses running at the same time.
Try reflashing your ROM and kernel, and start using Greenify for example
Click to expand...
Click to collapse
This.
Try greenify. Greenify some apps that are taking a lot of ram. If you have Facebook make sure you greenify that. It takes a hell lotta memory
Sent from my Galaxy Nexus using Tapatalk 2

[Q] Discussion about LG G3 android system

Hi to all of you. I recently did buy a LG G3 with KitKat 4.4.2. Phone is awesome, battery lasts a lot for this screen over a day and a half (medium usage), without lagginess, maybe after restart it takes about 1 second to find everything but generally i am very happy with my purchcase. I have some questions though. Recently i got a OTA update about sth vcalled 20e. Its an update ~555mb and after some search i found out that this is the Lollipop official firmware. After plugging my phone into the LG PC Suite, i found out that even a newer version is available the 20f firmware ~over 1gb. Here starts my questions. Is it worth to go from kitkat to jellybean? Or is it better to stick with kitkat until they fix all the bugs i found out on forums. (So far i saw battery doesnt last so long, wireless charging has problems, lte doesnt work on most devices, others said about lagginess, most apps do not work with the new ART system). So what are your thoughts about this? Also i want to remove some google apps like google drive, and i want to remove this McAfee. Is there any possible way to do that easily without ruining my phone?
SotosTzam said:
Hi to all of you. I recently did buy a LG G3 with KitKat 4.4.2. Phone is awesome, battery lasts a lot for this screen over a day and a half (medium usage), without lagginess, maybe after restart it takes about 1 second to find everything but generally i am very happy with my purchcase. I have some questions though. Recently i got a OTA update about sth vcalled 20e. Its an update ~555mb and after some search i found out that this is the Lollipop official firmware. After plugging my phone into the LG PC Suite, i found out that even a newer version is available the 20f firmware ~over 1gb. Here starts my questions. Is it worth to go from kitkat to jellybean? Or is it better to stick with kitkat until they fix all the bugs i found out on forums. (So far i saw battery doesnt last so long, wireless charging has problems, lte doesnt work on most devices, others said about lagginess, most apps do not work with the new ART system). So what are your thoughts about this? Also i want to remove some google apps like google drive, and i want to remove this McAfee. Is there any possible way to do that easily without ruining my phone?
Click to expand...
Click to collapse
Stay on 4.4.2. Most of your research is correct - 5.0 is laggy, drains battery faster, there is "while on wireless charger, screen turns itself on constanly after charge reached 100%" bug, etc.
No, on 5.0 you can delete mcafee only via code from their support. And there is no way to delete Gapps wout root, which can only be obtained by flashing prerooted rom.
About apps - 99.9% of apps do work with ART. However, some - like Webkit-based apps - do crash sometimes.
About lte - only affects people who bought phones that were intended for different region. Region can be changed, btw, so it's not a real problem - it's just a ton of n00bs whining about "bug" they brought on themselves.
YaDr said:
Stay on 4.4.2. Most of your research is correct - 5.0 is laggy, drains battery faster, there is "while on wireless charger, screen turns itself on constanly after charge reached 100%" bug, etc.
No, on 5.0 you can delete mcafee only via code from their support. And there is no way to delete Gapps wout root, which can only be obtained by flashing prerooted rom.
About apps - 99.9% of apps do work with ART. However, some - like Webkit-based apps - do crash sometimes.
About lte - only affects people who bought phones that were intended for different region. Region can be changed, btw, so it's not a real problem - it's just a ton of n00bs whining about "bug" they brought on themselves.
Click to expand...
Click to collapse
So you propose to stick with KitKat 4.4.2 and wait a couple of months until Lollipop gets better?, because i also heard the new art system is faster and more reliable. And generally the Lollipop is meant to be faster than kitkat. If you all advise me so, i will keep this thread open so that i can reply back or even ask more when the time comes
SotosTzam said:
So you propose to stick with KitKat 4.4.2 and wait a couple of months until Lollipop gets better?, because i also heard the new art system is faster and more reliable. And generally the Lollipop is meant to be faster than kitkat. If you all advise me so, i will keep this thread open so that i can reply back or even ask more when the time comes
Click to expand...
Click to collapse
Well, i do advise to stick to 4.4.2 until LG fixes 5.0. However, there are thousands of members on xda. You may want to hear other's opinions before deciding anything.
P.S.: ART is faster than dalvik, there is no compilation-in-runtime overhead.
I'd wait and see if it eventually gets to 5.0.2. In earlier versions of LP, there is a memory leak that causes the system to slow down after awhile. 5.0.2 apparently fixes this. However, I have 5.0.2 on my Nexus 7 tablet and after awhile, I still notice performance issues that require a reboot, so I don't know if they really have the memory leak fixed or not. That's a pretty nasty bug that needs to be fixed before I install it on this phone.
Currently, KK runs great. And, if you want the LP look, you can do a few things:
Install Nova launcher and switch to LP icons
Install Xposed (which won't work on LP) and there is an Xposed module to give you the LP nav bar icons
KK on this phone runs great for me. No issues and I have no reason to go to LP at this time. Until they get the memory leak fixed, no dice for me. I love having a phone that doesn't require a reboot.
Agreed with most of the above. I actually upgraded mine to Lollipop. The experience was horrific. I went back to Kitkat and absolutely have no issues with the phone. It's a dream compared to Lollipop.
I also rooted and use the Tweaksbox to add lollipop styling. I won't be moving to lollipop again any time soon.
SotosTzam said:
Hi to all of you. I recently did buy a LG G3 with KitKat 4.4.2. Phone is awesome, battery lasts a lot for this screen over a day and a half (medium usage), without lagginess, maybe after restart it takes about 1 second to find everything but generally i am very happy with my purchcase. I have some questions though. Recently i got a OTA update about sth vcalled 20e. Its an update ~555mb and after some search i found out that this is the Lollipop official firmware. After plugging my phone into the LG PC Suite, i found out that even a newer version is available the 20f firmware ~over 1gb. Here starts my questions. Is it worth to go from kitkat to jellybean? Or is it better to stick with kitkat until they fix all the bugs i found out on forums. (So far i saw battery doesnt last so long, wireless charging has problems, lte doesnt work on most devices, others said about lagginess, most apps do not work with the new ART system). So what are your thoughts about this? Also i want to remove some google apps like google drive, and i want to remove this McAfee. Is there any possible way to do that easily without ruining my phone?
Click to expand...
Click to collapse
My advice is go for it. In my experience with the lollipop update all those little hick ups that appear occasionally (especially in animations and while pulling down notification bar) are gone. Lollipop is fluid and smooth, and rock stable. So far i haven't faced any FCs, glitches etc.. Everything is working fine (well, at least on my phone) and better than what it used to be on kitkat. Battery life is as good, if not even slightly better on lollipop.
I came from a nexus 5, and have been a nexus user for the last 3 generations, so i have high standards when it comes to lag and performance.
P.s. i have the 32gb/3gb RAM and i'm on stock firmware.
As an answer from LG Hellas, i got this: That the phone is working whole better and faster than kitkat (as lollipop), and that all errors are fixed. Also the lollipop update can use the whole processing power of the phone and as a result toghether with the art system, the phone is working better and faster with less battery drain than before. Also downgrading to their lg shops costs :/ . That was their answer to me.
I have a question for you guys. When i play a song sometimes particular songs show wrong album arts. And the correct are blurry. What size should i make them in order to show as good quality?
EDIT
Anything from 1000x1000 up to whatever you like you have some decent and good quality on any song. Because i found a problem and i think many of you out there have this problem as well. If some album arts display wrong, change that track's album to something.

A discussion about RAM

Let me preface this by saying that this is in no way a device comparison thread.
Now that that's out of the way, I want to talk about the RAM. We have 4GB. I have noticed that if I have a web page open in the browser I can go back to it at any time without it having to reload. This is killer!. I have been wanting that for so long. My Nexus 6 can do that up to a point, but even it will start refreshing after a while. I have yet to see the Zenfone 2 do it once. The frustrating thing is, I have a GS6 also and it will do that after only a few apps are opened. It's one of the things I really hate about that phone and which makes it irritating to use.
Here's the thing: Both the GS6 and Asus are running earlier versions of Lollipop, before the memory issues were supposedly fixed. I'm pretty sure that Samsung just has some super aggressive memory management going on. But why doesn't the Zenfone 2 suffer from the memory leak? Why is it not having the same RAM issues that the Nexus 6 had on 5.0? I suppose Zen UI could have something to do with it, but none of the other OEMs have been able to fix the RAM issues with their overlays. Is it just the sheer amount of RAM that makes it less noticeable?
Sound off. Either way, I'm thrilled with the performance of this phone.
My zenfone 2 is getting delivered today. I'm VERY much looking forward to Android 5.1 on it. When my Nexus 5 went from 5 to 5.1, it was sooo much better. I'm expecting the zenfone 2, s6, etc, to see similar improvements.
nathan118 said:
My zenone 2 is getting delivered today. I'm VERY much looking forward to Android 5.1 on it. When my Nexus 5 went from 5 to 5.1, it was sooo much better. I'm expecting the zenfone 2, s6, etc, to see similar improvements.
Click to expand...
Click to collapse
5.1 Made my Nexus 6 a totally different phone. But the Zenfone 2 is really solid right now. While I'm sure that 5.1 will only make it better (especially the "all cores at once" change), I have zero complaints about performance with this phone.
Combination of Clean Boost thing, as well as a massive amount of RAM.
When I'm idle, I hang around 1.3GB RAM used. I can leave a ton of stuff open in the background for immediate opening and I still only hit around 2.5GB RAM usage. I imagine playing huge games will eat up the rest. The management along with the amount is what makes it so smooth and easy to multitask.
Zenfone 2 will soon get a 5.1 upgrade with a 64 bit os which will make the device a god Eagerly waiting for the 5.1 upgrade. The only thing i wish for is to see some Aosp roms like cm, pa on this device.
Mrinal Roy said:
Zenfone 2 will soon get a 5.1 upgrade with a 64 bit os which will make the device a god Eagerly waiting for the 5.1 upgrade. The only thing i wish for is to see some Aosp roms like cm, pa on this device.
Click to expand...
Click to collapse
Where has ASUS said 5.1 upgrade will bring 64bit OS?
Mrinal Roy said:
Zenfone 2 will soon get a 5.1 upgrade with a 64 bit os which will make the device a god Eagerly waiting for the 5.1 upgrade. The only thing i wish for is to see some Aosp roms like cm, pa on this device.
Click to expand...
Click to collapse
Razr-i has a CM (port) rom out.. Only thing I've done with it so far is pull a few apks (ex: calculator) and binaries (ex: htop) off of it
I can totally notice the ram leak, my ZF2 ram idles around about 2+gb out of the box. Because it has so much ram you will not notice it.. my nexus 6 with the ram leak patch idles at 1.3gb.. I can only imagine the beast of a fine this will really be.. But I cannot complain, my ZF2 was free thanks the North America launch event asus gave away the 64gb model.
It is possible they included a patch for the memory leak prior to release of their phone. Either that or it some how doesn't apply to the intel atom processor and how it may handle ram.
Strange... I'm on the 2 GB version, and I have constant problems with apps getting closed, presumably due to swapping. Sometimes it gets so bad that even opening Chrome will close out every other app. Normally, I can't seem to keep more than a couple apps open before they start getting swapped out - maybe Hangouts and my podcast app. Is anyone else seeing similar behavior, and/or have a workaround? The "boost" function doesn't seem to do much to help.
dustbuster said:
Strange... I'm on the 2 GB version, and I have constant problems with apps getting closed, presumably due to swapping. Sometimes it gets so bad that even opening Chrome will close out every other app. Normally, I can't seem to keep more than a couple apps open before they start getting swapped out - maybe Hangouts and my podcast app. Is anyone else seeing similar behavior, and/or have a workaround? The "boost" function doesn't seem to do much to help.
Click to expand...
Click to collapse
Are you rooted? I got rid of all the bloatware, installed greenify, disabled a bunch of non essential apps from starting using auto-start, and I'm not having any issues at all. I have the 2 GB version as well.
Unlocked, Insecure boot, rooted, all the junk uninstalled.
1.0GB RAM usage after the phone being on for ~16 hours.
151MB Cached
2.6GB Free
See attachment
With messaging, books, and email open...stock. There is still a memory leak issue, the only thing is with the 4 gig version you have so much available most cannot tell a difference.
Kernel has KSM support, and init scripts reference a missing init.ksm.rc.
Per https://source.android.com/devices/tech/ram/low-ram.html, the normal settings are:
write /sys/kernel/mm/ksm/pages_to_scan 100
write /sys/kernel/mm/ksm/sleep_millisecs 500
write /sys/kernel/mm/ksm/run 1
Personally, I don't have any complaints about battery life on the zf2, so ymmv with drain from ksm.
Normally saves around 100-150MB, a few times upwards of 300MB. But regardless, this bandaid will not help if you're still barely afloat even after discounting cache.
Can either unpack boot.img and modify the ramdisk (now that bootloader can be unlocked) or use an app / init.d script.
Kernel Adiutor https://play.google.com/store/apps/details?id=com.grarak.kerneladiutor works well
dustbuster said:
Strange... I'm on the 2 GB version, and I have constant problems with apps getting closed, presumably due to swapping. Sometimes it gets so bad that even opening Chrome will close out every other app. Normally, I can't seem to keep more than a couple apps open before they start getting swapped out - maybe Hangouts and my podcast app. Is anyone else seeing similar behavior, and/or have a workaround? The "boost" function doesn't seem to do much to help.
Click to expand...
Click to collapse
I face the same problem.... Asus needs to fix it soon.....
After rooting and removing crapware, I see apps getting closed down after opening 2-3 other apps. Really annoying, and not something I'm accustomed to coming from the OnePlus One, Nexus 5, or even the Nexus 4.

[DISCUSSION] Android OS (Kernel) Battery and RAM usage

Hey there!
I have a ZE551ML (2.3GHz/64GB/4GB). Like most of the Zenfone 2 users, I have had two major issues on this phone. The battery drainage and the RAM leakage, both caused by the dreaded Android OS.
Earlier we blamed it on the 5.0 Stock Lollipop firmware, hoping it will get fixed with Marshmallow. But now on the beta MM, I continue to have the same issues (I cleaned flashed).
But thanks to Marshmallow's new Memory manager, I saw that the kernel has taken up almost 1GB of the RAM. (For comparison, the OnePlus One MM drains around 200MB). And I'm sure, whatever causes this to happen is also the culprit behind the Android OS battery drainage.
Now maybe, we could blame it on the Intel CPU, since most apps are optimized for Snapdragon devices. But then, wouldn't it affect all the Zenfone 2s with Intel CPUs? Why is it that some have excellent kernel performance?
Since I'm not a developer, I couldn't dig more into the situation, but I hope some developer will see this and help us out. It's a wonderful phone except for the Kernel hogging up the battery and the RAM.
That's all folks!
I leave stock for CyanogenMod about 1 month (right before beta tester receive MM test) and I think kernel isn't a big problem. The problem is the UI. And it bloatware. I have to disable almost every bloatware (since I didn't root)
Android 5.0 itself having memory bug that using a lot of RAM for animation, turn off transition animation in developer setting to mitigate this problem, and it can be fix with an optimize. But I don't know why ASUS don't fix it.
And another RAM hogging is ZenUI Launcher. A lot of useless function that you don't really need, and it may use up to 300mb of RAM. And it may make kernel use more RAM. Try to use a different lightweight launcher for a while (1 day or maybe few day).
When you reboot your phone, ZenUI Launcher using 30-40mb of RAM, but the more you use, the more it hogging your RAM. You can really tell it by using for a while and after running some casual apps like Facebook or Messenger, ZenUI launcher will have to reload everything, and gaming, it usually have to reload the game when I have to listen/make a phone call or reply a message.
Sometimes you receive some warning/suggestion like: "Something leaked? Protect your privacy now!", and this is the most useless and tricky function when it suggest you to install CM Security or something Security which is actually quite useless and it may/will steal something from your phone.
I'm using CyanogenMod, and it kernel source provided by ASUS. And developers make it great. There are some bugs, but acceptable and usable. When I go to CM, I could play games and use Facebook or do something elsse at the same time which I couldn't do at stock.
ASUS could make their phone better, but no, they have to sell something, and it's the next generation. The Zenfone 3. They have to make people thinking: "My phone is slow, I have to buy a new one, and yeah, I like this ZenUI, and Zenfone 3 is here, price also pretty good, I will get that Zenfone 3".

Categories

Resources