-
-
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
we have a memory leak somewhere #10890
Comments
+1. I've noticed an uptick in tab crashes in recent weeks. |
looks like ~18% of the tab's memory pre-crash is spent storing my own custom status. Comparing to a "normal" usage snapshot, only ~8% is used for custom status. Something seems to duplicate objects in there, somehow. Also MegolmEncryption is a very heavy class, topping the charts in both the normal and pre-crash snapshots. Both at the same value though. More investigation needed. |
Blocked on more data - custom status seems to be the fault for me, but I have a hard time believing that is the case for everyone affected by this. |
Edit: Now there is a documentation page: https://github.com/vector-im/riot-web/blob/develop/docs/memory-profiles-and-leaks.md Instructions for getting a memory profile, source + some changes : https://matrix.to/#/!DdJkzRliezrwpNebLk:matrix.org/$15698610401101qMXQV:t2l.io?via=matrix.org&via=taylorbuchanan.com&via=t2l.io Firefox:
Note that with Firefox the tab might be inoperable during the process above. Chromium/Chrome:
Note that with Chorimum/Chrome the tab might be inoperable during the process above. If you start catching the tab spontaneously freezing as you click around and type messages, grab a snapshot - there's a good chance it is about to crash on you. |
Checking in to say I will get a white screen of death at least once a day, which I believe is due to memory consumption issues. |
@Half-Shot please get memory profiles so we can figure out what is going on. One of "normal" (about 30-60 minutes after startup) and one of just before crash (ie: the 23rd hour before crash). See https://github.com/vector-im/riot-web/blob/develop/docs/memory-profiles-and-leaks.md for more info |
Kk, will do. |
I've just noticed my riot-web had accumulated a lot of memory and snapshotted it. There was an awful lot of stuff retained by velocity so I suspect this has regressed again. Rather than taping it back up again I suggest we kill velocity as native CSS animations must be non-terrible by now. |
I also have a backlog of community profiles to look at, but am hoping to find a trend somewhere. It sounds like we should kill velocity independently of bugs it might have. |
If you do happen to have the custom status lab enabled, a leak in that feature was just fixed on develop. |
@turt2live Is this general meta-issue useful to keep open? Are you still noticing memory issues? |
We still do have a memory leak, though not as severe as when reported. I'm not currently looking at it though |
I think we fixed this by accident. |
My riot tab gets to 3.5gb before noticeable slowness. Takes 24h or so to get there. This is recent - am looking into it
The text was updated successfully, but these errors were encountered: