Skip to content

Conversation

@guycst
Copy link

@guycst guycst commented Nov 18, 2025

No description provided.

@guycst
Copy link
Author

guycst commented Nov 18, 2025

added -XX:InitialRAMPercentage=50.0 -XX:MaxRAMPercentage=80.

@guycst
Copy link
Author

guycst commented Nov 18, 2025

-XX:+UseContainerSupport can also be used to inform Java that it is running under a container

Copy link
Contributor

@srosset81 srosset81 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @guycst !
Can you tell us more about this setting ? Does it mean Fuseki will use, at most, 80% of the RAM available ?


MAINTAINER Niko PLP <info@parlepeuple.fr>

ENV JAVA_MX_RAM="4G"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you replace this now-unused ENV var with two vars (initial & max percentage), so that users of the Docker image can fine-tune it according to their needs ?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MaxRAMPercentage parameter allows setting the maximum heap size for a JVM running with a large amount of memory (greater than 200 MB).

The MinRAMPercentage parameter, unlike its name, allows setting the maximum heap size for a JVM running with a small amount of memory (less than 200MB).

@srosset81
Copy link
Contributor

-XX:+UseContainerSupport can also be used to inform Java that it is running under a container

Sounds like a good option to add !

added -XX:+UseContainerSupport
Commented out the JAVA_MX_RAM now unused environment variable for tuning.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants