【发布时间】:2016-07-04 02:32:04
【问题描述】:
我在具有 4GB RAM 的 VM 上全新安装了 Debian 8。我安装了 SonarQube(使用本机包)。当我尝试从提供的脚本开始时,日志显示以下内容:
--> Wrapper Started as Daemon
Launching a JVM...
JVM exited while loading the application.
GC Warning: Out of Memory! Returning NIL!
Exception in thread "main" GC Warning: Out of Memory! Returning NIL!
java.lang.OutOfMemoryError
*** Got java.lang.NoClassDefFoundError: gnu.gcj.runtime.NameFinder while trying to print stack trace.
JVM Restarts disabled. Shutting down.
<-- Wrapper Stopped
我尝试增加启动脚本中的 -Xmx 和 -Xms 值,但没有效果。
【问题讨论】:
标签: jvm debian sonarqube sonarqube-ops