logo separator

[mkgmap-dev] Fail to build map with r1908 and sea-generator=extend-sea-sectors

From WanMil wmgcnfg at web.de on Thu Apr 7 17:45:56 BST 2011

Nakor,

the error tells you that the java process has insufficient memory available.

You can change the maximum available memory for the java process with 
the java parameter -Xmx1000m (for 1000 megabyte).
Example:
  java -Xmx1000m -jar mkgmap.jar data.osm

The reason why you didn't see this error with 1903 might be some little 
more memory requirement. (this is just a guess...)
Please try if you can reproduce the error and/or increase the memory 
parameter.

WanMil

> Hello,
>
> I have a map that built correctly with 1903 which also builds correctly
> with 1908 if I use sea-generator=multi-polygon but fails to build in
> r1908 with sea-generator=extend-sea-sectors. The error is:
>
> java.lang.OutOfMemoryError: GC overhead limit exceeded
>       at
> uk.me.parabola.imgfmt.app.net.NOD1Part$BBox.contains(NOD1Part.java:121)
>       at uk.me.parabola.imgfmt.app.net.NOD1Part.addNode(NOD1Part.java:227)
>       at
> uk.me.parabola.imgfmt.app.net.NOD1Part.subdivideHelper(NOD1Part.java:277)
>       at uk.me.parabola.imgfmt.app.net.NOD1Part.subdivide(NOD1Part.java:239)
>       at
> uk.me.parabola.mkgmap.general.RoadNetwork.splitCenters(RoadNetwork.java:249)
>       at
> uk.me.parabola.mkgmap.general.RoadNetwork.getCenters(RoadNetwork.java:254)
>       at uk.me.parabola.mkgmap.build.MapBuilder.makeMap(MapBuilder.java:220)
>       at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:101)
>       at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:65)
>       at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:224)
>       at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:221)
>       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)
>
> Thanks,
>
> N.




More information about the mkgmap-dev mailing list