Hi All,

If we do not set MaxHeapSize in JVM which runs inside docker it will set it
as 1/4 of the physical memory. But issue is, inside the docker it will read
as total physical memory of the HOST machine rather taking allocated memory
to that docker container. So if we do not properly set MaxHeapSize it will
cause to many issues. [1]

As a quick action, shall we properly document this in our all docker
repositories? Also it should go to doc site as well.

Going forward we should allow users to pass this as env variable and set it
up.

[1] https://developers.redhat.com/blog/2017/03/14/java-inside-docker/

thanks

-- 
Lakmal Warusawithana
Senior Director - Cloud Architecture; WSO2 Inc.
Mobile : +94714289692
Blogs : https://medium.com/@lakwarus/
            http://lakmalsview.blogspot.com/
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to