I'm running an automated test script using AndroidViewClient. I do several dumps in the script. The script is used for a speed/response time test on an android device and the test is run for n>300. I get the following error at run #150.
raise ValueError("received does not contain valid XML: " + receivedXml) ValueError: received does not contain valid XML: Killed
After some digging and monitoring the memory using "memory_profiler", The dump data seems to be stacking up on the memory and slow down the test and influence the test results.
1- Why do I get the error? 2- Where exactly the dump data is stored? 2- How to clear the memory every time I dump?