From: Heng Li Date: Sun, 18 Mar 2012 21:36:26 +0000 (-0400) Subject: change the default block size in sorting X-Git-Url: https://git.donarmstrong.com/?p=samtools.git;a=commitdiff_plain;h=4c016a8c036a60ae84e7d59d0cb6f49aab35f534 change the default block size in sorting --- diff --git a/bam_sort.c b/bam_sort.c index 166be2a..bbb8f2d 100644 --- a/bam_sort.c +++ b/bam_sort.c @@ -486,7 +486,7 @@ void bam_sort_core(int is_by_qname, const char *fn, const char *prefix, size_t m int bam_sort(int argc, char *argv[]) { - size_t max_mem = 1<<29; // 512MB + size_t max_mem = 768<<20; // 512MB int c, is_by_qname = 0, is_stdout = 0, n_threads = 0; while ((c = getopt(argc, argv, "nom:@:")) >= 0) { switch (c) {