Unable to execute Sonar: Caused by: Java heap space
问题 I am using Sonar Runner 2.2 and set SONAR_RUNNER_OPTS=-Xmx8000m , but I am getting the following error: Final Memory: 17M/5389M INFO: ------------------------------------------------------------------------ ERROR: Error during Sonar runner execution ERROR: Unable to execute Sonar ERROR: Caused by: Java heap space How can this be? 回答1: I had the same problem and found a very different solution, perhaps because I don't believe any of the previous answers / comments. With 10 million lines of