-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JS heap usage is leaking alarmingly and causing long-lived tabs to crawl #2647
Comments
(except the chrome process in question is 'only' 2.4GB RSZ, and the box isn't swapping :/) |
rather splendidly, the Inspector crashes about 5 minutes into trying to generate a heapdump, so i have no clue what state Chrome's in here :( Restarting... |
i think this is basically a memory leak - tabs which are older than a few days seem to be using loads of heap. |
i imagine this will be very problematic for electron too. may be related to #2109. |
let's not assume this is e2e until proven otherwise |
this is indeed just running out of heap, which is capped at 1.5GB on Chrome. It's been improved by various bugfixes by kegan but it's still a problem because we simply never reap old events from memory. |
closing as a dup of #2951 |
I think this may be an artefact of the increasing number of E2E rooms, but on Chrome I got 6 minute's worth of "application unresponsive" warnings on unsleeping this morning interspersed with snatches of responsivity. It finally recovered; here's the JS console:
wedged-during-catchup.txt
It's possible that the JS heap had grown so huge that Chrome was swapping, given that it's been trying to generate a JS heap snapshot for the last 4 minutes now and has only got 32% of the way there.....
The text was updated successfully, but these errors were encountered: