Coder Social home page Coder Social logo

Comments (4)

danmarshall avatar danmarshall commented on April 28, 2024

Hi @bkmeneguello, thanks for posting this. There will of course, be some maximum limit of what can be loaded / displayed. Currently, we don't know exactly what that limit is, but it is probably around 500k rows.

A followup issue, is that the app should fail more gracefully than crashing.

from sanddance.

bkmeneguello avatar bkmeneguello commented on April 28, 2024

Hi @danmarshall, thanks for your answer but where these limits come from? It's a js engine limitation or something that could be tuned? I have enough memory to accommodate all these data multiple times, so there could be possible to load lots of data (also for video memory). I understand if this can lead to performance issues since js is single threaded and workers aren't always an option.

from sanddance.

danmarshall avatar danmarshall commented on April 28, 2024

Hi @bkmeneguello, searching that error message, I see the there is a 1GB limit for Node.js heap size: nodejs/node#17878 (comment)

We probably need to have a chunking strategy instead of loading the entire file all at once.

from sanddance.

danmarshall avatar danmarshall commented on April 28, 2024

I'd be happy to take a PR for splitting the file into chunks.
The backend code is here, and the frontend code is here

That will get us around this specific error message, but we may have the same buffer problem in the frontend, eventually. Not sure how to deduce what the limits of one's browser should be.

from sanddance.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.