<html>
<head>
</head>
<body class='hmmessage'><div dir='ltr'>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div dir="ltr">Hi Steve,<br><br>I think Arndt is right, mkgmap requires much more heap now when computing<br>the index, also without the new --x-split-name-index option.<br>This is his error message:<br>Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded
<br> at java.nio.CharBuffer.wrap(Unknown Source)
<br> at java.nio.CharBuffer.wrap(Unknown Source)
<br> at uk.me.parabola.imgfmt.app.srt.Sort.createSortKey(Sort.java:182)
<br> at uk.me.parabola.imgfmt.app.srt.Sort.createSortKey(Sort.java:271)
<br> at uk.me.parabola.imgfmt.app.mdr.Mdr7.preWriteImpl(Mdr7.java:168)
<br> at uk.me.parabola.imgfmt.app.mdr.MdrSection.preWrite(MdrSection.java:129)
<br> at uk.me.parabola.imgfmt.app.mdr.MDRFile.writeSections(MDRFile.java:308)
<br>
at uk.me.parabola.imgfmt.app.mdr.MDRFile.write(MDRFile.java:247)
<br> at uk.me.parabola.mkgmap.combiners.MdrBuilder.onFinishForDevice(MdrBuilder.java:355)
<br> at uk.me.parabola.mkgmap.combiners.GmapsuppBuilder.onFinish(GmapsuppBuilder.java:163)
<br> at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:575)
<br> at uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:128)
<br> at uk.me.parabola.mkgmap.main.Main.mainStart(Main.java:134)
<br> at uk.me.parabola.mkgmap.main.Main.main(Main.java:105)
<br><br>I see two reasons:<br>1) The structure MDR7Record is a bit larger<br>2) A lot more bytes are stored in byte[] arrays and SrtSortKey instances<br><br>For a map for Austria this requires 169MB instead of 128 MB.<br>I think one reason is that Mdr7.preWriteImpl() is always computing and<br>saving a partial name, no matter what option is used?<br><br>Gerd<br><br><br><br><div><hr id="stopSpelling">Date: Sun, 22 Feb 2015 01:12:25 +0100<br>From: arndt@speichenkarte.de<br>To: mkgmap-dev@lists.mkgmap.org.uk<br>Subject: [mkgmap-dev] computing power mdx/mdr<br><br>
<div>
Hello @all
</div>
<div>
</div>
<div>
my PC is not he best machine. 4GB RAM & Intel CoreDuo 3GHz 64bit Win7.
</div>
<div>
</div>
<div>
Making maps from Europa is no problem, but at the end of the process, mkgmap failed to build mdx/mdr.
</div>
<div>
</div>
<div>
For the website www.speichenkarte.de i need germany and a few kilometers more. Size of the files after "splitter" is 2,8 Gb and 213 img-files.
</div>
<div>
</div>
<div>
mkgmap 3426 is to be able to build this.
</div>
<div>
</div>
<div>
mkgmap 3472 failed to build mdx/mdr. Also the gmapsupp dosnīt work/no shown.
</div>
<div>
</div>
<div>
Need 3472 needs more computing power than 3426?
</div>
<div>
</div>
<div>
Is it possible change mkgmap, to create mdr/mdx and gmapsupp wiss less cumputer power?
</div>
<div>
</div>
<div>
Best regards
</div>
<div>
Arndt
</div>
<div>
</div>
<div>
P.S.
</div>
<div>
Sorry for the bad english, hope you understand what i mean :)
</div>
<div>
</div>
<div>
</div>
<div>
</div>
<br>_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</div></div>
                                           </div></body>
</html>