์œˆ๋„์šฐ์—์„œ ์†Œ๋‚˜ํ๋ธŒ ์„œ๋ฒ„๋ฅผ ์‹คํ–‰์‹œํ‚ค๊ธฐ ์œ„ํ•ด์„œ

$SonarQube Home$/bin/windows-x86-64/StartSonar.bat ํŒŒ์ผ์„ ์‹คํ–‰์‹œํ‚ค๋ฉด cmd์ฐฝ์— ์•„๋ž˜์ฒ˜๋Ÿผ ์—๋Ÿฌ๊ฐ€ ๋œจ๋Š”๋ฐ์š”


wrapper  | --> Wrapper Started as Console
wrapper  | Launching a JVM...
jvm 1    | Error occurred during initialization of VM
jvm 1    | GC triggered before VM initialization completed. Try increasing NewSize, current value 1536K.
wrapper  | JVM exited while loading the application.
wrapper  | JVM Restarts disabled.  Shutting down.
wrapper  | <-- p="" stopped="" wrapper="">

๊ณ„์†ํ•˜๋ ค๋ฉด ์•„๋ฌด ํ‚ค๋‚˜ ๋ˆ„๋ฅด์‹ญ์‹œ์˜ค . . .



์ฒ˜์Œ์—๋Š” sonar.properties์—์„œ ํ•œ์ฐธ ์ฐพ๋‹ค๊ฐ€ ์–ด๋–ค ๋ถ„์ด ํฌ์ŠคํŒ…ํ•œ ๊ธ€์„ ๋ณด๊ณ  ํ•ด๊ฒฐํ–ˆ์Šต๋‹ˆ๋‹ค.


์œ„์™€ ๊ฐ™์€ ์—๋Ÿฌ๋‚˜ ๊ฐ€์˜ค๋ฉด
$SonarQube Home$/conf/wrapper.conf ์—์„œ ์•„๋ž˜ ์„ค์ •์„ ์ฐพ์•„์„œ ๊ฐ’์„ ์˜ฌ๋ ค์ฃผ๋ฉด ๋ฉ๋‹ˆ๋‹ค.


(default)
wrapper.java.initmemory=3
wrapper.java.maxmemory=32


 

(after changing)

wrapper.java.initmemory=128
wrapper.java.maxmemory=256



๊ทธ๋Ÿผ ์ฆํ”„ ํ•˜์„ธ์š”~ ^-^