gerrit/gerrit-server
Luca Milanesio 4b344f5db5 ListProjects: Refactor to avoid excessive heap usage
The JVM heap explosion during project list was introduced during the
migration to the permission backend in change I0ba5491fc.

Avoid pre-computing all the projects permissions and visibility checks
when rendering the list, keeping the navigation through an iterator
(fixed memory occupation) instead of pre-loading everything into a
collection (variable memory occupation).

Bug: Issue 10326
Change-Id: I7f0b7efcd57f096d2643723130bd543718b5dcc5
2019-01-22 16:02:20 +09:00
..
src ListProjects: Refactor to avoid excessive heap usage 2019-01-22 16:02:20 +09:00
BUILD Merge branch 'stable-2.14' into stable-2.15 2019-01-09 23:10:35 +01:00