A shortcoming of Android 5.0 Lollipop was the memory leaks issue. While most of the memory leaks have fixed in the Android 5.1 update, majority of devices have not received the update yet. If your phone is running on the Android 5.0.x Lollipop and find memory leak issue, you can fix it with an Xposed module. This module fixes the ColorFade memory leak bug on phones running Android 5.0.x Lollipop.
Memory leaks are not uncommon in any operating system, including the Android OS. It happens to some extent in all software releases, but in Android 5.0, the problem was more than enough and the OS fails to clear up the memory automatically in certain conditions. Google has fixed this issue in the latest Android 5.1 update.
Tech Savvy users can fix the ColorFade memory leak bug with an Xposed module on phone running Android 5.0.x Lollipop. This module supports only ASOP ROM and may not work properly on phones with customized Lollipop ROM such as Samsung Galaxy, HTC, LG, etc.
As you know, for installing the ‘Fix Lollipop Memory Leak’ module, your phone must be rooted and Xposed Framework Installer must be installed on it. Read on to know how to install Xposed Framework on Android 5.0 Lollipop.
Once the Xposed Framework is installed, download the module [HERE] and install it. Launch the Xposed Installer and go to the “Modules” section. Enable the module by checking the checkbox and reboot your phone. (Source – XDA)