r1207: reduced cap_kalloc from 1G to 500M

This reduces the peak memory.
This commit is contained in:
Heng Li
2024-03-20 15:53:12 -04:00
parent 89d4d219cd
commit 119bdc6029
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
#include <stdio.h>
#include <sys/types.h>
#define MM_VERSION "2.27-r1206-dirty"
#define MM_VERSION "2.27-r1207-dirty"
#define MM_F_NO_DIAG (0x001LL) // no exact diagonal hit
#define MM_F_NO_DUAL (0x002LL) // skip pairs where query name is lexicographically larger than target name
+1 -1
View File
@@ -55,7 +55,7 @@ void mm_mapopt_init(mm_mapopt_t *opt)
opt->max_clip_ratio = 1.0f;
opt->mini_batch_size = 500000000;
opt->max_sw_mat = 100000000;
opt->cap_kalloc = 1000000000;
opt->cap_kalloc = 500000000;
opt->rank_min_len = 500;
opt->rank_frac = 0.9f;