Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Commit 2956293

Browse files
windhamwongWindham Wong
and
Windham Wong
authored
Decrease the minimum requirement of RAM of single instance to 16MB in Round Robin algorithm (#3678)
Co-authored-by: Windham Wong <[email protected]>
1 parent d4d3ccc commit 2956293

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

heron/packing/src/java/org/apache/heron/packing/roundrobin/RoundRobinPacking.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public class RoundRobinPacking implements IPacking, IRepacking {
102102

103103
@VisibleForTesting
104104
static final ByteAmount DEFAULT_DAEMON_PROCESS_RAM_PADDING = ByteAmount.fromGigabytes(1);
105-
private static final ByteAmount MIN_RAM_PER_INSTANCE = ByteAmount.fromMegabytes(192);
105+
private static final ByteAmount MIN_RAM_PER_INSTANCE = ByteAmount.fromMegabytes(16);
106106

107107
// Use as a stub as default number value when getting config value
108108
private static final ByteAmount NOT_SPECIFIED_BYTE_AMOUNT = ByteAmount.fromBytes(-1);

0 commit comments

Comments
 (0)