Ok, I now understand mlockall. But I'm not asking this question in the
context of a memory contrived node; my production nodes have 32G ram; I
used this setting in order to prevent OOM of prodution nodes.
I may misunderstood the informations a gathered from the web, but I deduced
that with the following config params :
bootstrap.mlockall: true
index.fielddata.cache: node
indices.fielddata.cache.size: 40%
I would have better control of the memory usage of ES nodes.
I still don't understand though, why a node started with -Xms256m -Xmx256 +
mlockall: false only take 80M ram while a node started with -Xms256m
-Xmx256 + mlockall: true take 600M.
On Thu, Jan 30, 2014 at 1:34 AM, joergprante@gmail.com <
joergprante@gmail.com> wrote:
The JVM uses reserved memory, buffers, and stacks beside the heap, most
can not be controlled by user settings.
To reduce memory as much as possible for a Java process, do not use
mlockall tricks, use 32bit JVM and reduce maximum allowed stack size with
-Xss (this will affect performance of course)
You will also need many tweaks of Elasticsearch default settings to behave
under shrinked memory, for index loading, field caches, etc.
Jörg
--
You received this message because you are subscribed to a topic in the
Google Groups "elasticsearch" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/elasticsearch/DijPr5PNTYM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAKdsXoFkHRUsTt-0s7vV_%2BCNL%2BdUW-erVS4JF_OiL%2B4h-X4mXg%40mail.gmail.com
.
For more options, visit https://groups.google.com/groups/opt_out.
--
-- Arnaud Briche
Développeur web / Préstataire de service informatique
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CADP2VkAD14qs0_dV7%2BgtaSOrBR3o0rJBWcc-xsyrHH%3DAHXp8cA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.