使用mlockall使JVM/Solr不交换 [英] Make JVM/Solr not swap, using mlockall

查看:77
本文介绍了使用mlockall使JVM/Solr不交换的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我看到ElasticSearch提供了mlockall选项,该选项允许将JVM堆保留在物理内存中,而不是在虚拟内存(可能是物理内存)中,并避免交换堆.

I saw ElasticSearch provides the mlockall option which permits to keep the JVM heap inside physical memory instead of virtual memory (which may or not be physical), and to avoid swapping the heap.

Solr有这样的选择吗?

Is there such an option with Solr?

推荐答案

选中此 mallall For All文章也许它具有一些很好的见识.

Check this mlockall For All article maybe it has some good insight.

这篇关于使用mlockall使JVM/Solr不交换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆