We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84a4bf4 commit 86f2d88Copy full SHA for 86f2d88
server/src/main/java/org/elasticsearch/action/search/QueryPhaseResultConsumer.java
@@ -462,7 +462,7 @@ private long ramBytesUsedQueryResult(QuerySearchResult result) {
462
* the reduce completes.
463
*/
464
private static long estimateRamBytesUsedForReduce(long size) {
465
- return Math.round(1.5d * size - size);
+ return Math.round(1.5d * size);
466
}
467
468
private void consume(QuerySearchResult result, Runnable next) {
0 commit comments