# Plugin error from feature-classifier - do I need more RAM?

**URL:** <https://forum.qiime2.org/t/plugin-error-from-feature-classifier-do-i-need-more-ram/24684>\
**Category:** User Support\
**Tags:** feature-classifier\
**Created:** [November 7, 2022, 10:19am UTC](https://forum.qiime2.org/t/plugin-error-from-feature-classifier-do-i-need-more-ram/24684 "2022-11-07T10:19:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hewsy](https://forum.qiime2.org/user_avatar/forum.qiime2.org/hewsy/32/14474_2.png) [@hewsy](https://forum.qiime2.org/u/hewsy)\
**Post date:** [November 7, 2022, 10:19am UTC](https://forum.qiime2.org/t/plugin-error-from-feature-classifier-do-i-need-more-ram/24684/1 "2022-11-07T10:19:44Z")

</div>

Hi, I am new! Sorry if this question is silly... thanks in advance!  
I got this error when I tried to run a silva V3V4 classifier:

`Plugin error from feature-classifier: Unable to allocate 2.77 GiB for an array with shape (372064256,) and data type float64 Debug info has been saved to /tmp/qiime2-q2cli-err-fyei80v1.log`

Does this means my computer's RAM is not enough for the run? My computer has only 8GB RAM in total so I can only allocate 5GB for its usage.  
I am using QIIME 2 2020.2 in Virtualbox.

The command I ran:

```auto
qiime feature-classifier classify-sklearn \
> --i-classifier /media/sf_Shared_Folders/silva138_AB_V3-V4_classifier.qza \
> --i-reads /media/sf_Shared_Folders/rep-seqs.qza \
> --o-classification /media/sf_Shared_Folders/taxonomy.qza

```

The log:

Traceback (most recent call last):  
File "/home/qiime2/miniconda/envs/qiime2-2022.2/lib/python3.8/site-packages/q  
2cli/commands.py", line 339, in **call**  
results = action(\*\*arguments)  
File "", line 2, in classify\_sklearn  
File "/home/qiime2/miniconda/envs/qiime2-2022.2/lib/python3.8/site-packages/q  
iime2/sdk/action.py", line 234, in bound\_callable  
callable\_args[name] = artifact.\_view(  
File "/home/qiime2/miniconda/envs/qiime2-2022.2/lib/python3.8/site-packages/q  
iime2/sdk/result.py", line 331, in \_view  
result = transformation(self.\_archiver.data\_dir)  
File "/home/qiime2/miniconda/envs/qiime2-2022.2/lib/python3.8/site-packages/qiime2/core/transform.py", line 70, in transformation  
new\_view = transformer(view)  
File "/home/qiime2/miniconda/envs/qiime2-2022.2/lib/python3.8/site-packages/q2\_feature\_classifier/\_taxonomic\_classifier.py", line 72, in \_1  
pipeline = joblib.load(os.path.join(dirname, 'sklearn\_pipeline.pkl'))  
File "/home/qiime2/miniconda/envs/qiime2-2022.2/lib/python3.8/site-packages/joblib/numpy\_pickle.py", line 587, in load  
obj = \_unpickle(fobj, filename, mmap\_mode)  
File "/home/qiime2/miniconda/envs/qiime2-2022.2/lib/python3.8/site-packages/joblib/numpy\_pickle.py", line 506, in \_unpickle  
obj = unpickler.load()  
File "/home/qiime2/miniconda/envs/qiime2-2022.2/lib/python3.8/pickle.py", line 1212, in load  
dispatchkey[0]  
File "/home/qiime2/miniconda/envs/qiime2-2022.2/lib/python3.8/site-packages/j:

---

<div class="post-metadata">

**Author:** ![Nicholas\_Bokulich](https://forum.qiime2.org/user_avatar/forum.qiime2.org/nicholas_bokulich/32/19937_2.png) [@Nicholas\_Bokulich](https://forum.qiime2.org/u/Nicholas_Bokulich)\
**Post date:** [November 7, 2022, 10:21am UTC](https://forum.qiime2.org/t/plugin-error-from-feature-classifier-do-i-need-more-ram/24684/2 "2022-11-07T10:21:35Z")

</div>

Hi @hewsy ,

> [@hewsy](#):
>
> Does this means my computer's RAM is not enough for the run? My computer has only 8GB RAM in total so I can only allocate 5GB for its usage.

Correct! You will probably need at least 8 GB of RAM, but probably more like 12-16GB as you are working with SILVA. If you cannot access a more powerful computer, you might need to use a different classifier (e.g., greengenes or NCBI refseqs, which are smaller and hence take less RAM)

Good luck!

---

<div class="post-metadata">

**Author:** ![system](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/3X/2/1/21af5fe23cb6f4579467c66a9ed94e55274ca7bd.svg) [@system](https://forum.qiime2.org/u/system)\
**Post date:** [December 8, 2022, 4:22pm UTC](https://forum.qiime2.org/t/plugin-error-from-feature-classifier-do-i-need-more-ram/24684/3 "2022-12-08T16:22:25Z")

</div>

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