How to delete memory cache automatically once I have Out of Memory Error with Field Data breaker?

Hello,

I am using Field data circuit breaker in order to define cache size for queries that we do during the day. And each night I am launching a script that deletes the memory cache but sometimes I have out of memory error during the day since they have been lots of queries launched so I need to clear the cache myself.

My question is, do we have any option for elasticsearch that cares about the cache clearing once out of memory error is received ?

Thank you

No, you need to do this manually at the moment.

On 10 April 2015 at 01:29, mehmet mehmetozer1988@gmail.com wrote:

Hello,

I am using Field data circuit breaker in order to define cache size for
queries that we do during the day. And each night I am launching a script
that deletes the memory cache but sometimes I have out of memory error
during the day since they have been lots of queries launched so I need to
clear the cache myself.

My question is, do we have any option for elasticsearch that cares about
the
cache clearing once out of memory error is received ?

Thank you

--
View this message in context:
http://elasticsearch-users.115913.n3.nabble.com/How-to-delete-memory-cache-automatically-once-I-have-Out-of-Memory-Error-with-Field-Data-breaker-tp4073423.html
Sent from the Elasticsearch Users mailing list archive at Nabble.com.

--
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/1428593344272-4073423.post%40n3.nabble.com
.
For more options, visit https://groups.google.com/d/optout.

--
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/CAEYi1X9n2qP7HBZEL6jJ%3DWGX%2B746h7CY8cHboxPAgTqQAK32Dw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Just like an electrical circuit breaker, if it is constantly tripping, this
indicates an overload condition.

Rather than try to empty out the fielddata memory, perhaps you should use
doc_values for the fields which are in the queries that are tripping the
circuit breaker.

On Thursday, April 9, 2015 at 8:39:59 PM UTC-6, mehmet özer wrote:

Hello,

I am using Field data circuit breaker in order to define cache size for
queries that we do during the day. And each night I am launching a script
that deletes the memory cache but sometimes I have out of memory error
during the day since they have been lots of queries launched so I need to
clear the cache myself.

My question is, do we have any option for elasticsearch that cares about
the
cache clearing once out of memory error is received ?

Thank you

--
View this message in context:
http://elasticsearch-users.115913.n3.nabble.com/How-to-delete-memory-cache-automatically-once-I-have-Out-of-Memory-Error-with-Field-Data-breaker-tp4073423.html
Sent from the Elasticsearch Users mailing list archive at Nabble.com.

--
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/b483e53f-7719-483a-9512-34d9151f386a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.