Skip to content

Commit

Permalink
Increase memory for correctReads.
Browse files Browse the repository at this point in the history
  • Loading branch information
brianwalenz committed Oct 14, 2017
1 parent 66b5c29 commit 36a3c50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pipelines/canu/CorrectReads.pm
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ sub estimateMemoryNeededForCorrectionJobs ($) {
open(F, "< $path/$asm.readsToCorrect.stats") or caExit("can't open '$path/$asm.readsToCorrect.stats' for reading: $!", undef);
while (<F>) {
if (m/Maximum\s+Memory\s+(\d+)/) {
$memEst = int($1 / 1073741824.0 + 0.5) * 2;
$memEst = int(4 * $1 / 1073741824.0 + 0.5);
}
}
close(F);
Expand Down

0 comments on commit 36a3c50

Please sign in to comment.