This is an automated email from the ASF dual-hosted git repository.
wwong pushed a commit to branch roundrobin-16MB
in repository https://gitbox.apache.org/repos/asf/incubator-heron.git
The following commit(s) were added to refs/heads/roundrobin-16MB by this push:
new fbd6873 Decrease the minimum requirement of RAM of single instance to
16MB in Round Robin algorithm
fbd6873 is described below
commit fbd6873c915d6e455fc2a06983bc68896dc16b59
Author: Windham Wong <[email protected]>
AuthorDate: Wed Feb 24 11:11:42 2021 +0800
Decrease the minimum requirement of RAM of single instance to 16MB in Round
Robin algorithm
---
.../src/java/org/apache/heron/packing/roundrobin/RoundRobinPacking.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/heron/packing/src/java/org/apache/heron/packing/roundrobin/RoundRobinPacking.java
b/heron/packing/src/java/org/apache/heron/packing/roundrobin/RoundRobinPacking.java
index bbbad2a..a74608d 100644
---
a/heron/packing/src/java/org/apache/heron/packing/roundrobin/RoundRobinPacking.java
+++
b/heron/packing/src/java/org/apache/heron/packing/roundrobin/RoundRobinPacking.java
@@ -102,7 +102,7 @@ public class RoundRobinPacking implements IPacking,
IRepacking {
@VisibleForTesting
static final ByteAmount DEFAULT_DAEMON_PROCESS_RAM_PADDING =
ByteAmount.fromGigabytes(1);
- private static final ByteAmount MIN_RAM_PER_INSTANCE =
ByteAmount.fromMegabytes(192);
+ private static final ByteAmount MIN_RAM_PER_INSTANCE =
ByteAmount.fromMegabytes(16);
// Use as a stub as default number value when getting config value
private static final ByteAmount NOT_SPECIFIED_BYTE_AMOUNT =
ByteAmount.fromBytes(-1);