Set @java_xmx for Wildfly

Zanata can sometimes run into a "GC overhead limit exceeded" error
when running with the default 512m of RAM for the -Xmx JAVA_OPTS
variable.

Fortunately the Wildfly module we use has this as a variable for
it, using that (see manifests/install.pp for in the biemond-wildfly
module and associated standalone template for details).

Change-Id: I5d1f03c9d5cd57bb6bbf6650292173a3325cec4d
This commit is contained in:
Elizabeth K. Joseph 2015-09-15 10:30:46 -07:00
parent 2e4c4cce6e
commit 9ee18e3ba3
1 changed files with 1 additions and 0 deletions

View File

@ -28,6 +28,7 @@ class zanata::wildfly(
install_source => $wildfly_install_source,
config => 'standalone.xml',
java_home => '/usr/lib/jvm/java-7-openjdk-amd64/jre/',
java_xmx => '2048m',
require => Package['openjdk-7-jre-headless'],
}
}