Skip to content

Commit

Permalink
Add support to set initial Java heap size
Browse files Browse the repository at this point in the history
  • Loading branch information
Merritt Krakowitzer committed Feb 27, 2014
1 parent 23723a3 commit aa99875
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@

# JVM Settings
$javahome,
$jvm_xms = '256m',
$jvm_xmx = '1024m',
$jvm_optional = '-XX:-HeapDumpOnOutOfMemoryError',

Expand Down
2 changes: 1 addition & 1 deletion templates/setenv.sh.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ JVM_SUPPORT_RECOMMENDED_ARGS="<%= scope.lookupvar('jira::jvm_optional') %>"
#
# The following 2 settings control the minimum and maximum given to the JIRA Java virtual machine. In larger JIRA instances, the maximum amount will need to be increased.
#
JVM_MINIMUM_MEMORY="256m"
JVM_MINIMUM_MEMORY="<%= scope.lookupvar('jira::jvm_xms') %>"
JVM_MAXIMUM_MEMORY="<%= scope.lookupvar('jira::jvm_xmx') %>"

#
Expand Down

0 comments on commit aa99875

Please sign in to comment.