mirror of
https://github.com/lh3/minimap2.git
synced 2026-10-08 20:38:12 +08:00
r1207: reduced cap_kalloc from 1G to 500M
This reduces the peak memory.
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <sys/types.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_DIAG (0x001LL) // no exact diagonal hit
|
||||||
#define MM_F_NO_DUAL (0x002LL) // skip pairs where query name is lexicographically larger than target name
|
#define MM_F_NO_DUAL (0x002LL) // skip pairs where query name is lexicographically larger than target name
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ void mm_mapopt_init(mm_mapopt_t *opt)
|
|||||||
opt->max_clip_ratio = 1.0f;
|
opt->max_clip_ratio = 1.0f;
|
||||||
opt->mini_batch_size = 500000000;
|
opt->mini_batch_size = 500000000;
|
||||||
opt->max_sw_mat = 100000000;
|
opt->max_sw_mat = 100000000;
|
||||||
opt->cap_kalloc = 1000000000;
|
opt->cap_kalloc = 500000000;
|
||||||
|
|
||||||
opt->rank_min_len = 500;
|
opt->rank_min_len = 500;
|
||||||
opt->rank_frac = 0.9f;
|
opt->rank_frac = 0.9f;
|
||||||
|
|||||||
Reference in New Issue
Block a user