Template for a good new topic, formatted with Markdown:
-
ALM used (GitHub, Bitbucket Cloud, Azure DevOps)
Bitbucket -
CI system used (Bitbucket Cloud, Azure DevOps, Travis CI, Circle CI
Bitbucket Pipelines -
Scanner command used when applicable (private details masked)
pipelines:
default:
- step:
size: 2x
clone:
depth: full
name: SonarCloud
script:
- pipe: sonarsource/sonarcloud-scan:1.4.0
- pipe: sonarsource/sonarcloud-quality-gate:0.1.6 -
Languages of the repository
typescript -
Only if the SonarCloud project is public, the URL
- And if you need help with pull request decoration, then the URL to the PR too
-
Error observed (wrap logs/code around with triple quotes ``` for proper formatting)
ERROR: eslint-bridge Node.js process is unresponsive. This is most likely caused by process running out of memory. Consider setting sonar.javascript.node.maxspace to higher value (e.g. 4096).
java.lang.IllegalStateException: eslint-bridge is unresponsive
-
Steps to reproduce
Happens 50% of the time -
Potential workaround
probably increase sonar.javascript.node.maxspace -
description
We are fairly new to SonarCloud and are using it in a bitbucket-pipeline setup (see above). On a relatively small project (maybe 2k lines) we are getting this error quite regularily, which makes using sonarcloud quite unusable. We have already deviated from the stock pipelines template a bit by doubling the size of the available memory. Unfortunately, we have found no way to also set the mentioned
sonar.javascript.node.maxspace
variable.
Please advise