Modify

Opened 15 years ago

Closed 15 years ago

#2651 closed defect (fixed)

while uploading new/edited POIs in three different places in Germany this error occured

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

Description

running josm on Mac OS x 10.5.6

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.5.0_16
Plugins: validator;wmsplugin
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(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

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

at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:99)
at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:393)
at java.lang.StringBuilder.append(StringBuilder.java:120)
at org.openstreetmap.josm.data.osm.visitor.CreateOsmChangeVisitor.getDocument(CreateOsmChangeVisitor.java:102)
at org.openstreetmap.josm.io.OsmApi$1UploadDiffTask.realRun(OsmApi.java:330)
at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:101)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
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(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:613)

Attachments (0)

Change History (3)

comment:1 by stoecker, 15 years ago

Owner: changed from team to anonymous
Status: newneedinfo

What exactly did you do? What Java commandline do you use (is opengl enabled - disable it). How many RAM does java get?

comment:2 by jttt, 15 years ago

Not related to the bug but you can get maximum heap size and available memory using Runtime.getRuntime().totalMemory() and Runtime.getRuntime().freeMemory(). It might be useful to include this information in exception log.

comment:3 by stoecker, 15 years ago

Resolution: fixed
Status: needinfoclosed

No answer. Closing.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain anonymous.
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.