NOTE: You are looking at documentation for an older release. For the latest information, see the current release documentation.
Elasticsearch and Lucene use
mmap to great effect to map portions of
an index into the Elasticsearch address space. This keeps certain index
data off the JVM heap but in memory for blazing fast access. For this to
be effective, the Elasticsearch should have unlimited address space. The
maximum size virtual memory check enforces that the Elasticsearch
process has unlimited address space and is enforced only on Linux. To
pass the maximum size virtual memory check, you must configure your
system to allow the Elasticsearch process the ability to have unlimited
address space. This can be done via
as setting to
unlimited (note that you might have to increase
the limits for the
root user too).