Android BitmapShader memory leak -
i've memory leak in android app, cause outofmemory exception. i've done memory analysis thought mat, , result there're ' 480 instances of "android.graphics.bitmapshader", loaded "" occupy 42,611,792 (81.71%) bytes.' i'm using lot of bitmaps , drawable, in whole project never use bitmapshader. guess how reduce number of objects or recycle them, if never instantiate no 1 of them. everyone
are using progressbar? noticed ton of bitmapshaders in mat application well, , of them retained progressbar instance. used dominator tree view, right-clicked on bitmapshader instance, choosing 'merge shortest paths gc roots' 'exclude weak references'. somewhere along hierarchy shows progressbar.
Comments
Post a Comment