Skip to content

[Issue] Very high memory usage #4

Description

@njspix

Describe the bug
Biscuit uses memory in excess of 200G when mapping relatively small .fastq files against a joint reference.

BISCUIT version
Version: 0.3.16.20200420

Minimally Reproducible Example

  1. Reference genome: joint hg38d1 and mm10 reference
  2. Small dataset to run on (make sure the dataset returns the same error) OneDrive link
    These are a set of paired-end fastq files ~60MB/1.9 mn reads in size. They are negative controls from a single-cell experiment so probably will not map well.
  3. Command(s) run
qsub -I -l nodes=1:ppn=20,mem=200G
biscuit align -M -t 20 $ref 72_trimmed_R1.fq.gz 72_trimmed_R2.fq.gz > 72.sam
  1. Error given
    Process is killed (either by cluster scheduler or by Linux kernel) when RAM usage exceeds limit (200G in this instance).

Expected behavior
I'm not sure whether this represents a memory leak or just an edge case in which Biscuit is consuming a great deal of memory due to weirdnesses in the input file and the large reference.

Computer Resources

  • OS: CentOS 7, kernel 3.10.0-514.10.2.el7.x86_64
  • RAM: 376 G
  • CPUs: 40 hyperthreaded (virtual) cores

Additional context
I'm aware that memory usage scales with the # of cores used but I've successfully mapped much larger fastq files against the same reference using the same number of cores, so this issue was a surprise to me.

Screenshots
image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions