Opened 7 years ago
Closed 7 years ago
#16662 closed defect (duplicate)
Unstable josm
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | |
Keywords: | template_report performance | Cc: |
Description
What steps will reproduce the problem?
- Extended editing session, especially where memory usage approach max allocated for java
- Display start to lag when moving map
- Keyboard input starts to be ignored. Mouse action still works (but cannot save session since cannot input file name. Work lost when josm is terminated. Not recoverable in the next session since it didn't find any crashed data layer.
What is the expected result?
JOSM to continuosly function.
What happens instead?
Laggy display which eventually with keyboard input not registered by JOSM.
Please provide any additional information below. Attach a screenshot if possible.
my laptop: i3, 6GB memory. Linux detected 4 cores, during laggy display all 4 cores will go to 100%. When it goes down back to near 0%, then map-related action (moving map imagery, including tracing highways beyond edge of map) will resume working. Noticed this behavior since version 13996 when the imagery is interpolated for higher zooms (I think).
Thanks and kind regards.
kucai @ osm
URL:https://josm.openstreetmap.de/svn/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2018-07-29 00:41:59 +0200 (Sun, 29 Jul 2018) Build-Date:2018-07-29 01:32:17 Revision:14066 Relative:URL: ^/trunk Identification: JOSM/1.5 (14066 en) Linux openSUSE Leap 42.3 Memory Usage: 802 MB / 1820 MB (521 MB allocated, but free) Java version: 1.8.0_171-b11, Oracle Corporation, OpenJDK 64-Bit Server VM Screen: :0.0 1366x768 Maximum Screen Size: 1366x768 Java package: java-1_8_0-openjdk:x86_64-1.8.0.171 Plugins: + ImportImagePlugin (34389) + InfoMode (34206) + Mapillary (v1.5.15) + apache-commons (34389) + apache-http (34389) + buildings_tools (34212) + ejml (34389) + ext_tools (34206) + geotools (34125) + gpsblam (34206) + imagery_offset_db (34370) + jts (34206) + log4j (34038) + terracer (34109) + utilsplugin2 (34389) Last errors/warnings: - W: No configuration settings found. Using hardcoded default values for all pools.
Attachments (0)
Change History (7)
comment:1 by , 7 years ago
Owner: | changed from | to
---|---|
Status: | new → needinfo |
comment:2 by , 7 years ago
Keywords: | performance added |
---|
comment:3 by , 7 years ago
Hi Don,
I tried with a new instance of josm (no plugins or set preference) and it seemed to work snappy. I'll try to hunt down which plugins that might cause this lag. Coincidentally when I installed josm a windows machine with same plugins that I like, josm balked at the building outline plugin & the imagery alignment database but I managed to continue on that machine.
Also, maybe #16663 is also related.
And also, java --skip-plugins commandline doesn't work. I used the -Djosm.home switch to create a new profile.
Thank you and kind regards.
God willing, I'll update this whenever I figured out the problematic plugin.
Regards. -Kucai-
comment:4 by , 7 years ago
More info.
Already tried disabling all plugins (on the regularly used josm profile) and it does become laggy as more memory is consumed. I have about a dozen of map offsets saved, and I always edit with either/both Bing n DGS visible (cloudy areas/new imagery etc). I wonder if that might be the cause. Anecdotally, rendering the imagery is slow especially during validating process where I selected a particular warning, and josm zoomed to the corresponding node (where the zoom scale is at 10m).
Or maybe my graphic card is not fast enough anymore. Oh well.
comment:5 by , 7 years ago
I just fixed a major performance issue in r14206. Please test tomorrow with latest version to see if it solves your problem.
comment:6 by , 7 years ago
Latest stable JOSM 14178 seems to fix this. Thank you very much!
Good awesome work.
Regards.
-kucai-
comment:7 by , 7 years ago
Resolution: | → duplicate |
---|---|
Status: | needinfo → closed |
Closed as duplicate of #16698.
Can you please try without any plugin enabled and tell us if the problem still occurs?