Android studio的analyzer tasks能识别什么类型的内存泄漏呢
PHPz
PHPz 2017-04-18 09:14:55
0
2
616

Android studio的analyzer tasks能识别什么类型的内存泄漏呢
目前看到的是有Activity还有String的

PHPz
PHPz

学习是最好的投资!

reply all(2)
巴扎黑

Everyone is OK, or what types of memory leaks have you found that cannot be detected?

左手右手慢动作

There should be only one type, Activity leakage, that is, a static variable refers to the Activity object. If it has not been released when the Activity is destroyed, it is judged as a leak.
Others, for example, you can write a Bitmap management to keep all Bitmaps consistent. reference, and then does nothing and does not release it. This behavior can be understood as the design of your code, and it is impossible to judge whether it is a leak.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template