Remove default JAVA_MAX_MEM JAVA_MIN_MEM settings from 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
