Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow passing custom java args #61

Open
qu1ck opened this issue Oct 29, 2023 · 1 comment
Open

Allow passing custom java args #61

qu1ck opened this issue Oct 29, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@qu1ck
Copy link

qu1ck commented Oct 29, 2023

Startup script has hardcoded java -jar <path to jar>.
There should be a way to pass custom arguments to it, things like -Xms, -Xmx, flags for GC tuning etc.

@Syer10 Syer10 added the enhancement New feature or request label Feb 19, 2024
@renjfk
Copy link

renjfk commented Sep 8, 2024

things like -Xms, -Xmx

Normally you shouldn't need to set these flags with the UseContainerSupport flag, which is enabled by default if supported by the system.

However, there's already the JAVA_TOOL_OPTIONS environment variable that you can use for this purpose.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants