logcat won't dump memory information for you. Your best bet is to do: "adb
shell dumpsys meminfo <pkg>" before and after your test.


On Sun, Jun 22, 2014 at 6:47 AM, vedantham udish <[email protected]> wrote:

> Hi,
>
> I have used UiAutomator to do perform some repetitive actions and after
> the end of the test I am capturing the logs using "adb logcat -d". My
> intention was to check the trend of the memory consumption by our app for
> the period of time for which my automated test got executed. But when I
> analyzed the logs, only one/two lines of memory related logs are captured.
> But when I simultaneously capture the logs while the test is running rather
> than dumping them after the execution, sufficient logs have been captured
> related to the memory consumption.
>
> Please let me know if this is expected. If there is a way, please do
> suggest a way using which I can use the "adb logcat -d" to dump the logs
>  along with the sufficient memory information.
>
> Thank you.
>
> --
> You received this message because you are subscribed to the Google Groups
> "adt-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to