ablab / spades

SPAdes Genome Assembler
http://ablab.github.io/spades/
Other
713 stars 131 forks source link

abnormally, OS return value: -6 #1315

Closed unique379r closed 2 weeks ago

unique379r commented 2 weeks ago

Description of bug

Hi

I am trying to run a tool called spades to assemble short Illumina reads. By default, it requires --thread 16 and --memory 250G, but due to the limitations of our system, I used 170G with 16 cores in my script to run. For the smaller mRNA sample, it was fine and I got the result but it failed for the "Total RNA samples" with the following errors:

====
mimalloc: error: unable to allocate OS memory (268435456 bytes, error code: 12 [Cannot allocate memory], address: (nil), large only: 0, allow large: 1)
mimalloc: process info:
   elapsed:  132077.329 s
   process: user: 1202392.542 s, system: 12470.498 s, faults: 2536759
       rss: current: 182976573440, peak: 180651126784
    commit: current: 182976573440, peak: 182976573440== Error ==  system call for: "['/stornext/snfs130/fritz/rupesh/GIAB_Project/illumina/SPAdes-3.15.5-Linux/bin/spades-core', '/stornext/snfs130/fritz/rupesh/GIAB_Project/illumina/SPAdes-3.15.5-Linu
x/spades_HG005_GM24631_replicate1_results/K73/configs/config.info', '/stornext/snfs130/fritz/rupesh/GIAB_Project/illumina/SPAdes-3.15.5-Linux/spades_HG005_GM24631_replicate1_results/K73/configs/md
[a_mode.info](http://a_mode.info/)', '/stornext/snfs130/fritz/rupesh/GIAB_Project/illumina/SPAdes-3.15.5-Linux/spades_HG005_GM24631_replicate1_results/K73/configs/rna_mode.info']" finished abnormally, OS return value: -
6
None

====

spades.log

spades.log

params.txt

params.txt

SPAdes version

SPAdes-3.15.5-Linux

Operating System

x86_64 GNU/Linux

Python Version

Python 3.7.12

Method of SPAdes installation

binaries (https://github.com/ablab/spades/releases/download/v3.15.5/SPAdes-3.15.5-Linux.tar.gz)

No errors reported in spades.log

asl commented 2 weeks ago

The log clearly reads:

mimalloc: error: unable to allocate OS memory (268435456 bytes, error code: 12 [Cannot allocate memory], address: (nil), large only: 0, allow large: 1)

So you are running out of RAM