Modify

Ticket #2740 (closed defect: worksforme)

Opened 3 years ago

Last modified 3 years ago

error on upload to OSM

Reported by: anonymous Owned by: anonymous
Priority: major Component: Core
Version: Keywords:
Cc:

Description

This occurs when I try to upload in version 1607. I didn't do anything special. I just downloaded, fixed a few things and then tried to upload back and I got this error.

Path: trunk URL: http://josm.openstreetmap.de/svn/trunk Repository Root: http://josm.openstreetmap.de/svn Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Revision: 1607 Node Kind: directory Last Changed Author: stoecker Last Changed Rev: 1607 Last Changed Date: 2009-05-20 16:08:00 +0200 (Wed, 20 May 2009)

Java version: 1.6.0_14 Plugins: AgPifoJ;openstreetbugs;remotecontrol;validator;wmsplugin Plugin AgPifoJ Version: 14916 Plugin openstreetbugs Version: 14826 Plugin remotecontrol Version: 14991 Plugin validator Version: 15127 Plugin wmsplugin Version: 15091

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.StringBuffer.append(Unknown Source) at java.io.StringWriter.write(Unknown Source) at java.io.PrintWriter.write(Unknown Source) at java.io.PrintWriter.write(Unknown Source) at java.io.PrintWriter.print(Unknown Source) at org.openstreetmap.josm.io.OsmWriter.addCommon(OsmWriter.java:194) at org.openstreetmap.josm.io.OsmWriter.visit(OsmWriter.java:99) at org.openstreetmap.josm.data.osm.visitor.CreateOsmChangeVisitor.visit(CreateOsmChangeVisitor.java:56) at org.openstreetmap.josm.data.osm.Node.visit(Node.java:54) at org.openstreetmap.josm.io.OsmApi$1UploadDiffTask.realRun(OsmApi.java:324) at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:101) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at org.openstreetmap.josm.io.OsmApi.uploadDiff(OsmApi.java:382) at org.openstreetmap.josm.io.OsmServerWriter.uploadOsm(OsmServerWriter.java:100) at org.openstreetmap.josm.actions.UploadAction$2.realRun(UploadAction.java:183) 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

Change History

comment:1 follow-up: ↓ 2 Changed 3 years ago by stoecker

  • Owner changed from team to anonymous
  • Status changed from new to needinfo

Did you probably download a very large or dense mapped area? In this case you need to increase the amount of memory passed to josm.

comment:2 in reply to: ↑ 1 Changed 3 years ago by anonymous

  • Status changed from needinfo to closed
  • Resolution set to worksforme

Replying to stoecker:

Did you probably download a very large or dense mapped area? In this case you need to increase the amount of memory passed to josm.

Thanks... this fixed it.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'reopened'
Author


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

 
Note: See TracTickets for help on using tickets.