[mkgmap-dev] Error in memory calculation
From Ticker Berkin rwb-mkgmap at jagit.co.uk on Wed Feb 5 13:05:52 GMT 2020
Hi Gerd I don't have a 64bit environment or that much memory. In my normal environment, I get: $ java -Xms1500M -Xmx1540M -jar ../mkgmap.trunk/mkgmap.jar \ dummy.osm dummy.osm dummy.osm Time started: Wed Feb 05 12:56:28 GMT 2020 Setting max-jobs to 4 Number of MapFailedExceptions: 0 Number of ExitExceptions: 0 Time finished: Wed Feb 05 12:56:29 GMT 2020 Total time taken: 1 second -Xmx1540M is the maximum value that allows Java to start up on my machine. With a newer version I loaded in October, but it didn't have any obvious advantages: $ /opt/jre1.8.0_231/bin/java -Xms1500M -Xmx1540M \ -jar ../mkgmap.trunk/mkgmap.jar \ dummy.osm dummy.osm dummy.osm Time started: Wed Feb 05 12:58:29 GMT 2020 Setting max-jobs to 4 Number of MapFailedExceptions: 0 Number of ExitExceptions: 0 Time finished: Wed Feb 05 12:58:30 GMT 2020 Total time taken: 1 second Ticker On Fri, 2020-01-31 at 16:15 +0000, Gerd Petermann wrote: > 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
- Previous message: [mkgmap-dev] Error in memory calculation
- Next message: [mkgmap-dev] Error in memory calculation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list