# Memory setting
#
# The default maximum heap size is 25% of the system memory.
# The default minimum heap size is 256M.
#
# For a production setup, the minimum and the maximum heap must be set to the
# same value by setting the CRATE_HEAP_SIZE environment variable below.
#
# Recommended values:
# - Assign 25% of the system memory to CrateDB, e.g. 16G.
# - Stay below ~30G to benefit from CompressedOops.
# - Disable swapping by setting `bootstrap.mlockall` in `crate.yml`.
#
# See the following link for a rationale and explanation:
# - https://crate.io/docs/crate/howtos/en/latest/performance/memory.html
#

# CRATE_HEAP_SIZE=4G

# Run CRATE as this user ID and group ID
#CRATE_USER=crate
#CRATE_GROUP=crate

CRATE_HOME=/usr/share/crate
CRATE_PATH_LOG=/var/log/crate
CRATE_PATH_CONF=/etc/crate

# Additional Java OPTS
#CRATE_JAVA_OPTS=
