nextclade
nextclade copied to clipboard
Warn users about memory consumption when they try to run on huge datasets
We might want to give users a hint that Nextclade requires a lot of memory in case there are many sequences.
We can simply take fasta files size and upon some threshold to show a reactstrap alert informing users about that fact and recommend them splitting their datasets in multiple chunks as well as common memory-freeing steps.
It is essential to explain that all computation is happening on their computer. Which is perhaps not intuitive, because users are not accustomed for web apps that do so.
Optionally, we might also correlate this with the amount of memory available, but this is not easy to detect and might be considered intrusive.
Personally, I don't think people would perceive checking available memory as intrusion.
Memory checks, better OOM errors and num threads settings is implemented in #449. We might still detect large fasta files and warn user before run.