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

Popular posts from this blog

Change the color of an oval at click in Java AWT -

c# - Unity IoC Lifetime per HttpRequest for UserStore -

I am trying to solve the error message 'incompatible ranks 0 and 1 in assignment' in a fortran 95 program. -