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

move java env options to default tool and reduce xms #1354

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mira-miracoli
Copy link
Contributor

@mira-miracoli mira-miracoli commented Nov 13, 2024

works according to @natefoo and was discussed here
org does it like this

@mira-miracoli mira-miracoli requested review from sanjaysrikakulam and bgruening and removed request for sanjaysrikakulam November 13, 2024 16:24
- name: GALAXY_MEMORY_MB
value: "{int(mem * 1024)}" # set 5/2023 might be moved to runner or tool wrappers, related to Galaxy issue 15952
- name: _JAVA_OPTIONS
value: -Xmx{round(mem*0.9*1024)}m -Xms256m -Duser.home=/data/2/galaxy_db/tmp -Djava.io.tmpdir=$_GALAXY_JOB_TMP_DIR
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we also use for home -> $_GALAXY_JOB_TMP_DIR ?

@bgruening
Copy link
Member

Looks good to me!

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

Successfully merging this pull request may close these issues.

2 participants