Skip to content

JAVA_OPTS is not honored #1582

@DavidPerezIngeniero

Description

@DavidPerezIngeniero

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions