android - How to optimize Memory leak in XML layout file -


i have developed android application , ran on nexus 5 device. analyzed memory leak using memory analyzer tool in android studio , found uses 30+ mb memory. after commenting setcontentview() oncreate() method activity class shows there 10mb difference .

how optimize memory leak caused xml layout files?


Comments