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?
- 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.
- 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)
Change History (2)
by , 12 years ago
| Attachment: | Area of error.JPG added |
|---|
comment:1 by , 12 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
| Summary: | Error while downloading in area of Haiti → OutOfMemoryError while downloading in area of Haiti |
Note:
See TracTickets
for help on using tickets.



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