Page MenuHomePhabricator

Gerrit is a browser memory hog
Closed, DeclinedPublic

Description

Gerrit is a browser memory hog and/or makes my browser hang when "Diff all side-by-side" of https://gerrit.wikimedia.org/r/#change,4631. Seems to be caused by tests/messageindexdata.ser. I think Gerrit probably shouldn't just open these kind of files.

FF11 used 1.2GB when done after a few minutes.

Steps to reproduce:

  1. Open https://gerrit.wikimedia.org/r/#/c/4631/1/tests/messageindexdata.ser

I. Observed, Chromium 44.0.2403.157: CPU usage 100 % and RAM usage increases indefinitely; the "unresponding window" turns up and by terminating it the second time RAM usage is limited to 600 MB.
II. Observed, Firefox 39.0: CPU usage is 100 % indefinitely, browser freezes entirely; RAM usage increases for a bit (200 MB?) and then goes down. The browser has to be terminated by the OS.


Version: unspecified
Severity: normal
See Also:
https://bugzilla.mozilla.org/show_bug.cgi?id=842623

Details

Reference
bz35860

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 12:11 AM
bzimport set Reference to bz35860.
bzimport added a subscriber: Unknown Object (MLST).

A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete.
<andre__> Script: https://gerrit.wikimedia.org/r/gerrit_ui/CF42DB02C9A85777BE331C90AA0419DE.cache.html:4386

I've forwarded this to https://bugzilla.mozilla.org/show_bug.cgi?id=842623 .

(In reply to comment #1)

I've forwarded this to https://bugzilla.mozilla.org/show_bug.cgi?id=842623 .

Marked needinfo since 2013-08-26, maybe someone other than Andre can add more information there.

hashar claimed this task.
hashar subscribed.

I don't think this is much of an issue nowadays. I haven't heard about such complaint recently and since the bug has been opened: we upgraded Gerrit, new browsers versions have been released. IIRC one of the issue we had was looking at diff views with syntax highlighting. In my experience that is no more causing any issue.

Thus abandoning this bug. No point in keeping it idle here.

I doubt this issue has ever solved. Personally, I just stopped clicking the things which I know will crash my browser, and I switched to the new change screen which has less issue (though due to T65847 we're stuck to an ancient version, the worst available in the whole history of gerrit releases probably).