Modify

Opened 3 months ago

#24492 new defect

File browser very slow

Reported by: nuclear.madman@… Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

Open the file browser via any of the various Load or Save options, and navigate around folders.

What is the expected result?

The initial opening and subsequent navigation are essentially instant.

What happens instead?

JOSM takes 10-15 seconds to open the dialog initially and show a file list, and then a further 10-15 seconds after each navigation step to show the updated file list. During this time, JOSM is frozen.

Please provide any additional information below. Attach a screenshot if possible.

I suspect this is specific to my computer in some way, given the lack of similar reports. The issue has been present for several years.

It does not appear to matter how many files are in the directory being opened. A directory with 2 files takes as long as one with many.

My computer has several hard drives, both HDD and SSD, but which drive I am navigating does not appear to have any impact.

I am happy to look into generating profiling/timing information, but I would require instruction on how to do this - I'm not familiar with doing these activities for Java programs, or whether it is possible without a special debug build.

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2025-08-31 14:19:57 +0200 (Sun, 31 Aug 2025)
Revision:19439
Build-Date:2025-09-02 01:30:58
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (19439 en_GB) Windows 11 64-Bit
OS Build number: Windows 10 Home 23H2 (22631)
Memory Usage: 976 MB / 8160 MB (287 MB allocated, but free)
Java version: 21.0.5+11-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1920x1080x32bpp@60Hz (scaling 1.00×1.00) \Display1 1920x1080x32bpp@60Hz (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→32×32, 32×32→32×32
System property file.encoding: UTF-8
System property sun.jnu.encoding: Cp1252
Locale info: en_GB
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Dicedtea-web.bin.location=%UserProfile%\AppData\Local\Programs\OpenWebStart\javaws, -Djava.util.Arrays.useLegacyMergeSort=true, --add-reads=java.base=ALL-UNNAMED,java.desktop, --add-reads=java.desktop=ALL-UNNAMED,java.naming, --add-reads=java.naming=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/sun.awt=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/javax.jnlp=ALL-UNNAMED,java.desktop, --add-exports=java.base/com.sun.net.ssl.internal.ssl=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.net.www.protocol.jar=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.action=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.provider=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.util=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.validator=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.x509=ALL-UNNAMED,java.desktop, --add-exports=java.base/jdk.internal.util.jar=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/sun.awt.X11=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/sun.applet=ALL-UNNAMED,java.desktop,jdk.jsobject, --add-exports=java.naming/com.sun.jndi.toolkit.url=ALL-UNNAMED,java.desktop, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, --add-exports=java.desktop/com.apple.eawt=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=javafx.graphics/com.sun.javafx.application=ALL-UNNAMED, --add-exports=jdk.deploy/com.sun.deploy.config=ALL-UNNAMED, --add-opens=java.base/java.lang=ALL-UNNAMED, --add-opens=java.base/java.nio=ALL-UNNAMED, --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED, --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED, --add-opens=java.desktop/javax.imageio.spi=ALL-UNNAMED, --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED, --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED, -Djava.security.manager=allow]
Dataset consistency test: No problems found

Plugins:
+ Mapillary (1813)
+ OpeningHoursEditor (36438)
+ apache-commons (36438)
+ buildings_tools (36438)
+ imagery_offset_db (36438)
+ notesolver (0.5.0)
+ terracer (36438)
+ utilsplugin2 (36438)

Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/NewHighwayColors&zip=1

Validator rules:
+ https://josm.openstreetmap.de/josmfile?page=Rules/OSMLint&zip=1

Last errors/warnings:
- 00017.409 W: java.io.IOException: Attribution is not loaded yet
- 00017.410 W: java.io.IOException: Attribution is not loaded yet
- 00017.410 W: java.io.IOException: Attribution is not loaded yet
- 00017.411 W: java.io.IOException: Attribution is not loaded yet
- 00305.606 E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=503, Error Header=<Database offline for maintenance>
- 00305.611 E: Communication with OSM server failed - ResponseCode=503, Error Header=&lt;Database offline for maintenance&gt;
- 00905.548 E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=503, Error Header=<Database offline for maintenance>
- 00905.553 E: Communication with OSM server failed - ResponseCode=503, Error Header=&lt;Database offline for maintenance&gt;
- 01205.528 E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=503, Error Header=<Database offline for maintenance>
- 01205.531 E: Communication with OSM server failed - ResponseCode=503, Error Header=&lt;Database offline for maintenance&gt;

Attachments (0)

Change History (0)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to nuclear.madman@….
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.