[java-idp-tomcat-base] 02/04: Enable alternate garbage collector
Tom Zeller
tzeller at dragonacea.biz
Thu Mar 29 20:06:23 EDT 2018
This is an automated email from the git hooks/post-receive script.
tzeller pushed a commit to branch 8.5
in repository java-idp-tomcat-base.
View the commit online:
http://git.shibboleth.net/view/?p=java-idp-tomcat-base.git;a=commit;h=9b399cfc321f7f38aff92a7d8659751f38f1e0c2
commit 9b399cfc321f7f38aff92a7d8659751f38f1e0c2
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Thu Mar 29 18:29:17 2018 -0500
Enable alternate garbage collector
Reduce memory usage on larger metadata files
---
src/main/resources/tomcat-base/bin/setenv.bat | 2 +-
src/main/resources/tomcat-base/bin/setenv.sh | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/resources/tomcat-base/bin/setenv.bat b/src/main/resources/tomcat-base/bin/setenv.bat
index 126e0c2..3c55c31 100755
--- a/src/main/resources/tomcat-base/bin/setenv.bat
+++ b/src/main/resources/tomcat-base/bin/setenv.bat
@@ -1 +1 @@
-set "CATALINA_OPTS=%CATALINA_OPTS% -Didp.home=/opt/shibboleth-idp"
\ No newline at end of file
+set "CATALINA_OPTS=%CATALINA_OPTS% -XX:+UseG1GC -Didp.home=/opt/shibboleth-idp"
\ No newline at end of file
diff --git a/src/main/resources/tomcat-base/bin/setenv.sh b/src/main/resources/tomcat-base/bin/setenv.sh
index a88f2b6..23bd4fb 100755
--- a/src/main/resources/tomcat-base/bin/setenv.sh
+++ b/src/main/resources/tomcat-base/bin/setenv.sh
@@ -1,3 +1,3 @@
#!/bin/sh
-export "CATALINA_OPTS=$CATALINA_OPTS -Didp.home=/opt/shibboleth-idp"
\ No newline at end of file
+export "CATALINA_OPTS=$CATALINA_OPTS -XX:+UseG1GC -Didp.home=/opt/shibboleth-idp"
\ No newline at end of file
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list