I am developing a chrome extension for a foreign website (I don't control it) that uses Lightstreamer to send large amounts of data to the browser.
Without DevTools opened, the website runs fine for a long duration (ex: 8 hours)
When I open DevTools, it runs out of memory after approx 15 minutes.
I watch Chrome's Task Mgr with the column "JavaScript memory" displayed, and I can observe the memory increasing.
The JS mem column displays 2 values, a total and a live amount. They both grow until the tab dies, and the DevTools window closes automatically.
If I close the DevTools tab early, Task Mgr shows the memory value fall drastically, as if garbage collection finally kicks in.
This only occurs on this single website, so it might be using bad coding practices, but since I can't control it, it makes debugging my extension painful.
I recently reset DevTools settings and restarted the entire computer, but the symptoms persist.
I'm wondering if others have experienced this and if there is anything I can do to minimize this issue, other than closing the DevTools tab every 5 minutes to save the tab?
thanks