-
Notifications
You must be signed in to change notification settings - Fork 192
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
Add docker.runOptions to avoid memory swap error #351
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,6 +58,11 @@ profiles { | |
test { includeConfig 'conf/test.config' } | ||
} | ||
|
||
// Avoid this error: | ||
// WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. | ||
// Thanks to: https://github.com/alesssia/YAMP/wiki/How-to-use-Docker | ||
docker.runOptions = '-u $(id -u):$(id -g)' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Shouldn't it be There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not sure that is required - the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. sorry, I didn't understood what you meant ;-) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I mean I'm not sure whether we need to escape the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Aaaah, now I understand. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Then we need to address this as well - I was looking for another place where this is used but couldn't find it. Wouldn't |
||
|
||
// Load igenomes.config if required | ||
if(!params.igenomesIgnore){ | ||
includeConfig 'conf/igenomes.config' | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add this in @olgabot? That should be enough to be able to trace things back once they're in the template.