-
Notifications
You must be signed in to change notification settings - Fork 0
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
Setting default JAVA_TOOL_OPTIONS
#77
Comments
This overwrites the jvm options entered on the command line, so yes, it would break things. However It could be good to have it by default on the login nodes only, not on the compute nodes. But I do not know how difficult it would be to implement it like that. Also note that as soon as we will have cgroups implemented on the login nodes instead of relying on ulimit RAM confinement, this java memory problem will go away. |
Indeed, if This thread on StackOverflow discusses this variable and also comes to the conclusion that However there is also the (documented) variable @poquirion : Setting |
Thanks @ostueker and @poquirion, that's good feedback. I would never have imagined an environment variable overridding command line options. Changing the issue to define |
_JAVA_OPTIONS
JAVA_TOOL_OPTIONS
I tested by installing
or
work to resolve the OOM. Setting
The question is then where to set it. Two options:
|
This is now deployed. I redeployed the java modules, option 1. It seemed like the cleanest. |
Apparently, this causes this issue: |
Hello! My student and I are indeed encountering this problem now on beluga. Our Nextflow pipeline stopped working with the same error as nextflow-io/nextflow#1716
Setting Clément |
@clemgoub, for now, the only workaround is to unset |
Thank you @mboisson; I tried to add EDIT: FIXED. Following @robsyme advice, adding this to the sbatch file did the trick:
|
This will be fixed once I reinstall nextflow and patch it in place: |
Excellent, thanks all for the support! |
This is now fixed. |
Thanks a lot @mboisson! |
Java has common memory issues, documented here:
https://docs.computecanada.ca/wiki/Java#Memory_Issues
The question is, would anything break if we set this by default ?
The text was updated successfully, but these errors were encountered: