-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
High RAM usage for app:koverXmlReport command in multi-module Android project on Azure CI #712
Comments
Hi, could you please specify which command is running |
We are running it like this tasks: |
Do you have any observations at what stage exactly is the peak of memory consumption? The fact is that the Also, please double-check that the |
@CazimirRoman i found this article hope it helps. Experiencing high RAM usage when running the Potential Causes of High RAM Usage
Strategies to Reduce RAM Usage
Kover Configuration and Optimizations
By implementing these strategies and configurations, you should be able to manage and potentially reduce the high RAM usage associated with generating Kover reports in your multi-module Android project. |
@deep4nsh , thanks! Let me make a few comments
By itself, instrumentation does not bring much memory consumption to Gradle, because instrumentation occurs in the Java process in which the tests are run, this one ends after the tests are completed. Unfortunately, without profiling memory usage, it is difficult to say what exactly caused the memory overruns. |
We are using Kover in a multi-module Android project written in Kotlin and running our CI on Azure. We've observed a significant increase in RAM usage when running the app:koverXmlReport command. The CI is currently showing a peak RAM usage of 24GB, which is approximately 10GB higher compared to when we don't run the Kover report generation.
We have already attempted to exclude specific classes that are not relevant for code coverage analysis, but the RAM consumption remains the same.
Has anyone experienced similar high RAM usage with app:koverXmlReport in multi-module Android projects?
What are some potential causes for this high memory consumption?
What strategies can we use to reduce the RAM usage of the app:koverXmlReport command?
Are there any specific configurations or optimizations within Kover that can be applied to address this issue?
Any guidance or suggestions would be greatly appreciated. Thank you!
The text was updated successfully, but these errors were encountered: