Modify

Opened 12 years ago

Closed 12 years ago

#9882 closed defect (invalid)

OutOfMemoryError while downloading in area of Haiti

Reported by: Marcus Love Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. I had downloaded a lot of the area in Haiti already, starting from the West bit of Jeremie and Cayes and had worked my way East along the South coast and then started working up the Haiti DR border North.
  2. Downloading in the area around Saint Raphael and between St. Raphael and Hinche is when the error happened.

What is the expected result? To have the data downloaded.

What happens instead? It looks like it downloaded, but I'm not sure if it did. It gave an error of some sort.

Please provide any additional information below. Attach a screenshot if
possible.

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2014-03-30 01:37:11
Last Changed Author: Don-vip
Revision: 6950
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2014-03-30 01:17:23 +0100 (Sun, 30 Mar 2014)
Last Changed Rev: 6950

Identification: JOSM/1.5 (6950 en) Windows 7 32-Bit
Memory Usage: 247 MB / 247 MB (8 MB allocated, but free)
Java version: 1.7.0_51, Oracle Corporation, Java HotSpot(TM) Client VM
Dataset consistency test: No problems found

Plugin: openstreetbugs (30375)
Plugin: turnrestrictions (30375)

java.lang.reflect.InvocationTargetException
	at java.awt.EventQueue.invokeAndWait(Unknown Source)
	at java.awt.EventQueue.invokeAndWait(Unknown Source)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:87)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:150)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.OutOfMemoryError: Java heap space
	at java.util.Arrays.copyOf(Unknown Source)
	at java.util.Arrays.copyOf(Unknown Source)
	at org.openstreetmap.josm.data.osm.Storage.copyArray(Storage.java:150)
	at org.openstreetmap.josm.data.osm.Storage.putUnique(Storage.java:236)
	at org.openstreetmap.josm.data.osm.Storage.add(Storage.java:180)
	at org.openstreetmap.josm.data.osm.DataSet.addPrimitive(DataSet.java:360)
	at org.openstreetmap.josm.data.osm.DataSetMerger.mergePrimitive(DataSetMerger.java:121)
	at org.openstreetmap.josm.data.osm.DataSetMerger.merge(DataSetMerger.java:415)
	at org.openstreetmap.josm.gui.layer.OsmDataLayer.mergeFrom(OsmDataLayer.java:375)
	at org.openstreetmap.josm.gui.layer.OsmDataLayer.mergeFrom(OsmDataLayer.java:362)
	at org.openstreetmap.josm.actions.downloadtasks.DownloadOsmTask$DownloadTask.finish(DownloadOsmTask.java:281)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable$1.run(PleaseWaitRunnable.java:90)
	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$200(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(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.pumpEventsForFilter(Unknown Source)
	at java.awt.WaitDispatchSupport$2.run(Unknown Source)
	at java.awt.WaitDispatchSupport$4.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.awt.WaitDispatchSupport.enter(Unknown Source)
	at java.awt.Dialog.show(Unknown Source)
	at java.awt.Component.show(Unknown Source)
	at java.awt.Component.setVisible(Unknown Source)
	at java.awt.Window.setVisible(Unknown Source)
	at java.awt.Dialog.setVisible(Unknown Source)

Attachments (1)

Area of error.JPG (303.7 KB ) - added by anonymous 12 years ago.

Download all attachments as: .zip

Change History (2)

by anonymous, 12 years ago

Attachment: Area of error.JPG added

comment:1 by Don-vip, 12 years ago

Resolution: invalid
Status: newclosed
Summary: Error while downloading in area of HaitiOutOfMemoryError while downloading in area of Haiti

You must allocate more memory to JOSM, for example java -jar -Xmx1024M josm-tested.jar to allocate 1 Gb to JOSM (choose the value you want).

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.