#3965 closed defect (duplicate)
Error downloadning
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Core | Version: | tested |
Keywords: | Cc: |
Description (last modified by )
Path: trunk
URL: http://josm.openstreetmap.de/svn/trunk
Repository Root: http://josm.openstreetmap.de/svn
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Revision: 2255
Node Kind: directory
Last Changed Author: Gubaer
Last Changed Rev: 2255
Last Changed Date: 2009-10-07 21:25:15 +0200 (Wed, 07 Oct 2009)
Memory Usage: 63 MB / 63 MB (49 MB allocated, but free)
Java version: 1.6.0_17
Plugins: validatorwmsplugin
Plugin validator Version: 17722
Plugin wmsplugin Version: 17817
java.lang.RuntimeException: java.lang.OutOfMemoryError: Java heap space
at org.openstreetmap.josm.gui.PleaseWaitRunnable$2.run(PleaseWaitRunnable.java:98)
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.copyOfRange(Unknown Source)
at java.lang.String.<init>(Unknown Source)
at com.sun.org.apache.xerces.internal.xni.XMLString.toString(Unknown Source)
at com.sun.org.apache.xerces.internal.util.XMLAttributesImpl.getValue(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser$AttributesProxy.getValue(Unknown Source)
at org.openstreetmap.josm.io.OsmReader$Parser.startElement(OsmReader.java:290)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at org.openstreetmap.josm.io.OsmReader.parseDataSet(OsmReader.java:534)
at org.openstreetmap.josm.io.BoundingBoxDownloader.parseOsm(BoundingBoxDownloader.java:107)
at org.openstreetmap.josm.actions.downloadtasks.DownloadOsmTask$Task.realRun(DownloadOsmTask.java:59)
at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:62)
at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:116)
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 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 (1)
Change History (9)
comment:1 by , 15 years ago
Owner: | changed from | to
---|---|
Priority: | normal → minor |
Status: | new → needinfo |
comment:2 by , 15 years ago
Description: | modified (diff) |
---|---|
Resolution: | → worksforme |
Status: | needinfo → closed |
comment:3 by , 15 years ago
Resolution: | worksforme |
---|---|
Status: | closed → reopened |
attacked file with screenshot to the ticket
comment:5 by , 15 years ago
Answer to this comment:
omment:
It seems that your allocated ram is to small for your downloaded area.
Please tell us your downloading area (bbox).
For the meantime use something like this:
java -Xms128M -Xmx1024M -jar josm-custom.jar
comment:6 by , 15 years ago
Tested with
java -Xms64M -Xmx64M -jar josm-latest.jar
and:
bbox for josm
The data you wants to download is about 21 MB big. The mentioned free 49 MB are not enough for rendering and storing the data. Please try a smaller region or start JOSM with more RAM.
BTW: My JOSM stops working while "Downloading... 962 KB".
Opening the predownloaded OSM data courses no exception but works extremly slow (0 MB free) and the first use of the tagging editor causes a OutOfMemoryError. Working in the wireframe modus (CTRL-W) is not really better (3 MB free) but it works.
Could someone please add a dialogue which will warn you that your ram is to small.
comment:7 by , 15 years ago
Resolution: | → duplicate |
---|---|
Status: | reopened → closed |
It seems that your allocated ram is to small for your downloaded area. Please tell us your downloading area (bbox).
For the meantime use something like this: