logo separator

[mkgmap-dev] Error in memory calculation

From Gerd Petermann GPetermann_muenchen at hotmail.com on Fri Jan 31 16:15:49 GMT 2020

Hi Ticker,

please try this command with openjdk 11 or 13 64Bit:
java -Xms4G -Xmx10G -jar mkgmap.jar f:\osm\dummy.osm f:\osm\dummy.osm f:\osm\dummy.osm
This is what I get:
Time started: Fri Jan 31 17:12:53 CET 2020
Setting max-jobs to 1
Number of MapFailedExceptions: 0
To reduce the run time, consider increasing the amnount of memory available for use by mkgmap by using the Java -Xmx flag to set the memory to more than 41000 MB, providing this is less than the amount of physical memory installed.
Number of ExitExceptions: 0
Time finished: Fri Jan 31 17:12:54 CET 2020
Total time taken: 1 second

Seems that MemoryPoolMXBean.getPeakUsage() returns other values than Oracles JRE.

Gerd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dummy.osm
Type: application/octet-stream
Size: 100 bytes
Desc: dummy.osm
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20200131/f3cd63fd/attachment.obj>


More information about the mkgmap-dev mailing list