I have a process that keeps dying in the same place, and claims to be running out of memory, but I have a sneaking suspicion that it’s a red herring and that I’m eating up the memory it needs somewhere else. I’m curious what my options are for seeing memory used and released in real time. Does ADB have a monitor of some kind that I can watch?
TIA
I find the command line adb shell dumpsys meminfo ‘your apps package name’ useful. If you want see the info for all processes, use adb shell dumpsys meminfo. It’s probably worth piping the output to a text file, as there’s a lot of data of the form:
that comes back from a real device connected via the USB port