Lenses JVM Options

This page describes the JVM options for Lenses.

Lenses runs as a JVM app; you can tune runtime configurations via environment variables.

Key
Description

LENSES_OPTS

For generic settings, such as the global truststore. Note that the docker image 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=

Last updated

Logo

2024 © Lenses.io Ltd. Apache, Apache Kafka, Kafka and associated open source project names are trademarks of the Apache Software Foundation.