When terminal(xterm) gets more and more data in it, it becomes slower and slower, and finally the webpage crashes.
The API polyfill mode on Android get out of memory and the interface on the page stops working.
The first item yields me this page:
Therefore I forked that repo, and I cleared the terminal every second.
https://github.com/GoogleChromeLabs/serial-terminal/compare/main...karelv:serial-terminal:main
I don't intend to PR it, as it is pretty annoying for use, but now I don't get the above 'Snap' page, and instead I got the same error as I previously observed with my own html/javascript implementation using the web-serial-polyfill lib.
As you can see in less than 3 minutes the error appears, as seen from the chrome://device-log.
My use-case requires a lot of data is sent over the serial port. In order to test-case it, I made a small Arduino sketch that send every 100ms a 1kByte message. https://github.com/karelv/web-serial-example/tree/main/dumper-arduino
I found that:
The first item yields me this page:
Therefore I forked that repo, and I cleared the terminal every second. https://github.com/GoogleChromeLabs/serial-terminal/compare/main...karelv:serial-terminal:main I don't intend to PR it, as it is pretty annoying for use, but now I don't get the above 'Snap' page, and instead I got the same error as I previously observed with my own html/javascript implementation using the web-serial-polyfill lib. As you can see in less than 3 minutes the error appears, as seen from the chrome://device-log.