BigArrays: Disable breaking.
The BigArrays limit is currently shared by the translog, netty, http and some queries/aggregations. If any of these consumers starts taking a lot of memory, then other ones might fail to allocate memory, which could have bad consequences, eg. if ping requests can't be sent. The plan is to come up with a better solution in 1.3. Close #6332
This commit is contained in:
parent
3fcbe1d6cf
commit
df67b17646
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue