Modify

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#3965 closed defect (duplicate)

Error downloadning

Reported by: perastruplaustsen@… Owned by: perastruplaustsen@…
Priority: minor Milestone:
Component: Core Version: tested
Keywords: Cc:

Description (last modified by stoecker)

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)

ScreenShot124.jpg (62.9 KB ) - added by perastruplaustsen@… 15 years ago.
copy of screen

Download all attachments as: .zip

Change History (9)

comment:1 by vsandre, 15 years ago

Owner: changed from team to perastruplaustsen@…
Priority: normalminor
Status: newneedinfo

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:2 by stoecker, 15 years ago

Description: modified (diff)
Resolution: worksforme
Status: needinfoclosed

by perastruplaustsen@…, 15 years ago

Attachment: ScreenShot124.jpg added

copy of screen

comment:3 by perastruplaustsen@…, 15 years ago

Resolution: worksforme
Status: closedreopened

attacked file with screenshot to the ticket

comment:4 by Gubaer, 15 years ago

What is the defect?

comment:5 by perastruplaustsen@…, 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 anonymous, 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 stoecker, 15 years ago

Resolution: duplicate
Status: reopenedclosed

comment:8 by stoecker, 15 years ago

Closed as duplicate of #2134.

Modify Ticket

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