DADA2 Issue with R

I tried running DADA2 but keeps throwing me the error stated below:
Plugin error from dada2:

An error was encountered while running DADA2 in R (return code 1), please inspect stdout and stderr to learn more.

Debug info has been saved to /tmp/qiime2-q2cli-err-e4i52m_r.log

I have attached the error log filedebug.txt (2.4 KB)
Help would be appreciated

Good afternoon,

Thanks for posting your log file! Inside, I found these important lines:

2) Learning Error Rates
Error: cannot allocate vector of size 11.7 Gb
Execution halted
Warning message:
system call failed: Cannot allocate memory 

It looks like you don’t have enough RAM / memory to run this command.

My first suggestion would be to run this command with a smaller value for --p-n-reads-learn (it’s 1000000 by default). This could let you get through this step.

Let me know if that helps,
Colin

1 Like

Hi @basilin_benson! Adding to @colinbrislawn’s reply, you might take a look at @thermokarst’s suggestions here for getting access to more system memory:

Could you also share the exact command you’re running? That might shed some light on why you’re running out of memory. Thanks!

Hi,
Thank you for the prompt reply. As said above my my system did not have enough memory to run so I will be running it on an institutional cluster soon. Will update on the status soon.

2 Likes

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.