Controlling RAM consumption

Hi!
Is there any possibility to set an upper bound for the RAM usage of Elasticsearch?

Thanks!

Hello,

the usual way is configuring the -Xmx Parameter for the Java-VM. By setting this parameter in (usually) the jvm.options file You limit the maximum amount of the JVM heap, in which Elasticsearch runs.

See Elasticsearch Documentation.

Regards,