Skip to content

Retry tasks with exit code 247 for added memory#353

Merged
maxulysse merged 3 commits intonf-core:devfrom
Sage-Bionetworks-Workflows:patch-1
Feb 24, 2021
Merged

Retry tasks with exit code 247 for added memory#353
maxulysse merged 3 commits intonf-core:devfrom
Sage-Bionetworks-Workflows:patch-1

Conversation

@BrunoGrandePhD
Copy link
Copy Markdown

Description

I've noticed that Picard MarkDuplicates can fail with the exit code 247 because of insufficient memory. I can confirm that increasing the memory allocation from the default of 7 GB to 16 GB resolved the issue. Indeed, the peakVmem after this adjustment was 13.6 GB. I figured that it would be nice if the workflow auto-retried the task with double and then triple the default memory allocation (in this case, doubling would have sufficed).

process {
  withName:MarkDuplicates {
    memory = '16.GB'
  }
}

@github-actions
Copy link
Copy Markdown

Hi @BrunoGrandePhD,

It looks like this pull-request is has been made against the BrunoGrandePhD/sarek master branch.
The master branch on nf-core repositories should always contain code from the latest release.
Because of this, PRs to master are only allowed if they come from the BrunoGrandePhD/sarek dev branch.

You do not need to close this PR, you can change the target branch to dev by clicking the "Edit" button at the top of this page.

Thanks again for your contribution!

@BrunoGrandePhD BrunoGrandePhD changed the base branch from master to dev February 24, 2021 06:39
@maxulysse maxulysse merged commit f365b81 into nf-core:dev Feb 24, 2021
@BrunoGrandePhD BrunoGrandePhD deleted the patch-1 branch February 24, 2021 21:28
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