This is an automated email from the ASF dual-hosted git repository. jbonofre pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/karaf.git
The following commit(s) were added to refs/heads/master by this push: new 8913306 [KARAF-6887] Remove default JAVA_MAX_MEM JAVA_MIN_MEM settings from bin/inc 8913306 is described below commit 89133063a51dd67ab7c23bb205b5ec0efe6b4c8a Author: Matt Pavlovich <m...@hyte.io> AuthorDate: Thu Oct 15 08:37:35 2020 -0500 [KARAF-6887] Remove default JAVA_MAX_MEM JAVA_MIN_MEM settings from bin/inc (cherry picked from commit 98055bdc88a39b66493c0cbb0a2f8b86affb77a9) --- .../base/src/main/filtered-resources/resources/bin/inc | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/assemblies/features/base/src/main/filtered-resources/resources/bin/inc b/assemblies/features/base/src/main/filtered-resources/resources/bin/inc index c8f33ec..27f59f3 100644 --- a/assemblies/features/base/src/main/filtered-resources/resources/bin/inc +++ b/assemblies/features/base/src/main/filtered-resources/resources/bin/inc @@ -279,19 +279,8 @@ setupVendorSepcifics() { } setupDefaults() { - # - # Set up some easily accessible MIN/MAX params for JVM mem usage - # - if [ "x${JAVA_MIN_MEM}" = "x" ]; then - JAVA_MIN_MEM=128M - export JAVA_MIN_MEM - fi - if [ "x${JAVA_MAX_MEM}" = "x" ]; then - JAVA_MAX_MEM=512M - export JAVA_MAX_MEM - fi - DEFAULT_JAVA_OPTS="-Xms${JAVA_MIN_MEM} -Xmx${JAVA_MAX_MEM} -XX:+UnlockDiagnosticVMOptions " + DEFAULT_JAVA_OPTS="-XX:+UnlockDiagnosticVMOptions " setupVendorSepcifics