Skip to content

chore: updated memory for sonar#2619

Draft
aryamohanan wants to merge 3 commits into
mainfrom
chore-sonar-mem
Draft

chore: updated memory for sonar#2619
aryamohanan wants to merge 3 commits into
mainfrom
chore-sonar-mem

Conversation

@aryamohanan

@aryamohanan aryamohanan commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

We're seeing an issue with SonarCloud coverage. PRs that have coverage enabled may fail with the following error:
The bridge server is unresponsive. It might be because you don't have enough memory.

Increases the memory available to the SonarCloud analysis step by:

Increasing the pod memory request to 6 GiB.

  • Setting NODE_OPTIONS=--max-old-space-size=6144 to increase the maximum heap size available to the Node.js process used by the Sonar scanner.

  • Setting SONAR_SCANNER_OPTS=-Xmx4g to increase the JVM heap size available to the Sonar Scanner.

These changes are intended to prevent out-of-memory conditions during analysis and improve the reliability of SonarCloud coverage processing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant