-
Notifications
You must be signed in to change notification settings - Fork 236
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
Use JAVA_TOOL_OPTIONS instead of _JAVA_OPTIONS #895
Comments
For info, this has the same problem as mentioned in travis-ci/travis-ci#8408 (comment) (extra output on stderr for every java process) |
|
To clarify, $ JAVA_TOOL_OPTIONS=-Xmx2g java -version
Picked up JAVA_TOOL_OPTIONS: -Xmx2g
openjdk version "1.8.0_131"
OpenJDK Runtime Environment (build 1.8.0_131-b12)
OpenJDK 64-Bit Server VM (build 25.131-b12, mixed mode) |
13 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In #885 we introduced _JAVA_OPTIONS in an attempt to control JVM memory allocation.
Documentation suggests that JAVA_TOOL_OPTIONS is actually recommended for these cases.
The difference is pretty neatly explained here:
https://stackoverflow.com/questions/28327620/difference-between-java-options-java-tool-options-and-java-opts
The text was updated successfully, but these errors were encountered: