Repository navigation
NextFlow ~Error executing process > 'INTERPROSCAN:COMBINE:XREFS_LOCAL (10)' Caused by: Java heap space | Ubuntu 24.04 #6991
Replies: 2 comments
|
To resolve the Create a file named process {
withName: 'INTERPROSCAN:COMBINE:XREFS_LOCAL' {
memory = { 12.GB * task.attempt }
cpus = 1
errorStrategy = 'retry'
maxRetries = 2
}
}Then, run your command with the nextflow run ebi-pf-team/interproscan6 \
-profile apptainer \
-c custom.config \
--goterms \
--input LW3.fasta \
--pathways \
--datadir data \
--max-workers 16 \
-resumeWhy this is happeningThe error How this fix works
Tip Since you are on Ubuntu 24.04 and already adjusted AppArmor settings, ensure your Does the process successfully move past the |
|
The Notice that the error shows a Give the Nextflow JVM more heap before launching, and resume so finished tasks are kept: export NXF_JVM_ARGS="-Xms2g -Xmx16g"
nextflow run ebi-pf-team/interproscan6 -profile apptainer --goterms --pathways \
--input LW3.fasta --datadir data --max-workers 16 -resumeThe heap comes out of the same 32 GB as the parallel tasks, so if the machine starts swapping, lower It may also be worth updating the pipeline ( About the log: |
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I ran InterproScan6 with 16 parallel processes/cores laptop/workstation with Linux, 16 cores/ 32 GB RAM.
I used the following code:
It was running well and then I got this error:
I am adding the .nextflow.log file. It was confusing that it starts with .*
The command line error has this
nextflow.zip
My OS is the @#$#@%# Ubuntu 24.04, and I need to run these before for nextflow to work:
Fix
sudo sysctl -w kernel.apparmor_restrict_unprivileged_unconfined=0
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
Looking forward for your help to move on finishing the annotation. Just to remind, I am running InterproScan on workstation which has 32 GB of RAM, and 16 cores.
Hope you can help me fix this never-ending analysis - and no, I have access to a HPC but it uses old Linux libraries and many things that I try to run fail and I don't have external connectivity/Internet. I rely on my aforementioned laptop/workstation - where I have nextflow/apptatiner installed.
All reactions