diff --git a/src/main/java/org/elasticsearch/common/util/BigArrays.java b/src/main/java/org/elasticsearch/common/util/BigArrays.java index 2d55599f4ce..155523bbbdb 100644 --- a/src/main/java/org/elasticsearch/common/util/BigArrays.java +++ b/src/main/java/org/elasticsearch/common/util/BigArrays.java @@ -368,7 +368,7 @@ public class BigArrays extends AbstractComponent { @Inject public BigArrays(Settings settings, PageCacheRecycler recycler) { - this(settings, recycler, settings.getAsMemory(MAX_SIZE_IN_BYTES_SETTING, "20%").bytes()); + this(settings, recycler, settings.getAsMemory(MAX_SIZE_IN_BYTES_SETTING, Long.toString(Long.MAX_VALUE)).bytes()); } private BigArrays(Settings settings, PageCacheRecycler recycler, final long maxSizeInBytes) {