deng-lab / viroprofiler

A containerized bioinformatics pipeline for viral metagenomic data analysis
https://deng-lab.github.io/viroprofiler
MIT License
25 stars 12 forks source link

Process requirement exceeds available memory #3

Closed olgais93 closed 1 year ago

olgais93 commented 1 year ago

I'm getting an error when running Viroprofiler, saying that process requirements exceed available memory. Is there any way I can run Viroprofiler on a system that has <90GB memory?

I ran this: nextflow run deng-lab/viroprofiler --input samplesheet.csv -profile singularity -r v0.1

And got this error: Process requirement exceeds available memory -- req: 90 GB; avail: 62.7 GB

I tried running: nextflow run deng-lab/viroprofiler --input samplesheet.csv -profile singularity -r v0.1 --max_memory "20.GB" --max_cpus "2"

But got the same error.

rujinlong commented 1 year ago

Hi @olgais93. It seems there is a bug in the --max_memory parameter. I've made a new release v0.2. Could you try again using parameter -r main?