Opened 9 years ago

Last modified 9 years ago

#14090 closed defect

RelationList dialog causes very severe performance issues — at Version 3

Reported by: nyurik Owned by: team
Priority: normal Milestone: 16.12
Component: Core Version:
Keywords: relationlist performance Cc:

Description (last modified by Don-vip)

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;

Change History (3)

comment:1 by skyper, 9 years ago

Thanks for your report, however your ticket is incomplete and therefore not helpful in its current form.

Please add all needed information according to this list:

  • The required parts of the Status Report from your JOSM.
  • Describe what behaviour you expected.
  • Describe what did happen instead.
  • Describe if and how the issue is reproducible.
  • Add any relevant information like error messages or screenshots.

To ensure that all technical relevant information is contained, create new tickets by clicking in JOSMs Main Menu on Helpsource:trunk/resources/images/bug.svg Report Bug.

Remember: This is a generic notice so we don't need to write the same stuff again and again. It may only apply in parts to the specific case!


comment:2 by Klumbumbus, 9 years ago

Keywords: performance added

comment:3 by Don-vip, 9 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.