Opened 15 years ago
Closed 15 years ago
#3148 closed defect (fixed)
JOSM refuses to upload data
Reported by: | jesuzphreak | Owned by: | jesuzphreak |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Core | Version: | |
Keywords: | Cc: |
Description
I recently got a 2,3 MB file of boundaries from a local authority (converted from shapefile by someone else, see http://www.bikelab.org/osm/Stadtteile_DD.osm). When I try to upload the file the validator reports 12319 double nodes. When I try to continue JOSM reports an unexpected error "This is a programming error. When you use the latest version of JOSM, we would appreciate an error report". When I click on "Report error" the dialog is closed and nothing happens. As far as I know a dialog window with the error report in it should appear instead.
I use JOSM 1876 and validator version 16735 with Windows XP.
Attachments (0)
Change History (6)
comment:1 by , 15 years ago
Owner: | changed from | to
---|---|
Status: | new → needinfo |
comment:2 by , 15 years ago
I have got a corrected version of the file without the double nodes now (http://www.bikelab.org/osm/Stadtteile_DD-deduped.osm.bz2). When I try to upload this one (around 1,6 MByte) JOSM does not report an error anymore. JOSM does start uploading but never finishes. The web interface of my router shows that JOSM does indeed upload data for about 10 mins and stops then. (JOSM 1788 SVN)
comment:3 by , 15 years ago
Did you try to upload with one request per changed primitive instead of with one diff upload per dataset?
In recent versions of JOSM there's a checkbox in the upload dialog for this.
My experience is that large datasets are better uploaded with one request per primitive.
comment:4 by , 15 years ago
JOSM 1788 does not have this checkbox and I am not able to update to a more recent version.
I was told today that there are some issues to be fixed in the .osm-file, so please do not try to upload them.
comment:5 by , 15 years ago
You can also set the preference osm-server.atomic-upload
to true
, the checkbox is not really necessary.
comment:6 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | needinfo → closed |
Probably you don't have enough memory for Java. Try increasing the memory amount Java can use (BTW which idiot did design this memory restriction of Java?).