Closed Jordan-Anjie-Lu closed 4 years ago
Current savegame: IdleSpace2.txt
I looked for missing unsubscriptions, removed some animations, and disabled Ivy but the problem is not solved.
Unfortunately Angular has some memory leaks: https://github.com/angular/angular/issues?q=is%3Aopen+is%3Aissue+label%3A%22severity4%3A+memleak%22
I hope Angular team fixes it because it's hard to tell if it's my code fault or Angular fault.
This particular issue looks like a memory leak. When you change between tabs (which ones are currently unknown, I'll probably run a few tests in a bit), more space is taken up by the array and object. This results in the following. (This was on my first prestige, so there's still a lot of interaction.)
Initial load (or close to it):
7 minutes later:
10 minutes later:
7 minutes later. At this point, I set it to idle without any user interaction.
10 minutes later. Note that it hasn't used additional memory (It lists it as having shrunk, but that looks to be the scripts having shrunk? Optimization or something?) At this point, I resume messing around with the different tabs.
12 minutes later.
This does eventually lead to slowdown of the browser, and perhaps other unwanted side-effects. This can be cleared by refreshing the page.
All snapshots used, and a ZIP file of the snapshots: https://drive.google.com/drive/folders/1As8D_MqfSBCo_csiIx0aI3TGNPiodPeb?usp=sharing
Browser Info: 79.0 Firefox (stable) Windows 10 version 2004