Skip to content

Commit

Permalink
fix default memory limit in sort
Browse files Browse the repository at this point in the history
  • Loading branch information
lomereiter committed Mar 24, 2015
1 parent 3d16f67 commit 9e00889
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sambamba/sort.d
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class Sorter {

BamReader bam;
TaskPool task_pool;
size_t memory_limit = 2 * 1024 * 1024 * 1024;
size_t memory_limit = 2u * 1024 * 1024 * 1024;
string tmpdir;
int compression_level = -1;
bool uncompressed_chunks = false;
Expand Down

0 comments on commit 9e00889

Please sign in to comment.