Malloc_error_break and job termination while running Kallisto
1
0
Entering edit mode
7.8 years ago
MagnumOpus • 0

Good morning, all,

I'm running Kallisto on a Mac (OX X El Capitan 10.11.6) and I think I am getting a memory error while running Kallisto quant. Unfortunately, my computer skills aren't such that I can work around the issue on my own.

My Kallisto Index ran without any issue, producing a file of transcripts.idx file of 177 mb in size (FASTA file obtained from Patcher Lab Kallisto website). The .fastq.gz files are 400 mb each. I have pasted the entry/error I receive while running Kallisto Quant below. Has anyone else received this error while attempting to run Kallisto? Does anyone know of a good workaround? Thanks in advance!

$ kallisto quant -i transcripts.idx -o output -b 100 2_S1_L001_R1_001.fastq.gz 2_S1_L001_R2_001.fastq.gz
[quant] fragment length distribution will be estimated from the data 
[index] k-mer length: 31 [index] number of targets: 88,198 
[index] number of k-mers: 82,099,631 
[index] number of equivalence classes: 0 <P>kallisto(2237,0x7fff7656b000) malloc: *** mach_vm_map(size=281469558853632) failed (error code=3)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug libc++abi.dylib: terminating with uncaught exception of type std::bad_alloc: std::bad_alloc 
Abort trap: 6
RNA-Seq Kallisto Memory • 2.2k views
ADD COMMENT
1
Entering edit mode

How much memory do you have on this Mac? Do you get the error right away or after some time?

ADD REPLY
0
Entering edit mode

4gb x2.

I tried clearing out memory hogging apps (Chrome, etc.). Memory used hovers around 4gb, cached files approx 2.5 gb, no swap used.

ADD REPLY
0
Entering edit mode
7.8 years ago
MagnumOpus • 0

Update/resolved: the memory error resolved after three cycles of shutting down. Not skilled enough to explain why, but happy I'm finally able to run Kallisto Quant without error. Perhaps another program I was running was causing a memory leak.

Thanks for the help genomax!

ADD COMMENT

Login before adding your answer.

Traffic: 2004 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6