Modify

Ticket #2651 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

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

Reported by: anonymous Owned by: anonymous
Priority: major 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

Change History

comment:1 Changed 3 years ago by stoecker

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

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

comment:2 Changed 3 years ago by jttt

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 Changed 3 years ago by stoecker

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

No answer. Closing.

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.