4.0
You are viewing documentation for an older version of Lenses.io View latest documentation here
JVM options
Lenses runs as a JVM app and you can tune runtime configurations via environment variables.
| Key | Description | 
|---|---|
| LENSES_OPTS | For generic settings, Kerberos configuration (e.g SASL/GSSAPI auth to the Brokers). Note that the docker images is using this to plug in a prometheus java agent for monitoring Lenses | 
| LENSES_HEAP_OPTS | JVM heap options. Default setting are -Xmx3g -Xms512m that sets the heap size between 512MB and 3GB. The upper limit is set to 1.2GB on the Box development docker image. | 
| LENSES_JMX_OPTS | Tune the JMX options for the JVM i.e. to allowing remote access. | 
| LENSES_LOG4J_OPTS | Override Lenses
logging configuration
. Should only be used to set the
logback configuration file
, using the format -Dlogback.configurationFile=file:/path/to/logback.xml. | 
| LENSES_PERFORMANCE_OPTS | JVM performance tuning. The default settings are -server -XX:+UseG1GC -XX:MaxGCPauseMillis=20 -XX:InitiatingHeapOccupancyPercent=35 -XX:+DisableExplicitGC -Djava.awt.headless=true | 
