logo separator

[mkgmap-dev] [Partch v2] reduce peak memory usage for global index

From Gerd Petermann GPetermann_muenchen at hotmail.com on Thu Mar 30 20:53:59 BST 2017

Hi Thomas,

the jar needs libraries. To run it, you must replace the original mkgmap.jar (or rename that first)

Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Thomas Morgenstern <webmaster at img2ms.de>
Gesendet: Donnerstag, 30. März 2017 21:51:27
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] [Partch v2] reduce peak memory usage for global index

Hi Gerd, something goes wrong with the compiled mkgmap.jar. i have downloaded it . but it gives me a error.  Mybee the error is reladed to the compilation ?  See screenshot :

[cid:part1.1ED55BC0.25CA812A at img2ms.de]


Am 30.03.2017 um 18:12 schrieb Gerd Petermann:

Hi all,

attached is an improved version which also implements the new option --x-mdr7-excl.
It also has some debug messages which will print Strings which appear very often, something like this:
Street index (Mdr7) 'Service' : 11.09%
Street index (Mdr7) 'Straße' : 7.09%
Street index (Mdr7) 'CyW' : 1.66%
Street index (Mdr7) 'Pth' : 3.81%
Street index (Mdr7) 'Weg' : 1.13%
Street index (Mdr7) 'Foot' : 9.17%
Street index (Mdr7) 'Steps' : 1.58%
(sample from Arndts "Speichenkarte" style which adds osm tags to the street name.

The idea is to use Option --x-mdr7-excl="Service,Straße,Foot,Pth" to exclude some strings from the global index.
This will esp. reduce heap memory usage , but it will also reduce the size of the index.

The search will still find roads like "Abc Straße" when you search for abc, but it will not display all the streets containing
Straße when you just type Straße. It should also still display "Straße des 17. Juni" if you type
"Straße des" or just "Juni" in case you use --x-split-name-index.

The binary is here:


mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk<mailto:mkgmap-dev at lists.mkgmap.org.uk>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mkgmaperror.jpg
Type: image/jpeg
Size: 91095 bytes
Desc: mkgmaperror.jpg
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20170330/fa2e9a98/attachment-0001.jpg>

More information about the mkgmap-dev mailing list