Hi Gerd,

I have solved the problem. i do not longer  use  -x-split-name-index, but only -index. This decrease the RAM and my java heap space is great enough or that option.

Rgeards Thomas



Am 29.03.2017 um 09:27 schrieb Gerd Petermann:
Hi Thomas,

maybe it helps:
The problem occured while sorting the index entries for streets names. With option  --x-split-name-index
you have one entry for each word in the street name. I think this option can easily dup the number of entries and
aso the required memory for the entries is higher.

We've once tried to fix this partially with Mdr7.patch but it turned out to produce wrong entries in the index.
I'll try again to find a better solution.

In the mean time you may check how your style handles street names. Maybe you often use addlabel or you
add words to the road names ? I've seen styles which add a default name for each unnamed object.

Gerd
________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Thomas Morgenstern <webmaster@img2ms.de>
Gesendet: Freitag, 24. März 2017 17:07:22
An: Development list for mkgmap
Betreff: [mkgmap-dev] RAM and mdr Europa ?

Hi, I have a W10, 64 bit machine  and 10 GB RAM. Since  a few months i can not generate the mdr-file for Europa from www.Download.Geofabrik.de<http://www.Download.Geofabrik.de> In a first run i generate only all the maptiles. No Problem. in a second i will generate the overview, tdb and mdr. I start java -Xmx9800m -XX:-UseGCOverheadLimit jar mkgmap.jar code-page=1252 -family-id=1901 -x-split-name-index -index  D:\Karten\Europa\*.img.

and get the error.

[cid:part1.6A605C7E.D89F4F60@img2ms.de]

with mkgmap-r3864 it get the same error.

How many RAM must i have for Europa complete ?. In august 2016 it was possible to create the mdr with 6 GB RAM. But the filesize is growm ...

thomas





_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev