nextclade icon indicating copy to clipboard operation
nextclade copied to clipboard

Warn users about memory consumption when they try to run on huge datasets

Open ivan-aksamentov opened this issue 3 years ago • 2 comments

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.

ivan-aksamentov avatar Jun 14 '21 09:06 ivan-aksamentov

Personally, I don't think people would perceive checking available memory as intrusion.

corneliusroemer avatar Jun 14 '21 10:06 corneliusroemer

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.

ivan-aksamentov avatar Jun 21 '21 13:06 ivan-aksamentov