Skip to content

Commit

Permalink
see #16260 - increase default memory options to 2GB
Browse files Browse the repository at this point in the history
git-svn-id: https://josm.openstreetmap.de/svn/trunk@13722 0c6e7542-c601-0410-84e7-c038aed88b3b
  • Loading branch information
don-vip committed May 9, 2018
1 parent 826cc44 commit 25d64a9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.xml
Expand Up @@ -206,7 +206,7 @@ Build-Date: ${build.tstamp}

<classpath file="${bundle.jar}"/>

<option value="-Xmx1024m"/>
<option value="-Xmx2048m"/>

<option value="-Xdock:icon=Contents/Resources/JOSM.icns"/>
<option value="-Xdock:name=JOSM"/>
Expand Down
2 changes: 1 addition & 1 deletion linux/latest/etc/default/josm-latest
Expand Up @@ -2,7 +2,7 @@
# Uncomment the JAVA_OPTS lines to enable their use by /usr/bin/josm-latest

# Increase usable memory
#JAVA_OPTS="${JAVA_OPTS} -Xmx1024m"
#JAVA_OPTS="${JAVA_OPTS} -Xmx2048m"

# Enable OpenGL pipeline (2D graphic accelerators)
#JAVA_OPTS="${JAVA_OPTS} -Dsun.java2d.opengl=True"
Expand Down
2 changes: 1 addition & 1 deletion linux/tested/etc/default/josm
Expand Up @@ -2,7 +2,7 @@
# Uncomment the JAVA_OPTS lines to enable their use by /usr/bin/josm

# Increase usable memory
#JAVA_OPTS="${JAVA_OPTS} -Xmx1024m"
#JAVA_OPTS="${JAVA_OPTS} -Xmx2048m"

# Enable OpenGL pipeline (2D graphic accelerators)
#JAVA_OPTS="${JAVA_OPTS} -Dsun.java2d.opengl=True"
Expand Down
2 changes: 1 addition & 1 deletion windows/josm-setup-unix.sh
Expand Up @@ -129,7 +129,7 @@ function build_exe {
/bin/mv ${TARGET}.exe ${TARGET}-intermediate.exe 2>/dev/null >/dev/null
}

build_exe "josm" "64\/32" 128 1024
build_exe "josm" "64\/32" 256 2048
# 64-bit binary generation commented until possible with launch4j / nsis
# build_exe "josm64" "64" 256 2048

Expand Down

0 comments on commit 25d64a9

Please sign in to comment.