# Pathway\_pipeline.py with stratified input - Process killed by system "Out of memory"

**URL:** <https://forum.biobakery.org/t/pathway-pipeline-py-with-stratified-input-process-killed-by-system-out-of-memory/4258>\
**Category:** PICRUSt\
**Created:** [October 17, 2022, 2:28pm UTC](https://forum.biobakery.org/t/pathway-pipeline-py-with-stratified-input-process-killed-by-system-out-of-memory/4258 "2022-10-17T14:28:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tybonic](https://avatars.discourse-cdn.com/v4/letter/t/f9ae1b/32.png) [@tybonic](https://forum.biobakery.org/u/tybonic)\
**Post date:** [October 17, 2022, 2:28pm UTC](https://forum.biobakery.org/t/pathway-pipeline-py-with-stratified-input-process-killed-by-system-out-of-memory/4258/1 "2022-10-17T14:28:54Z")

</div>

I am trying to run pathway\_pipeline.py. It works with the file from the tutorial ([http://kronos.pharmacology.dal.ca/public\_files/picrust/picrust2\_tutorial\_files/v2.2.0-b\_additions/pred\_metagenome\_contrib.tsv.gz](http://kronos.pharmacology.dal.ca/public_files/picrust/picrust2_tutorial_files/v2.2.0-b_additions/pred_metagenome_contrib.tsv.gz)). When using my own data it only works with the unstratified output from metagenome\_pipeline.py. When using the stratified file, the process is terminated by system because there is not enough RAM available. The size of my stratified file is 1.2 GB. Is that unusually large and I should check the previous steps? I’m also happy about any other suggestions that might bring me closer to running the script!

I’m running picrust 2.5.0 which I installed from source. My system has 64 GB of RAM.
