1. Open a terminal
2. Open BEA_HOME/DOMAIN_DIR/bin/setDomainEnv.sh
3. Add the GC options to the script changing the line
JAVA_OPTIONS="${JAVA_OPTIONS}"
with
JAVA_OPTIONS="${JAVA_OPTIONS} -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps"
4. Save the file
5. Restart the WebLogic Server using the script startWebLogic.sh or startManagedWebLogic.sh
No comments:
Post a Comment