MAT identifying a leak in UI elements I didn't create

186 views Asked by At

I ran MAT on my application to see if I can reduce memory leaks and `OutOfMemoryException's that are happening to my users.

I saw in the histogram that was generated by the tool that one of my activities wasn't cleared from memory even though I called finish and created no cyclic references that I was aware of. so I looked through all the incoming references excluding all soft/weak references and saw that there's an EditText that has no name and that I haven't put in the activity.

attached is a screenshot of the report.

please help me understand how to plug this leak.

MAT screenshot

0

There are 0 answers