![](/img/trans.png)
[英]Best approach for merging solr indexes of size 60GB and 10GB in minimum time?
[英]Shoud I use 60GB heap size?
我想知道将堆大小设置为 32GB 以上会不会提高性能? 我有一台 128GB memory 的服务器。
在我阅读时,如果将其增加到 48GB,性能会下降,但是将其设置为 60GB 怎么样?
不,你不应该,为高于 30GB 的值增加堆大小不会提高性能,它可能会使事情变得更糟。
Elastic 建议使用 26 GB 到 30 GB 之间的最大值,具体取决于您的系统。
如果您遇到性能问题,您首先必须确定这些问题是否与您的堆大小有关,这可能是磁盘 i/o 问题。
您还可以在同一台机器上启动另一个实例来增加您的集群。
基本上堆 memory 取决于您的应用程序。 What kind of process doing in the application.For the normal applications we starts allocating memory from the 30 % of the total memory.if we have exceptions like Out of Heap Memory then increase it according to requirement.Maximum Heap size we can allocate to application仅占总 memory 的 60%。这是通常遵循的最佳实践。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.