Increase the memory via the SONAR_SCANNER_OPTS environment variable:
export SONAR_SCANNER_OPTS="-Xmx512m"
|
On Windows environments, avoid the double-quotes, since they get misinterpreted and combine the two parameters into a single one.
set SONAR_SCANNER_OPTS=-Xmx512m
|
Upgrade the version of Java being used for analysis or use one of the native package (that embed its own Java runtime). SonarQube 5.6+ requires Java 8.
<logger name="org.sonar.plugins.ldap">
<level value="DEBUG"/>
<appender-ref ref="CONSOLE"/>
<appender-ref ref="SONAR_FILE"/>
</logger>
|
These both following parameters can be set in the <SonarQube home>/conf/wrapper.conf file to manage time out :
wrapper.java.additional.6=-Dcom.sun.jndi.ldap.connect.pool.prefsize=0
wrapper.java.additional.7=-Dcom.sun.jndi.ldap.connect.pool.timeout=3600000
|
http://docs.oracle.com/javase/jndi/tutorial/ldap/connect/config.html