Assume I have a machine with 256gb memory and 12TB SSD. Indexed document size is 100TB. I assign 30.5 GB to Elasticsearch heap. The remaining is for Lucene and OS.
My question is, how much virtual memory does Elasticsearch support? To put it in another way, how many indexed documents can I put into the virtual memory for each machine?
Then what about Lucene? I read that on a 64-bit system, it is advised to use mmapfs. And I read that Lucene will take advantage of the Virtual memory. What is the maximum of size of virtual memory does the Lucene with 196gb physical memory support?
ES uses the Java VM, and a Java VM runs as a process on your operating system. I recommend 64 bit so you can make use of mmapfs.
RHEL7 can support 128 TB virtual address space per process on x86_64 architecture. Note, this is far more than any Java VM process can use in practice.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.