akdess / BAFExtract

5 stars 5 forks source link

terminate called after throwing an instance of 'std::bad_alloc' #14

Closed emblake85 closed 1 year ago

emblake85 commented 1 year ago

I am test running BAFExtract on 1 sample, and my run keeps aborting. See below command issued and error:

samtools view /path/to/test_sorted.bam | /path/to/BAFExtract/bin/BAFExtract -generate_compressed_pileup_per_SAM stdin /path/to/genome_list/hg19.list /path/to/test/ 255 0
Generating pileup from SAM file with min mapp qual 255, min base qual 0
Dumping the pileups per SAM file stdin
Allocating pileup memory.
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc

How much memory is needed for the software to run?

emblake85 commented 1 year ago

HPC memory consumption related issue