Waterfox icon indicating copy to clipboard operation
Waterfox copied to clipboard

[Linux Mint Cinnamon 22.3] Severe Memory Leak when opening Investing.com

Open PlayfulPiano opened this issue 8 months ago • 2 comments

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.

Image

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.

Image Image

I also attempted to open this page in a private window which just has UBO installed, and the same memory leak issue appears there:

Image Image

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

PlayfulPiano avatar Mar 09 '26 00:03 PlayfulPiano

Same issue with Firefox 140.8.0esr (64-Bit) on Debian Trixie.

glasid avatar Mar 13 '26 10:03 glasid

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.

glasid avatar Mar 14 '26 16:03 glasid