Skip to content

Commit 51be429

Browse files
committed
force the stopServer.sh to use less memory when stopping server, otherwise it will take from USER_MEM_ARGS which may not be available.
1 parent 7a76a1b commit 51be429

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ 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+
USER_MEM_ARGS="-Xms128m -Xmx256m" ${SCRIPTPATH}/wlst.sh /weblogic-operator/scripts/stop-server.py &>> ${STOP_OUT_FILE}
117117
trace "After stop-server.py" &>> ${STOP_OUT_FILE}
118118

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

0 commit comments

Comments
 (0)