Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

Commit

Permalink
Dump heap on memory error in realignment
Browse files Browse the repository at this point in the history
Adding these options to help us get to the bottom of memory issues in
P5. They should not have any impact if there is no OOM error.
  • Loading branch information
pauldwolfe committed Feb 7, 2019
1 parent 2616d8f commit 0fbd40a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/Realignment.sh.tt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ cd "[% dirs.tmp %]"
assert_not_empty "[% sample_bam_path %]"

java -Xmx[% opt.REALIGNMENT_MASTER_MEM %]G \
-XX:+HeapDumpOnOutOfMemoryError \
-XX:HeapDumpPath="[% opt.OUTPUT_DIR %]" \
-Djava.io.tmpdir="[% dirs.tmp %]" \
-jar "[% opt.GATK_QUEUE_PATH %]/Queue.jar" \
-jobQueue [% opt.REALIGNMENT_QUEUE %] \
Expand Down

0 comments on commit 0fbd40a

Please sign in to comment.