# DADA 2 -9 error code

**URL:** <https://forum.qiime2.org/t/dada-2-9-error-code/12355>\
**Category:** Technical Support\
**Created:** [November 6, 2019, 2:22pm UTC](https://forum.qiime2.org/t/dada-2-9-error-code/12355 "2019-11-06T14:22:34Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zeina](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/z/f6c823/32.png) [@Zeina](https://forum.qiime2.org/u/Zeina)\
**Post date:** [November 6, 2019, 2:22pm UTC](https://forum.qiime2.org/t/dada-2-9-error-code/12355/1 "2019-11-06T14:22:34Z")

</div>

Hello, @ben  
while running dada 2 denoise paired, after houres i got this error message:  
An error was encountered while running DADA in R (retutn code -9) please inspect stdout and stderr to learn more.  
Debug info has been saved to/tmp/qiime2-q2cli-err-tqlt65uy.log

How can fix this error ?  
Thank you

---

<div class="post-metadata">

**Author:** ![Deni\_Ribicic](https://forum.qiime2.org/user_avatar/forum.qiime2.org/deni_ribicic/32/17065_2.png) [@Deni\_Ribicic](https://forum.qiime2.org/u/Deni_Ribicic)\
**Post date:** [November 6, 2019, 3:50pm UTC](https://forum.qiime2.org/t/dada-2-9-error-code/12355/2 "2019-11-06T15:50:55Z")

</div>

@Zeina, if you post the content of debug file someone may be able to help you.

---

<div class="post-metadata">

**Author:** ![Zeina](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/z/f6c823/32.png) [@Zeina](https://forum.qiime2.org/u/Zeina)\
**Post date:** [November 6, 2019, 4:26pm UTC](https://forum.qiime2.org/t/dada-2-9-error-code/12355/3 "2019-11-06T16:26:21Z")

</div>

Thank you @Deni_Ribicic ,for replying me !

 ![Error%20qiime](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/2X/a/adb351d1d5de66dbd1c2179d178861bc1edaeda6.jpeg)

---

<div class="post-metadata">

**Author:** ![sbslm](https://forum.qiime2.org/user_avatar/forum.qiime2.org/sbslm/32/4370_2.png) [@sbslm](https://forum.qiime2.org/u/sbslm)\
**Post date:** [November 6, 2019, 5:06pm UTC](https://forum.qiime2.org/t/dada-2-9-error-code/12355/4 "2019-11-06T17:06:41Z")

</div>

Hello @Zeina,  
What @Deni_Ribicic meant was that you need to show us the contents of the debug file.  
When your run failed, a log file was created "Debing info has been saved to /tmp/qiime2-q2cli-err-tqlt65uy.log".  
Run the command (without the quotations) "cat /tmp/qiime2-q2cli-err-tqlt65uy.log", it should print everything in the log file on your screen and post the results so we can have a better idea of what went wrong.

---

<div class="post-metadata">

**Author:** ![ChrisKeefe](https://forum.qiime2.org/user_avatar/forum.qiime2.org/chriskeefe/32/1907_2.png) [@ChrisKeefe](https://forum.qiime2.org/u/ChrisKeefe)\
**Post date:** [November 6, 2019, 6:45pm UTC](https://forum.qiime2.org/t/dada-2-9-error-code/12355/5 "2019-11-06T18:45:53Z")

</div>

As a side note, @Zeina, details on what operating system and what version of QIIME 2 you're using often helps people diagnose issues. Looks like that screen capture is from `q2-2019.4` running on a linux machine?

---

<div class="post-metadata">

**Author:** ![Brightbeard](https://forum.qiime2.org/user_avatar/forum.qiime2.org/brightbeard/32/6473_2.png) [@Brightbeard](https://forum.qiime2.org/u/Brightbeard)\
**Post date:** [November 6, 2019, 8:19pm UTC](https://forum.qiime2.org/t/dada-2-9-error-code/12355/6 "2019-11-06T20:19:16Z")

</div>

@Zeina, I had this issue a while ago when I first started using Qiime2. Basically, [your computer is running out of memory while Dada2 is denoising the sequences](https://forum.qiime2.org/t/dada2-error-return-code-9-how-to-trim-before-denoising/2085). This can happen if you are trying to work on a large dataset, or your computer has a small amount of RAM. How are you running Qiime2? If it is through Docker, you may need to give it more of your RAM to use. If not, you may have to find a different computer to analyze your data with.

Alternatively, you could break your data up into smaller chunks and analyze a handful of samples at one time (instead of all at once). The [authors](https://www.nature.com/articles/ismej2017119) of Dada2 [claim you can do this](https://benjjneb.github.io/dada2/pool.html) without losing meaningful sensitivity, but I'm not sure if this has been directly tested. Someone with more working knowledge on this particular topic is welcome to correct me.
