java.lang.reflect.ArtMethod objects are leaked in the memory in Android -
i got when checking memory leak leakcanary, there no info on it:
and when tried make dump in android studio memory monitor, found this:
could please give hint on "*.artmethod" class is?
just update have solved problem. found is, if use publisheradview load adrequest, memory leak happens.
then tried use applicationcontext context used when constructing publisheradview (it using activity context before), memory leak disappears.
by way, have tried things following:
adviewscontainer.removeallviews(); adview.setadlistener(null); adview.ondestroy(); adview = null;
but memory leak still there when using activity context.
Comments
Post a Comment