Re: [Talk-it] creazione mappa

2019-12-08 Per discussione Andrea Albani
Con java a 32 bit non puoi allocare quella quantità di memoria, quindi
installa la versione a 64.

Il lun 9 dic 2019, 07:20 demon_box  ha scritto:

> comunque se vado in pannello di controllo l'icona java é
>
> Java (32 bit)
>
> boh
>
>
___
Talk-it mailing list
Talk-it@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-it


Re: [Talk-it] creazione mappa

2019-12-08 Per discussione Francesco Ansanelli
Ciao,

Prova con:

Xmx12G

Francesco


Il lun 9 dic 2019, 07:26 demon_box  ha scritto:

> disinstallato java 64 e reinstallato java 32 ma l'errore non cambia
>
> Invalid maximum heap size: -Xmx12000m
> 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.
>
> ...purtroppo
>
>
>
>
> --
> Sent from: http://gis.19327.n8.nabble.com/Italy-General-f5324174.html
>
> ___
> Talk-it mailing list
> Talk-it@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk-it
>
___
Talk-it mailing list
Talk-it@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-it


Re: [Talk-it] creazione mappa

2019-12-08 Per discussione demon_box
disinstallato java 64 e reinstallato java 32 ma l'errore non cambia

Invalid maximum heap size: -Xmx12000m
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.

...purtroppo




--
Sent from: http://gis.19327.n8.nabble.com/Italy-General-f5324174.html

___
Talk-it mailing list
Talk-it@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-it


Re: [Talk-it] creazione mappa

2019-12-08 Per discussione demon_box
comunque se vado in pannello di controllo l'icona java é

Java (32 bit)

boh



--
Sent from: http://gis.19327.n8.nabble.com/Italy-General-f5324174.html

___
Talk-it mailing list
Talk-it@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-it


Re: [Talk-it] creazione mappa

2019-12-08 Per discussione demon_box
se lancio java -version esce questo

java version "1.8.0_231"
Java(TM) SE Runtime Environment (build 1.8.0_231-b11)
Java HotSpot(TM) Client VM (build 25.231-b11, mixed mode)

e credo proprio di aver scelto come installazione quella a 64bit

dovrei installare quella a 32bit?

grazie

--enrico




--
Sent from: http://gis.19327.n8.nabble.com/Italy-General-f5324174.html

___
Talk-it mailing list
Talk-it@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-it


[Talk-it] creazione mappa

2019-12-08 Per discussione demon_box
ciao, ho un problema nella creazione della mappa:

la mia stringa che lancia mkgmap è così

start /low /b /wait java -enableassertions -Xmx1024m -jar ..\bin\mkgmap.jar
--country-name="%country%" --family-id=%FID% --mapname=66%FID%001
--overview-mapname=66%FID%000 --series-name="OSM_%date%"
--family-name="OSM_%date%"
--bounds=C:\OSM\CreateIMG\OSM-Data\bounds-latest.zip
--style-file=..\bin\styles\ --style=%style% --description="%country%" -c
..\bin\template_basic.args -c template.args %TypFileToAdd%

al termine mi dice così:

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
11900 MB, providing this is less than the amount of physical memory
installed.

avendo installati 32Gb di RAM

-Xmx11900m come suggerito ma al termine va in errore dicendo così:

Invalid maximum heap size: -Xmx11900m
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.

quindi non sò che fare...
e capitato anche a qualcuno di voi?

grazie

--enrico




--
Sent from: http://gis.19327.n8.nabble.com/Italy-General-f5324174.html

___
Talk-it mailing list
Talk-it@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-it