Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I test Memory leaks of my application in mobile device especially in iOS and Android? [closed]

I am a manual tester and don't any of the tool so I need to know how can we check memory leaks in mobile device itself. Or is there any other method to test it? without having the knowledge of coding.

like image 301
Kaivalya Avatar asked Dec 25 '22 09:12

Kaivalya


1 Answers

iOS

For iOS use Instruments. See Locating Memory Issues in Your App. Use the Leaks instrument of the Instruments analysis tool to find objects in your app that are no longer referenced and reachable.

enter image description here

Android

For Android use Eclipse Memory Analyzer Tool or Android Debug Monitor as described in Investigating Your RAM Usage

While using the tools described above, you should aggressively stress your app code and try forcing memory leaks. One way to provoke memory leaks in your app is to let it run for a while before inspecting the heap. Leaks will trickle up to the top of the allocations in the heap. However, the smaller the leak, the longer you need to run the app in order to see it.

enter image description here

like image 181
Rafa de King Avatar answered Dec 28 '22 08:12

Rafa de King