Environment Variables documentation with missing placeholders

In https://docs.sonarqube.org/latest/setup/environment-variables/

there is some references like:


I imagine that @webJavaOpts@ is a placeholder that isn’t rendered correctly on the documentation page. Right?

Hello @gionn,

Happy New Year !
This is correct. Several placeholders are not well substituted when rendering this page. Pending a fix on the page rendering here are default values for those env variables:

SONAR_WEB_JAVAOPTS=-Xmx1G -Xms128m -XX:+HeapDumpOnOutOfMemoryError
SONAR_CE_JAVAOPTS=-Xmx2G -Xms128m -XX:+HeapDumpOnOutOfMemoryError
SONAR_SEARCH_JAVAOPTS=-Xmx2G -Xms2G -XX:MaxDirectMemorySize=1G -XX:+HeapDumpOnOutOfMemoryError

These values are usually OK for small to mid size SonarQube instances


1 Like