Skip to content

Commit

Permalink
Merge pull request #3 from terencewestphal/develop
Browse files Browse the repository at this point in the history
Changed JVM_OPTS to -XmsM
  • Loading branch information
Terence Westphal authored Jul 23, 2017
2 parents 385c343 + 93d8109 commit c802eb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ fileExists() {

start_server() {
local ram=$(available_memory)
local jvm_opt="-Xms256M -Xmx${ram}M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalPacing -XX:+AggressiveOpts"
local jvm_opt="-Xms${ram}M -Xmx${ram}M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalPacing -XX:+AggressiveOpts"
local jar_opt="${JAR_OPT}"
local server="${PACKAGE}/${JAR}"
fileExists "${server}" || error "Failed to locate ${server}"
Expand Down

0 comments on commit c802eb4

Please sign in to comment.