#17176 closed defect (invalid)
Application extreme sluggish
Reported by: | anonymous | Owned by: | anonymous |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | |
Keywords: | template_report performance | Cc: | Matthias.Wirtz@… |
Description
What steps will reproduce the problem?
- Open JOSM and retrieve OSM data
- Pan or zoom the map
What is the expected result?
Map is zoomed or panned promptly
What happens instead?
It takes around 30 sec for panning the map. Zooming seems to work in 20 secs. The map only includes a couple ob blocks, so rather small. The sluggish behaviour was not the case in earlier versions. I don't know exactly since which version this happened.
Please provide any additional information below. Attach a screenshot if possible.
URL:https://josm.openstreetmap.de/svn/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2018-11-28 01:09:01 +0100 (Wed, 28 Nov 2018) Build-Date:2018-11-28 00:26:41 Revision:14460 Relative:URL: ^/trunk Identification: JOSM/1.5 (14460 en) Linux openSUSE Leap 15.0 Memory Usage: 409 MB / 910 MB (145 MB allocated, but free) Java version: 1.8.0_181-b13, Oracle Corporation, OpenJDK 64-Bit Server VM Screen: :0.0 1680x1050 Maximum Screen Size: 1680x1050 Java package: java-1_8_0-openjdk:x86_64-1.8.0.181 Dataset consistency test: No problems found Last errors/warnings: - W: No configuration settings found. Using hardcoded default values for all pools.
Attachments (0)
Change History (9)
comment:1 by , 7 years ago
Cc: | added |
---|
comment:2 by , 7 years ago
comment:3 by , 7 years ago
Keywords: | performance added |
---|---|
Owner: | changed from | to
Status: | new → needinfo |
comment:4 by , 7 years ago
Hi,
I did already test it with the latest version too. Version 14620 from 2018-12-31. Same behavior here.
I'm downloading e.g. the following bounding box: 49.47, 8.47, 49.48, 8.48.
I figured out that the effect is worse if zoomed in.
Thanks for looking at this.
comment:5 by , 7 years ago
I cannot reproduce a performance problem here with the JOSM default mappaint style. Maybe you use other styles?
comment:6 by , 7 years ago
I'm using the JOSM default (MapCSS) Map Paint Style.
When I deactivate all Map Paint Styles then the Map reacts as normal, all zooming and panning occurs promptly.
If I use either Potlatch 2 or JOSM default (MapCss) the map gets sluggish.
Might there be an JRE related issue? Which version are you running?
comment:7 by , 7 years ago
I am using java version "1.8.0_191" (from Oracle) on Windows, so yes, try to update first.
Besides: Your area contains a lot of rails which means a lot of dashed lines. Please check if the problem disappears when those are not visible. Do you see high CPU usage when JOSM is slow?
Just to make sure: You did not mention background images, so this is really about rendering the OSM data, not the background images? With many background images you may run out of memory and that always slows down everything.
comment:8 by , 7 years ago
Resolution: | → invalid |
---|---|
Status: | needinfo → closed |
I don't have background images. CPU load is high when JOSM is slowing down.
Since I don't know how to upgrade my java version and I figured out that I can work pretty much around the problem by not using the critical zoom levels I close this issue.
Thanks for quick help.
comment:9 by , 7 years ago
OK. You may try to find out in what routine JOSM is so busy. Try VisualVM, it is quite easy to use.
You are not using the latest tested version. Please update first and - if the problem remains - let us know what data you are downloading.