logo separator

[mkgmap-dev] tile size?

From Lambertus osm at na1400.info on Fri Mar 20 08:12:01 GMT 2009

North and South America split fine with max-nodes set to 120000. Europe 
still gives a few errors with that setting though. See the results of a 
complete world splitted with the 120000 setting here: 
http://garmin.na1400.info/routable.html

I plan to split the remaining failed tiles manually.

Under x86-64 I use the java -Xmx6144m setting for Splitter without problems.

Apollinaris Schoell wrote:
> 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)
>  
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev




More information about the mkgmap-dev mailing list