Skip to content

Increased memory usage after 2.0.1 bump on Android Gradle buildsΒ #22

@remcomokveld

Description

@remcomokveld

Last friday our CI suddenly started failing with Java heap space and it took a couple of days to figure out what was the cause.

After a lot of investigation it turns out that, because we were using the action as datadog/test-visibility-github-action@v2 our CI instances started pulling in 2.0.1 when it was released and apparently that adds so much memory overhead to the gradle daemon process that it suddenly didn't have enough RAM to execute the build.

Maybe this is expected because the javaagent is now added to more processes but I would not expect a monitoring tool to add that much overhead that a process which usually runs at ~9GB of RAM would start throwing OOM errors.

It's a bit of a mystery overall and hard to reproduce, but reverting back to 2.0.0 completely fixed the issue for us so it may be worth an further investigation.

Please let me know if I can help you in any way with the investigation

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions