Opened 16 years ago
Closed 16 years ago
#2635 closed defect (fixed)
crash
Reported by: | codo93 | Owned by: | pieren |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Plugin cadastre-fr | Version: | latest |
Keywords: | Cc: |
Description
I got this error message when I press Shift+F11 to refresh the cadastre image
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.6.0_11
Plugins: cadastre-fr;wmsplugin
Plugin wmsplugin Version: 15091
Plugin cadastre-fr Version: 14121
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(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.awt.image.DataBufferByte.<init>(Unknown Source)
at java.awt.image.ComponentSampleModel.createDataBuffer(Unknown Source)
at java.awt.image.Raster.createWritableRaster(Unknown Source)
at javax.imageio.ImageTypeSpecifier.createBufferedImage(Unknown Source)
at javax.imageio.ImageReader.getDestination(Unknown Source)
at com.sun.imageio.plugins.png.PNGImageReader.readImage(Unknown Source)
at com.sun.imageio.plugins.png.PNGImageReader.read(Unknown Source)
at javax.imageio.ImageIO.read(Unknown Source)
at javax.imageio.ImageIO.read(Unknown Source)
at cadastre_fr.CadastreGrabber.grab(CadastreGrabber.java:86)
at cadastre_fr.CadastreGrabber.grab(CadastreGrabber.java:38)
at cadastre_fr.WMSLayer.grab(WMSLayer.java:110)
at cadastre_fr.DownloadWMSTask.realRun(DownloadWMSTask.java:47)
at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:101)
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 (0)
Change History (2)
comment:1 by , 16 years ago
Component: | Plugin → Plugin cadastre-fr |
---|---|
Owner: | changed from | to
comment:2 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Hi codo93,
this error is most probably due to memory overflow, especially when you load a lot of WMS images.
One way to fix this is to extend the memory allocated by java when you start-up JOSM as it is documented on the OSM wiki:
http://wiki.openstreetmap.org/wiki/JOSM#Start_JOSM