thinker0 opened a new pull request #3789:
URL: https://github.com/apache/incubator-heron/pull/3789


   It seems that it is not suitable for JVM 11 or higher to statically allocate 
50% heap.
   
   Ref: 
   ```
   For Java 11 and above
   The Xmx value is 25% of the available memory with a maximum of 25 GB. 
However, where there is 2 GB or less of physical memory, the value set is 50% 
of available memory with a minimum value of 16 MB and a maximum value of 512 MB.
   For Java 8
   The Xmx value is half the available memory with a minimum of 16 MB and a 
maximum of 512 MB.
   ```
   
   
https://blog.openj9.org/2020/04/30/default-java-maximum-heap-size-is-changed-for-java-8/
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to