epruesse/SINA

Limit max memory

Opened this issue · 1 comments

With large reference databases, the reference sequence cache can grow over time to lead to a late crash during execution. Allow specifying --max-mem.

  • Make sequence cache an LRU cache
  • Compute total mem usage:
    • index
    • cache
    • matrix
    • rest
  • Limit threads?

Would fix the problem reported in #74