Skip to content

Easy to specifying JVM memory settings such as heap min/max sizes #1441

Answered by quintesse
davsclaus asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @davsclaus , yes you can set compile and runtime option sin the script using //JAVAC_OPTIONS and //JAVA_OPTIONS, see https://www.jbang.dev/documentation/guide/latest/running.html#java-and-javac-options

And you can also use the command line flag --java-options for passing runtime options.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by davsclaus
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@quintesse
Comment options

@quintesse
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants