logo separator

[mkgmap-dev] tile size?

From Apollinaris Schoell aschoell at gmail.com on Fri Mar 20 04:07:04 GMT 2009

Hi

What size are you using for the tile splitter? and which options for  
mkgmap?
always get this exception with the default --max-nodes 1600000
have played with java -Xmx and can use larger values but java doesn't  
allow more than 2600m



Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
         at  
com 
.sun.org.apache.xerces.internal.xni.XMLString.toString(XMLString.java: 
185)
         at  
com 
.sun 
.org 
.apache 
.xerces 
.internal.util.XMLAttributesImpl.getValue(XMLAttributesImpl.java:557)
         at  
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser 
$AttributesProxy.getValue(AbstractSAXParser.java:2323)
         at  
uk 
.me 
.parabola 
.mkgmap.reader.osm.xml.Osm5XmlHandler.startElement(Osm5XmlHandler.java: 
131)
         at  
com 
.sun 
.org 
.apache 
.xerces 
.internal 
.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
         at  
com 
.sun 
.org 
.apache 
.xerces 
.internal 
.impl 
.XMLDocumentFragmentScannerImpl 
.scanStartElement(XMLDocumentFragmentScannerImpl.java:1359)
         at  
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl 
$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2747)
         at  
com 
.sun 
.org 
.apache 
.xerces 
.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java: 
648)
         at  
com 
.sun 
.org 
.apache 
.xerces 
.internal 
.impl 
.XMLDocumentFragmentScannerImpl 
.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
         at  
com 
.sun 
.org 
.apache 
.xerces 
.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
         at  
com 
.sun 
.org 
.apache 
.xerces 
.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
         at  
com 
.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java: 
107)
         at  
com 
.sun 
.org 
.apache 
.xerces 
.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
         at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl 
$JAXPSAXParser.parse(SAXParserImpl.java:522)
         at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
         at javax.xml.parsers.SAXParser.parse(SAXParser.java:198)
         at  
uk 
.me 
.parabola 
.mkgmap.reader.osm.xml.Osm5MapDataSource.load(Osm5MapDataSource.java:78)
         at  
uk.me.parabola.mkgmap.main.MapMaker.loadFromFile(MapMaker.java:137)
         at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java: 
53)
         at uk.me.parabola.mkgmap.main.Main.processFilename(Main.java: 
150)
         at uk.me.parabola.mkgmap.CommandArgs 
$Filename.processArg(CommandArgs.java:332)
         at  
uk.me.parabola.mkgmap.CommandArgs.readArgs(CommandArgs.java:119)
         at uk.me.parabola.mkgmap.main.Main.main(Main.java:91)
  



More information about the mkgmap-dev mailing list