Il compilatore mappe non va

  • Cannondale presenta la nuova Scalpel, la sua bici biammortizzata da cross country che adesso ha 120 millimetri di escursione anteriore e posteriore in tutte le sue versioni. Sembra che sia cambiato poco, a prima vista, ma sono i dettagli che fanno la differenza e che rendono questa Scalpel 2024 nettamente più performante del modello precedente.
    Iscriviti al canale se non l'hai ancora fatto (clicca qui).


aldoct

Biker serius
21/4/06
275
2
0
Pozzallo (Ragusa)
Visita sito
Bike
Scott Spark RC700 Wordcup
Nel PC tutto funziona alla perfezione; ma quando ho copiato il compilatore "CreateIMG - italia scratera777.bat" sul portatile ho ricevuto il seguente messaggio:"
* OSM map data to generate a Garmin IMG routable map *
******************************************************
File OSM-Data\isole-latest.osm.pbf found: delete it for a new download
Start converting isole-latest OSM data into IMG Map...
Splitting OSM-Data\isole-latest.osm.pbf. Please wait
Invalid maximum heap size: -Xmx4600m
The specified size exceeds the maximum representable size.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Compiling OSM-Data\isole-latest.osm.pbf into IMG, FID=777. Please wait
Invalid maximum heap size: -Xmx4600m
The specified size exceeds the maximum representable size.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
***********************************************
*** SORRY: IMG compiling task has FAILED!!! ***
*********************************************** ------------------------------------------
Cosa dovrei fare per ovviare al problema? Grazie molte
 

aldoct

Biker serius
21/4/06
275
2
0
Pozzallo (Ragusa)
Visita sito
Bike
Scott Spark RC700 Wordcup
Java era già installato; l'ho aggiornato ed ho riprovato: stesso risultato. Mi pare che il problema principale sia indicato con "Invalid maximum heap size: -Xmx4600m". Devo aumentare le dimensioni di cosa e dove?
Ciao, apprezzo la tua disponibilità
 

aldoct

Biker serius
21/4/06
275
2
0
Pozzallo (Ragusa)
Visita sito
Bike
Scott Spark RC700 Wordcup
Ho sostituito 1 4600 con 2600
Non funziona ancora ma il messaggio ora è il seguente:
* This script downloads (if needed) and compiles the *
* OSM map data to generate a Garmin IMG routable map *
******************************************************
File OSM-Data\isole-latest.osm.pbf found: delete it for a new download
Start converting isole-latest OSM data into IMG Map...
Splitting OSM-Data\isole-latest.osm.pbf. Please wait
Error occurred during initialization of VM
Could not reserve enough space for 2662400KB object heap
Compiling OSM-Data\isole-latest.osm.pbf into IMG, FID=777. Please wait
Error occurred during initialization of VM
Could not reserve enough space for 2662400KB object heap

Non capisco da dove prende "2662400KB".
 

scratera

Biker nirvanensus
30/6/07
26.176
2.376
0
rovereto TN
Visita sito
Bike
...
...sostituisci con queste
rem start /low /b /wait java -enableassertions -Xmx1000m -jar ..\bin\splitter.jar --mapid=66%FID%001 --max-nodes=1000000 ..\OSM-Data\%osmfile%

rem start /low /b /wait java -enableassertions -Xmx1250m -jar ..\bin\splitter.jar --mapid=66%FID%001 --output=xml ..\OSM-Data\%osmfile%

start /low /b /wait java -enableassertions -Xmx1250m -jar ..\bin\splitter.jar --mapid=66%FID%001 ..\OSM-Data\%osmfile%

:Compile

echo.
echo Compiling OSM-Data\%osmfile% into IMG, FID=%FID%. Please wait
echo.

set TypFileToAdd=
if "%AddTypToIMG%" NEQ "yes" goto :NoTypToAdd
copy "..\bin\typ\%typfile%" style.typ 2>nul 1>nul
..\bin\TYPtool %FID% 1 style.typ >nul
set TypFileToAdd=style.typ

:NoTypToAdd

start /low /b /wait java -enableassertions -Xmx1000m -jar ..\bin\mkgmap.jar --country-name="%country%" --family-id=%FID% --mapname=66%FID%001 --overview-mapname=66%FID%000 --series-name="OSM-%country%" --family-name="OpenStreetMap: %country%" --style-file=..\bin\styles\ --style=%style% --description="%country%" -c ..\bin\template_basic.args -c template.args %TypFileToAdd%
 

aldoct

Biker serius
21/4/06
275
2
0
Pozzallo (Ragusa)
Visita sito
Bike
Scott Spark RC700 Wordcup
...sostituisci con queste
rem start /low /b /wait java -enableassertions -Xmx1000m -jar ..\bin\splitter.jar --mapid=66%FID%001 --max-nodes=1000000 ..\OSM-Data\%osmfile%

rem start /low /b /wait java -enableassertions -Xmx1250m -jar ..\bin\splitter.jar --mapid=66%FID%001 --output=xml ..\OSM-Data\%osmfile%

start /low /b /wait java -enableassertions -Xmx1250m -jar ..\bin\splitter.jar --mapid=66%FID%001 ..\OSM-Data\%osmfile%

:Compile

echo.
echo Compiling OSM-Data\%osmfile% into IMG, FID=%FID%. Please wait
echo.

set TypFileToAdd=
if "%AddTypToIMG%" NEQ "yes" goto :NoTypToAdd
copy "..\bin\typ\%typfile%" style.typ 2>nul 1>nul
..\bin\TYPtool %FID% 1 style.typ >nul
set TypFileToAdd=style.typ

:NoTypToAdd

start /low /b /wait java -enableassertions -Xmx1000m -jar ..\bin\mkgmap.jar --country-name="%country%" --family-id=%FID% --mapname=66%FID%001 --overview-mapname=66%FID%000 --series-name="OSM-%country%" --family-name="OpenStreetMap: %country%" --style-file=..\bin\styles\ --style=%style% --description="%country%" -c ..\bin\template_basic.args -c template.args %TypFileToAdd%
Adesso sono fuori sede e non posso provare. Lo farò domani. Solo una questione: devo fare un copia-incolla di tutta la formula magica?
 

Classifica mensile dislivello positivo