[mkgmap-dev] out of memory error
From frmas frmas at free.fr on Sun Jul 11 09:57:56 BST 2010
Hi, I encounter the following error when I run splitter against the french osm data : Elapsed time: 12m 0s Memory: Current 793MB (605MB used, 188MB free) Max 796MB 40 000 000 nodes processed... 42 500 000 nodes processed... 45 000 000 nodes processed... Exception in thread "main" java.lang.OutOfMemoryError: Java heap space at uk.me.parabola.splitter.IntIntMap.ensureSpace(IntIntMap.java:118) at uk.me.parabola.splitter.IntIntMap.put(IntIntMap.java:71) at uk.me.parabola.splitter.SplitIntMap.put(SplitIntMap.java:49) at uk.me.parabola.splitter.SplitProcessor.writeNode(SplitProcessor.java:246) at uk.me.parabola.splitter.SplitProcessor.endNode(SplitProcessor.java:177) at uk.me.parabola.splitter.BinaryMapLoader.processNodes(BinaryMapLoader.java:96) at uk.me.parabola.splitter.BinaryMapLoader.load(BinaryMapLoader.java:78) at uk.me.parabola.splitter.Main.processMap(Main.java:409) at uk.me.parabola.splitter.Main.writeAreas(Main.java:394) at uk.me.parabola.splitter.Main.split(Main.java:213) at uk.me.parabola.splitter.Main.start(Main.java:118) at uk.me.parabola.splitter.Main.main(Main.java:107) Elapsed time: 14m 0s Memory: Current 808MB (647MB used, 161MB free) Max 808MB Elapsed time: 16m 0s Memory: Current 808MB (647MB used, 161MB free) Max 808MB The command line parameters are : java -Xmx896m -jar $FILEDIR/splitter.jar --cache=$cache --geonames-file=$geonames_file --max-nodes="$max_nodes" --description="$description_splitter" --mapid=$mapid $CARTESDIR/$geofabrik_map I do not have more memory on that laptop. Is there a way I could change some parameters to succeed. Thanks. Francois --
- Previous message: [mkgmap-dev] bollards should not have 0x660f
- Next message: [mkgmap-dev] out of memory error
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list