Skip to content

Commit 64f8a8b

Browse files
jshum2479rjeberhard
authored andcommitted
force the stopServer.sh to use less memory
1 parent 7a76a1b commit 64f8a8b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

operator/src/main/resources/scripts/stopServer.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,8 @@ check_for_shutdown
113113
[ ! -f "${SCRIPTPATH}/wlst.sh" ] && trace SEVERE "Missing file '${SCRIPTPATH}/wlst.sh'." && exit 1
114114

115115
trace "Before stop-server.py [${SERVER_NAME}] ${SCRIPTDIR}" &>> ${STOP_OUT_FILE}
116-
${SCRIPTPATH}/wlst.sh /weblogic-operator/scripts/stop-server.py &>> ${STOP_OUT_FILE}
116+
# Use the default wlst.sh memory settings for stopping the server -Xms32m -X1024m should be enough
117+
USER_MEM_ARGS="" ${SCRIPTPATH}/wlst.sh /weblogic-operator/scripts/stop-server.py &>> ${STOP_OUT_FILE}
117118
trace "After stop-server.py" &>> ${STOP_OUT_FILE}
118119

119120
# at this point node manager should have terminated the server

0 commit comments

Comments
 (0)