Modify

Opened 15 years ago

Closed 15 years ago

#2486 closed defect (fixed)

Error while upload new OSM data

Reported by: eug_cher@… Owned by: team
Priority: major Milestone:
Component: Core Version:
Keywords: Cc: Gubaer

Description

Path: trunk
URL: http://josm.openstreetmap.de/svn/trunk
Repository Root: http://josm.openstreetmap.de/svn
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Revision: 1529
Node Kind: directory
Last Changed Author: framm
Last Changed Rev: 1529
Last Changed Date: 2009-04-16 19:26:54 +0200 (Thu, 16 Apr 2009)

Java version: 1.6.0_10-rc2
Plugins: measurement
Plugin measurement Version: 14015

java.lang.RuntimeException: java.lang.OutOfMemoryError: Java heap space

at org.openstreetmap.josm.gui.PleaseWaitRunnable$4.run(PleaseWaitRunnable.java:119)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

Caused by: java.lang.OutOfMemoryError: Java heap space

at java.util.Arrays.copyOf(Unknown Source)
at java.lang.AbstractStringBuilder.expandCapacity(Unknown Source)
at java.lang.AbstractStringBuilder.append(Unknown Source)
at java.lang.StringBuilder.append(Unknown Source)
at org.openstreetmap.josm.data.osm.visitor.CreateOsmChangeVisitor.getDocument(CreateOsmChangeVisitor.java:102)
at org.openstreetmap.josm.io.OsmApi.uploadDiff(OsmApi.java:309)
at org.openstreetmap.josm.io.OsmServerWriter.uploadOsm(OsmServerWriter.java:101)
at org.openstreetmap.josm.actions.UploadAction$2.realRun(UploadAction.java:156)
at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:101)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Attachments (0)

Change History (1)

comment:1 by Gubaer, 15 years ago

Cc: Gubaer added
Resolution: fixed
Status: newclosed

You run out of memory. If you are working with a very big dataset try to split it up into smaller pieces. But first try to increase the heap space JOSM can use, see How to start JOSM

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. Next status will be 'reopened'.

Add Comment


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