Replies: 1 comment 3 replies
-
Chrome by default limits the memory used per tab to 1-2GB, depending on your system. There are workarounds (e.g. using a binary representation of your data) to save memory, but ultimately, you can't load and render an arbitrarily big GeoJSON all at once. Since you have a backend you should consider splitting your data into tiles and use the |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
Recently been having issues with deckGL which I think is related to performance. I have a huge data set that I stream using an express server and deckGL consumes. My problem is, the JSON file is 2GB (2.2m records) and Chrome tab just crashes with Error 5.
Although when I try to stream a 500mb JSON file (1.1m records) it performs fine. Can you let me know how I can display the larger JSON file without it crashing? I've tried async iterables and currently using fetchFile from loaders.gl to get the data.
Any help related to improving my code both streaming and deckGL is welcome
loading data in deckGL: https://imgur.com/78TrIET
Scatterplot layer: https://imgur.com/HaRsW0v
Express JSON stream: https://imgur.com/kxSIGFF
Thank you
Beta Was this translation helpful? Give feedback.
All reactions