Hi ES team,
We are getting this error from ES 7.4.1, querying an empty index (every 2s) on a server with no load (it's still in test mode so it's not receiving any request). We tried to increase the heap size from 2g to 4g, but no success.
It's a one-node installation with CPU 32c RAM 128GB, HEAP SIZE 4GB (Linux Centos7, Zing JVM 1.8.0-zing_19.12.100.0)
The piece of code that returns this error is:
SearchRequest sr = new SearchRequest(this.pi.getIndexName()).source(new SearchSourceBuilder().query(QueryBuilders.matchAllQuery()).fetchSource(false).version(false));
SearchHit[] searchHits = cluster.getRestClient().search(sr, cluster.getRequestOptions()).getHits().getHits();
The error is:
ElasticsearchStatusException[Elasticsearch exception [type=circuit_breaking_exception, reason=[parent] Data too large, data for [<http_request>] would be [3110076554/2.8gb], which is larger than the limit of [3026295193/2.8gb], real usage: [3110076416/2.8gb], new bytes reserved: [138/138b], usages [request=0/0b, fielddata=0/0b, in_flight_requests=138/138b, accounting=0/0b]]]
at org.elasticsearch.rest.BytesRestResponse.errorFromXContent(BytesRestResponse.java:177)
at org.elasticsearch.client.RestHighLevelClient.parseEntity(RestHighLevelClient.java:1727)
at org.elasticsearch.client.RestHighLevelClient.parseResponseException(RestHighLevelClient.java:1704)
at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:1467)
at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:1424)
at org.elasticsearch.client.RestHighLevelClient.performRequestAndParseEntity(RestHighLevelClient.java:1394)
at org.elasticsearch.client.RestHighLevelClient.search(RestHighLevelClient.java:930)
at com.ventusproxy.proxy.cluster.elasticsearch.CleanPercolator.run(CleanPercolator.java:49)
at java.lang.Thread.run(Thread.java:748)
Suppressed: org.elasticsearch.client.ResponseException: method [POST], host [http://127.0.0.1:9200], URI [/pc_102/_search?typed_keys=true&ignore_unavailable=false&expand_wildcards=open&allow_no_indices=true&ignore_throttled=true&search_type=query_then_fetch&batched_reduce_size=512&ccs_minimize_roundtrips=true], status line [HTTP/1.1 429 Too Many Requests] {"error":{"root_cause":[{"type":"circuit_breaking_exception","reason":"[parent] Data too large, data for [<http_request>] would be [3110076554/2.8gb], which is larger than the limit of [3026295193/2.8gb], real usage: [3110076416/2.8gb], new bytes reserved: [138/138b], usages [request=0/0b, fielddata=0/0b, in_flight_requests=138/138b, accounting=0/0b]","bytes_wanted":3110076554,"bytes_limit":3026295193,"durability":"TRANSIENT"}],"type":"circuit_breaking_exception","reason":"[parent] Data too large, data for [<http_request>] would be [3110076554/2.8gb], which is larger than the limit of [3026295193/2.8gb], real usage: [3110076416/2.8gb], new bytes reserved: [138/138b], usages [request=0/0b, fielddata=0/0b, in_flight_requests=138/138b, accounting=0/0b]","bytes_wanted":3110076554,"bytes_limit":3026295193,"durability":"TRANSIENT"},"status":429}
at org.elasticsearch.client.RestClient.convertResponse(RestClient.java:253)
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:231)
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:205)
at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:1454)
... 5 more
.
Thank you.