I'm using streams, and I get: Uncaught RangeError: Maximum call stack size exceeded | RangeError: Maximum call stack size exceeded at Object.LoadFromStream$1 (http://localhost:8000/ ... .js:19428:34) at Object.InputFromCSVStream (http://localhost:8000/ ... .js:169753:51) at Object.LoadFromCSVStream
It seems to be more a size issue than an encoding issue. Everything works fine while the data is not so big. I could not use TEncoding.Unicode as in that previous topic because of some other charset issue (Browser throws Failed to execute 'btoa' on 'Window': The string to be encoded contains characters outside of the Latin1 range)
Is there anything new or any other workaround about this kind of size limit ?
In weblib.FNCxxx aren't there any procedure/function/event calls inherited from VCL FNC units that behave asynchronously in web framework, so that they could cause this call stack overflow when data become bigger? Other kind of recursive calls that could be very data-size sensible?
43KB, 68 rows Ok.
229KB, 396 rows Ok.
271KB, 464 rows: Uncaught RangeError: Maximum call stack size exceeded at Object.LoadFromStream$1 , at Object.InputFromCSVStream .
It's not a file. It's a TStringStream I'm loading from.
When I tried to follow what you said in that former topic (in that case, a file, not stream) and used Unicode at both sides , I got an error from Edge when loading the stream: Failed to execute 'btoa' on 'Window': The string to be encoded contains characters outside of the Latin1 range.