42

案例:隐秘而低调的内存泄露(OOM)-小强软件测试

 4 years ago
source link: https://blog.51cto.com/xqtesting/2402372
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
内存泄露测试的整个过程如下:在手机里启动被测APP并打开DDMS。在DDMS中选中【com.example.android.hcgallery】之后单击按钮【show heap updates】,然后切换到标签页【VM Heap】,再单击按钮【Cause GC】。不断操作APP,并观察Heap。经过一段时间的操作我们发现不论是%Used还是data object的Total Size都在不断增加,

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK