Fix the Nexus 5 (5.0.1) Memory Leak Yourself

Issue #79729, “Memory Leak on Lollipop Crashing Apps,” has been tagged as fixed, and scheduled for a future release. However, that tag was added over a month ago, and many Nexus 5 owners (like myself) are growing frustrated with the lack of any sign of an OTA in the near future.

This is a very brief list of steps I’ve followed in order to mitigate the issue. It does not fix the underlying problem, but it does mitigate the biggest cause for noticing the memory leak: a long period of device uptime.

Root your Nexus 5 #

Install the helper app #

Mitigate the memory leak further #

The issue with the memory leak stems from certain parts of the system allocating large amounts of memory and not releasing them. One of the biggest culprits is overview, the renamed recent apps pane. Swiping quickly through the entirety of overview will cause a spike in system ram usage, causing the problem to reoccur if enough apps are open.

Mitigate use of this feature by only switching to the most recent stack of cards (say, the last five), or by opening apps from a launcher instead.

Conclusion #

With these precautions in place, I’ve yet to run into a time when my device has become unusable and required a reboot through daily use. This is far from ideal, but it does at least bring experience dramatically up from rebooting only when everything stops working correctly.

To a bright 5.1 OTA future, I hope your android experience improves a bit using this until then.

 
5
Kudos
 
5
Kudos

Now read this

CyberPatriot 8 Round 1 Score Analysis

For the past several years1, I’ve analyzed CyberPatriot2 competition rounds using a Pryaxis product called The Magi. This report covers the data The Magi collected during CyberPatriot 8 Round 1, during the entirety of the competition... Continue →