rabbah opened a new issue #2389: JVM heap size is not set correctly for Java actions URL: https://github.com/apache/incubator-openwhisk/issues/2389 Java actions run with no heap settings, regardless of the container's memory limit: https://github.com/apache/incubator-openwhisk/blob/master/core/javaAction/Dockerfile#L38 This will cause a reused Java action to eventually be killed because the GC may not get a chance to run. ```bash > docker run -m 64M -it javaaction bash # java -XX:+PrintFlagsFinal -version 2>&1 | grep MaxHeapSize uintx MaxHeapSize := 1035993088 {product} ``` That's 1GB even though memory limit for container is 64M. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
With regards, Apache Git Services
