Changes between Version 74 and Version 75 of InstallNotes


Ignore:
Timestamp:
2015-11-21T13:46:35+01:00 (10 years ago)
Author:
Don-vip
Comment:

increase memory examples

Legend:

Unmodified
Added
Removed
Modified
  • InstallNotes

    v74 v75  
    2020Create a shortcut like in the following example:
    2121{{{
    22 C:\WINNT\system32\java.exe -jar -Xmx1024M "C:\PATH-TO-JOSM\josm-latest.jar"
     22java.exe -jar -Xmx2048M "C:\PATH-TO-JOSM\josm-latest.jar"
    2323}}}
    2424
     
    3333
    3434
    35  For SUSE and Ubuntu there are also packages on this page [Download#openSUSE available].
     35 For SUSE and Ubuntu there are also packages on this page [[Download#openSUSE|available]].
    3636 If there exists no package or you do not want to use it you can download the JOSM .jar file from the [WikiStart main page] (tested or latest version) or build it from source.
    3737
     
    4747{{{
    4848#!sh
    49  export JAVA_HOME=/usr/lib/sun-j2se6.0-jdk
     49 export JAVA_HOME=/usr/lib/jvm/default-java
    5050 java -jar ''josm.jar''
    5151}}}
     
    7979[[Image(OSX_Error.png)]]
    8080
    81 4. If you need to supply parameters (e.g. -Xmx1024M to run with more Java memory) you can use the MacOS "Terminal":
     814. If you need to supply parameters (e.g. -Xmx2048M to run with more Java memory) you can use the MacOS "Terminal":
    8282
    8383 Start the "Terminal" application (e.g. by typing "Terminal" into the Spotlight search)
     
    102102}}}
    103103
    104   This would allow JOSM to use up to 512 MB of RAM (memory). The java option "-Xmx512M" set's the maximum Java heap size to 512 MB. You are free to replace -Xmx512M by any number appropriate for your system (e.g. -Xmx1024M or even more).
     104  This would allow JOSM to use up to 512 MB of RAM (memory). The java option "-Xmx512M" set's the maximum Java heap size to 512 MB. You are free to replace -Xmx512M by any number appropriate for your system (e.g. -Xmx2048M or even more).
    105105
    106106  By the way. To get an overview of all Java start options you can type in:
     
    110110}}}
    111111
    112 4. If you are using the Mac OS X Package and want to alter a startup parameter permanently, then you will need to alter the Info.plist file within the /Applications/JOSM.app/Contents directory. For example, to increase the maximum Java heap size from 512MB to 768MB, either using the terminal or XCode, in the JVMOptions key alter the entry ''-Xmx512m'' to ''-Xmx768m''.
     1124. If you are using the Mac OS X Package and want to alter a startup parameter permanently, then you will need to alter the Info.plist file within the /Applications/JOSM.app/Contents directory. For example, to increase the maximum Java heap size from 512MB to 2048MB, either using the terminal or XCode, in the JVMOptions key alter the entry ''-Xmx512m'' to ''-Xmx2048m''.
    113113
    114114== Getting the Source ==