Leetcode website causes browser memory leak

The memory usage of my browser climbs the longer I am working on a Leetcode problem. After half an hour it will be in the gigabyes. Eventually the computer starts to become unresponsive as the browser is using all of the memory. For Hard problems I usually have to close the browser and write the solution using an editor on my computer so that I don't have the Leetcode website open for too long.

I use Firefox ESR (115) with the uBlock Origin extension and Firefox's resist fingerprinting option enabled, on Debian Linux. I am still using Leetcode's old layout.

Comments (9)