I am running SonarQube 5.5 with the following wrapper config settings.
wrapper.java.initmemory=3
wrapper.java.maxmemory=4096
I am still get
Memory adjustments must be made in sonar.properties
:
sonar.web.javaOpts
(for Web Server JVM)sonar.ce.javaOpts
(for Compute Engine JVM)sonar.search.javaOpts
(for JVM running ElasticSearch).In your case the memory exception occurs in a background task so it relates to Compute Engine (see SonarQube architecture for more insight).
Settings in wrapper.conf
are not relevant here and should be left untouched (hence the # DO NOT EDIT THE FOLLOWING SECTIONS
warning in the file).