Limitation on File.toString?

Hello Elm-discourse.
I have a nice stable app that uses File.toString to load in GPX files (XML).
Some users are reporting non-responsive app.
I have now seen an error in the console (Edge, Windows 10).
Uncaught RangeError: Maximum call stack size exceeded at Main.js:1 | at WS (Main.js:1) | … (repeated).
It’s a 330KB file but it opens on my machine (as do much larger files).
Only a few users have this issue. It seems to relate to file size – in one example, removing a few lines makes it work.



This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.