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

[4.0.9] Bad container documentation #8876

Open
hrstoyanov opened this issue Jun 12, 2024 · 0 comments
Open

[4.0.9] Bad container documentation #8876

hrstoyanov opened this issue Jun 12, 2024 · 0 comments
Assignees
Labels
bug Something isn't working docs
Projects

Comments

@hrstoyanov
Copy link
Contributor

The Helidon Jib documentation specify some "good defaults intended for containers" jvm options for running Helidon 4 in container:

            <!-- good defaults intended for containers -->
            <jvmFlags>
                <jmxFlag>-server</jmxFlag>
                <jmxFlag>-Djava.awt.headless=true</jmxFlag>
                <jmxFlag>-XX:+UnlockExperimentalVMOptions</jmxFlag>
                <jmxFlag>-XX:+UseCGroupMemoryLimitForHeap</jmxFlag>
                <jmxFlag>-XX:InitialRAMFraction=2</jmxFlag>
                <jmxFlag>-XX:MinRAMFraction=2</jmxFlag>
                <jmxFlag>-XX:MaxRAMFraction=2</jmxFlag>
                <jmxFlag>-XX:+UseG1GC</jmxFlag>
            </jvmFlags>

However, when used one would get these warnings:

OpenJDK 64-Bit Server VM warning: Option InitialRAMFraction was deprecated in version 10.0 and will likely be removed in a future release.
OpenJDK 64-Bit Server VM warning: Option MinRAMFraction was deprecated in version 10.0 and will likely be removed in a future release.
OpenJDK 64-Bit Server VM warning: Option MaxRAMFraction was deprecated in version 10.0 and will likely be removed in a future release.
@github-actions github-actions bot added this to Triage in Backlog Jun 12, 2024
@romain-grecourt romain-grecourt added bug Something isn't working docs labels Jun 12, 2024
@edbratt edbratt moved this from Triage to High priority in Backlog Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working docs
Projects
Backlog
  
High priority
Development

No branches or pull requests

3 participants