Liu-HongYe opened a new pull request #74: Dynamically setting the JVM memory limit by reading the Cgroup URL: https://github.com/apache/incubator-openwhisk-runtime-java/pull/74 The JVM in the container does not set the memory size limit, which causes the JVM to use 1GB of memory by default. At this time, if the function sets the 256MB memory limit, when the memory uses 256MB, the GC operation cannot be performed in time. The container is killed. And in the case of the Prewarm container, the memory used by the last call cannot be recycled in time, so the new call available memory is drastically reduced. I recommend dynamically setting the JVM memory limit by reading the Cgroup configuration during container startup.
---------------------------------------------------------------- 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
