sonar-runner运行时报:java.lang.OutOfMemoryError
修改内存设置:
sonar-runner-2.3\bin\sonar-runner.bat
中找到:
set JAVA_EXEC="%JAVA_HOME%\bin\java.exe"
修改为:
set JAVA_OPTS=-Xms256m -Xmx512m
set JAVA_EXEC="%JAVA_HOME%\bin\java.exe" %JAVA_OPTS%
sonar-runner运行时报:java.lang.OutOfMemoryError
修改内存设置:
sonar-runner-2.3\bin\sonar-runner.bat
中找到:
set JAVA_EXEC="%JAVA_HOME%\bin\java.exe"
修改为:
set JAVA_OPTS=-Xms256m -Xmx512m
set JAVA_EXEC="%JAVA_HOME%\bin\java.exe" %JAVA_OPTS%