Hi,

I see that the default Dockerfile has hardcoded
JAVA_OPTIONS="-Xmx2048m -Xms2048m"
https://github.com/apache/jena/blob/main/jena-fuseki2/jena-fuseki-docker/Dockerfile#L107

This doesn't make much sense in a Docker environment where the
hardcoded value can either go over the limit of the container's memory
or fail to scale leaving memory unused.

On our own containers we have been using the Docker-specific Java
options for a while
https://stackoverflow.com/questions/54292282/clarification-of-meaning-new-jvm-memory-parameters-initialrampercentage-and-minr
More specifically: -XX:+UseContainerSupport -XX:MaxRAMPercentage=75

Would there be any reason why these shouldn't be used with Fuseki
containers and/or made the default in the Dockerfile?


Martynas
atomgraph.com

Reply via email to