Modify

Opened 6 years ago

Closed 5 years ago

Last modified 5 years ago

#12169 closed defect (fixed)

Validation of big multipolygon takes too much time (more than 1 hour)

Reported by: Vort_ Owned by: team
Priority: normal Milestone: 16.07
Component: Core validator Version:
Keywords: template_report performance multipolygon Cc:

Description

What steps will reproduce the problem?

  1. Load lake_broken.osm
  2. Start validation

What is the expected result?

Validation is finished.

What happens instead?

Validator hangs.

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

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2015-11-24 00:04:12 +0100 (Tue, 24 Nov 2015)
Build-Date:2015-11-23 23:14:21
Revision:9060
Relative:URL: ^/trunk

Identification: JOSM/1.5 (9060 ru) Windows 7 64-Bit
Memory Usage: 125 MB / 1801 MB (46 MB allocated, but free)
Java version: 1.8.0_05, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
VM arguments: [-Djava.security.policy=file:D:\Java_x64\jre8\lib\security\javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>\bin, -Djnlpx.origFilenameArg=C:\Users\Vort\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\56\1ee8cfb8-564901be, -Djnlpx.remove=false, -Dsun.awt.warmup=true, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.splashport=47732, -Djnlp.application.href=https://josm.openstreetmap.de/download/josm.jnlp, -Djnlpx.jvm=<java.home>\bin\javaw.exe, -Djnlpx.vmargs=-Djava.util.Arrays.useLegacyMergeSort=true -d64 -Djnlp.application.href=https://josm.openstreetmap.de/download/josm.jnlp]

Plugins:
- ext_tools (31772)
- reverter (31772)
- undelete (31772)

Attachments (1)

lake_broken.zip (3.5 MB) - added by Vort_ 6 years ago.
Test file

Change History (5)

Changed 6 years ago by Vort_

Attachment: lake_broken.zip added

Test file

comment:1 Changed 5 years ago by GerdP

I've tested this with r10962 with jre1.8.0_102 on a 64 Bit Windows 10 system with 8GB, core i5-3550 cpu

The validation took ~262 seconds and found 103 problems. I think the major performance problem was solved with r10684.
(I've also tested it with all my patches, result : ~155 seconds, 143 problems)

comment:2 Changed 5 years ago by Vort_

Resolution: fixed
Status: newclosed

r10786: finished in ~4 minutes on my PC. Thanks!

comment:3 Changed 5 years ago by Don-vip

Keywords: performance multipolygon added
Milestone: 16.08

comment:4 Changed 5 years ago by Klumbumbus

Milestone: 16.0816.07

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.