我對從ES官方文檔以下配額一個問題:如何ElasticSearch和Lucene共享內存
But if you give all available memory to Elasticsearch’s heap,
there won’t be any left over for Lucene.
This can seriously impact the performance of full-text search.
如果我的服務器有80G的內存,我發出以下命令來啓動ES節點:bin/elasticsearch -xmx 30g
這意味着我只給ES 30g內存的最大處理。 Lucene如何使用左邊的50G,因爲Lucene在ES過程中運行,它只是過程的一部分。