Opened 9 years ago
Last modified 9 years ago
#14090 closed defect
RelationList dialog causes very severe performance issues — at Initial Version
| Reported by: | nyurik | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | 16.12 |
| Component: | Core | Version: | |
| Keywords: | relationlist performance | Cc: |
Description
In file josm/core/src/org/openstreetmap/josm/gui/dialogs/RelationListDialog.java line 151:
displaylist.addListSelectionListener(e -> updateActionsRelationLists());
Whenever I try to fetch Wikidata IDs for a large set of relations, JOSM freezes, sometimes for hours, with 100% CPU on a single thread. Debugging showed that all the work is being done in the above function. If I close the RelationList dialog, it finishes in seconds. I tried it in 11362 (svn build)
Repo: Install wikipedia plugin, and get 1000+ objects using this query. Select all relations, and "fetch Wikidata IDs" (Data menu).
[out:xml][timeout:50];
(
relation["wikipedia"]({{bbox}});
);
out meta;


