1. Modify weblogic memory:
Location: file in Oracle/Middleware/wlserver_10.3/common/bin
CommEnv. sh:
If ["$ PRODUCTION_MODE" = "true"]; then
Case $ JAVA_VENDOR in
Oracle)
JAVA_VM =-jrockit
MEM_ARGS = "-Xms128m-Xmx256m"
;;
HP)
JAVA_VM =-server
MEM_ARGS = "-Xms32m-Xmx200m-XX: MaxPermSize = 128 m"
;;
IBM)
JAVA_VM =
MEM_ARGS = "-Xms32m-Xmx200m"
;;
Sun)
JAVA_VM =-server
MEM_ARGS = "-Xms4g-Xmx8g-XX: MaxPermSize = 2g" // modify it according to your jdk: 4g-8g,
;;
Apple)
JAVA_VM =-server
MEM_ARGS = "-Xms32m-Xmx200m-XX: MaxPermSize = 128 m"
;;
*)
JAVA_VM =
MEM_ARGS = "-Xms32m-Xmx200m"
;;
Esac
Else
Case $ JAVA_VENDOR in
Oracle)
JAVA_VM =-jrockit
MEM_ARGS = "-Xms128m-Xmx256m"
JAVA_OPTIONS = "$ {JAVA_OPTIONS}-Xverify: none"
;;
HP)
JAVA_VM =-client
MEM_ARGS = "-Xms32m-Xmx200m-XX: MaxPermSize = 128 m"
;;
IBM)
JAVA_VM =
MEM_ARGS = "-Xms32m-Xmx200m"
;;
Sun)
JAVA_VM =-client
MEM_ARGS = "-Xms4g-Xmx8g-XX: MaxPermSize = 2g"
JAVA_OPTIONS = "$ {JAVA_OPTIONS}-Xverify: none"
;;
Apple)
JAVA_VM =-client
MEM_ARGS = "-Xms32m-Xmx200m-XX: MaxPermSize = 128 m"
;;
*)
JAVA_VM =
MEM_ARGS = "-Xms32m-Xmx200m"
;;
Esac
Fi
Export JAVA_VM MEM_ARGS JAVA_OPTIONS
2. jdk memory configuration
Location: Middleware/user_projects/domains/base_domain/bin
Modify setDomainEnv. sh
If ["$ {JAVA_VENDOR}" = "Sun"]; then
WLS_MEM_ARGS_64BIT = "-Xms4g-Xmx6g"
Export WLS_MEM_ARGS_64BIT
WLS_MEM_ARGS_32BIT = "-Xms4g-Xmx6g"
Export WLS_MEM_ARGS_32BIT
Else
WLS_MEM_ARGS_64BIT = "-Xms512m-Xmx512m"
Export WLS_MEM_ARGS_64BIT
WLS_MEM_ARGS_32BIT = "-Xms512m-Xmx512m"
Export WLS_MEM_ARGS_32BIT
Fi
Ps: jdk is sun by default, and others are configured as needed