I agree, it is not a really solution. But it is the only thing i can do with my 10 GB RAM. I will bee happy, if you found a algorythmus, which can use -x-split-name-index and works with my limited RAM, and avoids the OutOfMemory java heapspace error. By the way: With a smaller inputarea (Easteuropa or Skandinavia), 10 GB RAM is enough to use x-split-name-index, no error occurs.

regards thomas


Am 29.03.2017 um 18:08 schrieb Gerd Petermann:
Hi Thomas,

I already understood that but I don't call this a solution ;-)
My understanding is that the option is really helpfull in countries like Spain
were many street names start with Rua.

Gerd
________________________________________
Von: mkgmap-dev <[email protected]> im Auftrag von Thomas 
Morgenstern <[email protected]>
Gesendet: Mittwoch, 29. März 2017 17:21:01
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] RAM and mdr Europa ?

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 
<[email protected]><mailto:[email protected]> im 
Auftrag von Thomas Morgenstern <[email protected]><mailto:[email protected]>
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><http://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:[email protected]]

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
[email protected]<mailto:[email protected]>
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev




_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to