I have a fresh install of Debian 8 on a VM with 4GB RAM. I installed SonarQube (using the native package). When I try to start with the supplied script, the log says the following:
--> 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
I tried increasing the -Xmx and -Xms values in the start script to no effect.