This is an automated email from the ASF dual-hosted git repository.
nicknezis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-heron.git
The following commit(s) were added to refs/heads/master by this push:
new 2956293 Decrease the minimum requirement of RAM of single instance to
16MB in Round Robin algorithm (#3678)
2956293 is described below
commit 2956293326496a23a92c64fa28d903dfec689ecb
Author: Windham Wong <[email protected]>
AuthorDate: Sun Feb 28 04:21:18 2021 +0800
Decrease the minimum requirement of RAM of single instance to 16MB in Round
Robin algorithm (#3678)
Co-authored-by: Windham Wong <[email protected]>
---
.../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);