[Linux Mint Cinnamon 22.3] Severe Memory Leak when opening Investing.com
What happened?
I had this website opened to check the oil spike (as you do), and my computer's RAM usage absolutely skyrocketed until waterfox was killed by the OS due to OOM.
Having the website open and loaded in any capacity will lead to this memory leak. I attempted the same on Firefox and did not run into the memory leak.
I also attempted to open this page in a private window which just has UBO installed, and the same memory leak issue appears there:
Reproducible?
- [x] I have checked that this issue cannot be reproduced on Mozilla Firefox.
Version
6.6.9
What platform are you seeing the problem on?
Linux
Same issue with Firefox 140.8.0esr (64-Bit) on Debian Trixie.
In my opinion, the issue lies with investing.com. It appears that Investing's Nginx web server only accepts the "Upgrade" connection header for WebSocket connections.
On my end, Firefox 140.8esr sends the "keep-alive, Upgrade" connection header when trying to establish a WebSocket connection. As a result, the protocol switch fails, and I receive a 404 error.
Investing.com continuously attempts to establish a WebSocket connection, which ultimately leads to memory exhaustion.
For testing purposes, I installed the HeaderEditor add-on to modify the WebSocket connection's connection header to "Upgrade" only. This works as expected.