Tuesday, December 30, 2014

Android 5.0 Lollipop Bug 'Memory leak' To Receive Fix in Future Android Release

 
If you are currently running Android Lollipop then you might have experienced this memory leak issue, and it is inside the release ever since the release of the Android Lollipop developer preview version.
Multiple users have reported this issue at the AOSP issue tracker. The bug causing issues on many devices like range of Nexus devices such as Nexus 7 2012, Nexus 4, Nexus 5, Nexus 9, Nexus 10 and even Moto G 2nd Gen showing that Android system eating 1.2GB+ of RAM (normal usage is around 500MB).
This bug in the Android device drains out a huge amount of RAM, the launcher keeps redrawing randomly and background apps keep restarting.
According to a user, "I can also confirm this bug on my nexus 5. After some days of use when I go into settings to see the memory usage I find system just use 1GB memory!!! So without a restart I can only get about 400MB memory available to use. Apps on the background restart again and again, this is really annoying".
While there is no information as to what the reason for this bug is, a user seems to have found the memory leak in the system_server happens when the screen is turned on/off.
(frameworks/base/services/core/java/com/android/server/display/ColorFade.java).

The good news is, the status of this bug has been listed under 'FutureRelease' which means the next Android release will bring a fix for this issue. Currently, there is no information on what will be the next Android version or when the public roll-out is scheduled so just sit tight and wait for it.