logo separator

[mkgmap-dev] mkgmap creation problem

From Maciej Moczulski maciej.moczulski at gmail.com on Thu Jul 16 11:45:25 BST 2015

Hi,

I try also to compile the map on my office PC with the following
configuration:
8GB
Intel® Core™ i7-3770 CPU @ 3.40GHz × 8
488.1 GB with 400GB free space

I also set a flag for java:

-XX:+UseCompressedOops

and I still have an problem with compilation with the following error.

Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
    at java.util.Arrays.copyOf(Unknown Source)
    at java.util.ArrayList.grow(Unknown Source)
    at java.util.ArrayList.ensureExplicitCapacity(Unknown Source)
    at java.util.ArrayList.ensureCapacityInternal(Unknown Source)
    at java.util.ArrayList.add(Unknown Source)
    at uk.me.parabola.imgfmt.app.mdr.Mdr11.addPoi(Mdr11.java:46)
    at uk.me.parabola.imgfmt.app.mdr.MDRFile.addPoint(MDRFile.java:206)
    at
uk.me.parabola.mkgmap.combiners.MdrBuilder.addPoints(MdrBuilder.java:302)
    at
uk.me.parabola.mkgmap.combiners.MdrBuilder.onMapEnd(MdrBuilder.java:178)
    at
uk.me.parabola.mkgmap.combiners.GmapsuppBuilder.onMapEnd(GmapsuppBuilder.java:149)
    at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:567)
    at
uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:128)
    at uk.me.parabola.mkgmap.main.Main.mainStart(Main.java:134)
    at uk.me.parabola.mkgmap.main.Main.main(Main.java:105)

Which very strange as I use a heap size like this -Xmx4096m

If this is still related to the power of my PC then I'm giving up.


Thanks,
Maciej Moczulski

On Thu, Jul 16, 2015 at 8:39 AM, Felix Hartmann <extremecarver at gmail.com>
wrote:

> well - that one is not a bug - but you don't have enough memory. So switch
> of the address index I would say - you cannot compile it for such a big map.
>
> On 16 July 2015 at 07:38, Maciej Moczulski <maciej.moczulski at gmail.com>
> wrote:
>
>> Hi,
>>
>> The compilation went further but break with the following error:
>>
>> Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit
>> exceeded
>> at uk.me.parabola.imgfmt.app.mdr.Mdr11.addPoi(Mdr11.java:38)
>> at uk.me.parabola.imgfmt.app.mdr.MDRFile.addPoint(MDRFile.java:206)
>> at
>> uk.me.parabola.mkgmap.combiners.MdrBuilder.addPoints(MdrBuilder.java:302)
>> at
>> uk.me.parabola.mkgmap.combiners.MdrBuilder.onMapEnd(MdrBuilder.java:178)
>> at
>> uk.me.parabola.mkgmap.combiners.GmapsuppBuilder.onMapEnd(GmapsuppBuilder.java:149)
>> at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:567)
>> at
>> uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:128)
>> at uk.me.parabola.mkgmap.main.Main.mainStart(Main.java:134)
>> at uk.me.parabola.mkgmap.main.Main.main(Main.java:105)
>>
>> Thanks,
>> Maciej
>>
>> On Wed, Jul 15, 2015 at 11:40 AM, Maciej Moczulski <
>> maciej.moczulski at gmail.com> wrote:
>>
>>> Thanks a lot.
>>>
>>> After coming back form office I will check this out.
>>>
>>> Best Regards,
>>> Maciej
>>>
>>> On Wed, Jul 15, 2015 at 10:53 AM, Steve Ratcliffe <steve at parabola.me.uk>
>>> wrote:
>>>
>>>>
>>>> Hi
>>>>
>>>> I made a trivial fix to ignore bad street names. Download version r3622
>>>> for the fixed version.  Let me know if there is a further problem with
>>>> that version.
>>>>
>>>> Patch attached for reference.
>>>>
>>>> ..Steve
>>>>
>>>>
>>>> _______________________________________________
>>>> mkgmap-dev mailing list
>>>> mkgmap-dev at lists.mkgmap.org.uk
>>>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>>>>
>>>
>>>
>>>
>>> --
>>> Regards,
>>>
>>> Maciej Moczulski
>>>
>>
>>
>>
>> --
>> Regards,
>>
>> Maciej Moczulski
>>
>> _______________________________________________
>> mkgmap-dev mailing list
>> mkgmap-dev at lists.mkgmap.org.uk
>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>>
>
>
>
> --
> Felix Hartman - Openmtbmap.org & VeloMap.org
> Floragasse 9/11
> 1040 Wien
> Austria - Österreich
>
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>



-- 
Regards,

Maciej Moczulski
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20150716/678a6ffd/attachment-0001.html>


More information about the mkgmap-dev mailing list