Skip to content

Commit

Permalink
r1207: reduced cap_kalloc from 1G to 500M
Browse files Browse the repository at this point in the history
This reduces the peak memory.
  • Loading branch information
lh3 committed Mar 20, 2024
1 parent 89d4d21 commit 119bdc6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion minimap.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion options.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 119bdc6

Please sign in to comment.