I tried to set up an open source project on https://sonarcloud.io/. It is hosted on GitLab and I use GitLab CI and Maven to analyze for SonarCloud. The project itself is written in Java.
After some problems with OutOfMemoryExceptions the Maven plugin almost succeeds. But after almost an hour it fails and prints out this error.
Since the project is open source, could you please provide the link to the Gitlab repo, and to the SonarCloud project? It may help a lot to investigate the build problem.
Thank you for your reply.
Here is the link to the GitLab project: https://gitlab.com/olatorg/OpenOLAT
There is one merge request in which I try to set up SonarCloud.
Thanks a lot.
I have been able to analyze the project. It took 6.6GB of memory, and 1 hour on an 8-core computer, with the default Sonar Way quality profiles for all languages.
It is likely that your build container runs out of memory and is killed.
Can you use a bigger container for the analysis?