0

When we have more than 150–200 automation test cases written for our application which takes around 1 to 1.5 hours to run completely. There we can face an issue of OOM (Out Of Memory) error while running test cases.

Tried solution methods :

  • Increasing the RAM size
  • Android Test Orchestrator
  • JacocoTestReport

**Increasing the RAM size : **

Increased the RAM size heap memory size in android studio but still it showing the out of memory exception while running the test case.

enter image description here

** Android Test Orchestrator : **

Implemented the orchestrator test case method. all test cases are running but all test cases are failing.

Reference Link : https://medium.com/globant/oom-out-of-memory-error-while-running-espresso-test-cases-power-of-android-test-orchestrator-721ac7012f86

**JacocoTestReport : **

Implemented the Jacoco test report while running the test cases. It throwing the out of memory exception while running the test case.

Reference Link : https://about.codecov.io/blog/code-coverage-for-android-development-using-kotlin-jacoco-github-actions-and-codecov/

enter image description here

Need to run all the testcases Without any error.

0 Answers0