Skip to content

Fix on default memory

Compare
Choose a tag to compare
@iquasere iquasere released this 05 Jun 09:11
· 27 commits to master since this release

When memory is inputted with --max-memory, UPIMAPI assumes it comes as Gb.

Default in UPIMAPI (when not explicitly inputting) was cheking for available memory, which comes in bytes. This lead to values in memory too large, that lead to values of block-size too small, and the reference database would be split in too many blocks. Then, UPIMAPI/DIAMOND would take forever.

Now, UPIMAPI parses default memory to Gb before determining block-size and number-of-chunks.