Ticket #18709

2
Type
Bug Report
Status
Accepted
Opened by
Views
299
Access
Public
Created
11/27/22 8:03 am 11/27/22 8:03 am
Updated
11/29/22 10:44 am 11/29/22 10:44 am
Assigned

Memory leak from the Planet Animation

Account name: Moxvallix
Browser: Firefox 106.0.5 (64-bit)
Operating System: Arch Linux
KDE Plasma Version: 5.26.3
Kernel Version: 6.0.7-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 8 × 11th Gen Intel® Core™ i7-1165G7 @ 2.80GHz
Memory: 15.4 GiB of RAM

I left Planet Minecraft open on my recent submission, and left my computer.

When I returned, the tab had seemingly crashed. I restored the tab, and left it a while again,
only for it to crash a second time.

I restored the tab again, and this time watched my system memory. It managed to use up to 93% of my ram, within around 5 minutes,
before this time resetting to the usual idle amount of 30% (it didn't crash this time for some reason).

I thought it might be an issue with my computer, so I opened a Reddit tab, but did not have any unusual memory usage.

As I am typing this report, I have noticed that whilst I have the text area focused, my memory usage does not seem to increase.
However, clicking any other element of the page appears to restart the memory leak back up again.

I believe that it may have something to do with the spinning planet, as I have noticed that it does not spin when I have this text area
focused, but does spin when it is not focused, and the memory leak occurs.

Disabling the planet animation seems to fix the memory leak, further suggesting that it is the issue.

  Have something to say?

JoinSign in

Paril
12/07/2022 10:33 am
He/Him • Level 89 : Elite Scapegoat Programmer
I disabled it on Firefox for now; it appears to be a legitimate bug in Firefox that is years old at this point :(
1
Moxvallix
12/08/2022 3:18 am
He/Him • Level 52 : Grandmaster Procrastinator
In my testing, I was able to reset the memory usage by having it stop, then start again. Maybe a fix could instead of disabling it for firefox, maybe it could stop/start itself every minute or so when on firefox? Might mitigate the issue.
1
Paril
12/01/2022 8:53 am
He/Him • Level 89 : Elite Scapegoat Programmer
I wasn't able to reproduce the memory leak on Chrome; I suspect it's an issue specific to Firefox. Browsers shouldn't even be able to use nearly 12 GB of RAM unchecked. I'll dig a bit deeper today.
1
Cyprezz
11/29/2022 10:44 am
Level 71 : Legendary
set status to Accepted, assigned Paril.
Thanks, I'm assigning the dev that created the spinning planet to look further into this.
1

Welcome