public static final class OfflineSorter.BufferSize extends Object
|Modifier and Type||Method and Description|
Approximately half of the currently available free heap, but no less than
public static OfflineSorter.BufferSize megabytes(long mb)
OfflineSorter.BufferSizein MB. The given values must be > 0 and < 2048.
public static OfflineSorter.BufferSize automatic()
OfflineSorter.ABSOLUTE_MIN_SORT_BUFFER_SIZE. However if current heap allocation is insufficient or if there is a large portion of unallocated heap-space available for sorting consult with max allowed heap size.
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.