to prevent os from swapping, it's recommended to set bootstrap.mlockall: true.
I wonder the following. What happens in situations when no memory is available anymore? Does the jvm chrash in such a case? And if so, whats the benefit in using mlockall compared to swapping?