Finally, if neither approach is possible, you should enable mlockall
. file. This allows the JVM to lock its memory and prevent it from being swapped by the OS. In your elasticsearch.yml
, set this:
bootstrap.mlockall: true
Finally, if neither approach is possible, you should enable mlockall
. file. This allows the JVM to lock its memory and prevent it from being swapped by the OS. In your elasticsearch.yml
, set this:
bootstrap.mlockall: true