The 5.0.2 update is rolling out now. In the meantime, you can try enabling developer options then force GPU in 2d and limit background apps to four.
When you charge at night don't turn it off, just turn off the screen. The operating system does memory cleanup after midnight but only if the charger is connected. This bug is fixed on 5.0.2.