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

JAVA_OPTS is not honored #1582

Open
DavidPerezIngeniero opened this issue Nov 21, 2024 · 0 comments
Open

JAVA_OPTS is not honored #1582

DavidPerezIngeniero opened this issue Nov 21, 2024 · 0 comments

Comments

@DavidPerezIngeniero
Copy link

The doc tells:

JVM Flags
Ammonite also supports the JAVA_OPTS environment variable for passing arguments to the JVM that it runs inside, e.g. you can pass in a custom memory limit via

By reverse engineering I've seen that I must use in order to have a 2Gb heap size:

./myScript.sc -J-Xmx2g

instead of:

JAVA_OPTS=-Xmx2g ./myscript.sc
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

No branches or pull requests

1 participant