linnarsson-lab / loom-viewer

Tool for sharing, browsing and visualizing single-cell data stored in the Loom file format
BSD 2-Clause "Simplified" License
35 stars 6 forks source link

Out of Memory issues for large datasets + large gene selections #97

Open JobLeonard opened 7 years ago

JobLeonard commented 7 years ago

I have been running into allocation bugs: screenshot_20170418_104532

What you're looking at is the browser complaining through my console that it doesn't have enough memory to allocate arrays for all the genes.

Now, this happens when I visit multiple 10k+ sized loom files after another, and request a few hundred genes in each. So not a worry at the moment

If we want to scale to 100k or 1 million cells this will start happening with a handful of genes, so it is something to anticipate for later.

There are two main reasons this happens:

Fixing this will be a painful process, and is not necesary right now. It should be done at some point, however.

Roadmap:

JobLeonard commented 7 years ago

Note: partially fixed by not fetching all genes at once