From 4c016a8c036a60ae84e7d59d0cb6f49aab35f534 Mon Sep 17 00:00:00 2001 From: Heng Li Date: Sun, 18 Mar 2012 17:36:26 -0400 Subject: [PATCH] change the default block size in sorting --- bam_sort.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.39.2