Skip to main content

Using the Circuit Breaker in SME

To prevent critical levels of RAM usage during search queries, you need to enable the SA Circuit Breaker using the sme.breaker.enable setting in Cluster Settings.

Example:

PUT _cluster/settings
{
"persistent": {
"sme.breaker.enable": true
}
}

You can also modify the following parameters within Cluster Settings:

  • sme.breaker.limit (default 60%) - the JVM heap usage limit.
  • sme.breaker.overhead (default 1.0) - an overhead factor used to determine the total RAM usage.