DADA2 denoise-paired error: R (return code -9)

I am running QIIME2 2017.9 in a Virtual Box, and I ran the following command:

qiime dada2 denoise-paired
–i-demultiplexed-seqs demux-paired-end.qza
–p-trim-left-f 0
–p-trim-left-r 0
–p-trunc-len-f 200
–p-trunc-len-r 200
–o-table table.qza
–o-representative-sequences rep-seqs.qza

And received this error:

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

I was looking at the forum, but most of things are about code 1, even -11.

I don’t know how to interpret this error. Any idea?


Hi, I think that you are running out of memory, how strong is your machine? If not very strong, you can try perform quality filtering first to get read of excessive reads

It has 8 Mb of RAM, but I’m not sure how much takes Virtual Box to run Qiime2. I think this details cann’t be change once Qiime2 package has been loaded on VB.
Do you know how much memory is necessary to use Qiime2?

8 gb, I suppose, not 8 mb =). I don’t know exactly but once I took a look in htop during DADA2 and it was taking about 7 gb of RAM. You can filter your data to decrease the ammount of processes or try use half of the number of your threads using

Hey there @YisBel!

You should be able to change the allocation - please check out for links to their docs/support forum/etc (we do not develop Virtualbox).

There is no single answer to this, since every dataset and analysis of it is totally unique. As far as DADA2 goes, please see the following:


This information was very useful

thaks, I wil try to filter my data like you said. I figured out how increase memory to VB also.

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