Increase the JVM heap memory in R12.2
To increase the JVM memory in E12.2 , run the following script :
Change the JVM from 1GB to 4 GB
perl <AD_TOP>/patch/115/bin/adProvisionEBS.pl ebs-set-managedsrvproperty \
-contextfile=<CONTEXT_FILE> -managedsrvname=<MANAGED SERVER NAME> \
-serverstartargs="<COMPLETE LIST OF JVM ARGUMENTS>"
managedsrvname= Name of the Managed server say(Oacore)
serverstartargs="<COMPLETE LIST OF JVM ARGUMENTS>"
You can take the JVM argument from the followoing locaiton :
Change heap size login to WebLogic console and navigate to below path :
Home >Summary of Servers >oacore_server1> Configuration(Tab) > Server Start(Tab) > Arguments
Argument:
d64 -Xms1024m -Xmx1024m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=256m -Djava.security.policy=/RLFSIT/apps/R12apps/fs1/FMW_Home/wlserver_10.3/server/lib/weblogic.policy -Xverify:none -da -.................................................................................................................................................................../RLFSIT/apps/R12apps/fs1/EBSapps/appl/pon/12.0.0/bin64:/RLFSIT/apps/R12apps/fs1/EBSapps/appl/sht/12.0.0/lib:null
to
d64 -Xms4096m -Xmx4096m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=256m -Djava.security.policy=/RLFSIT/apps/R12apps/fs1/FMW_Home/wlserver_10.3/server/lib/weblogic.policy -Xverify:none -da -.................................................................................................................................................................../RLFSIT/apps/R12apps/fs1/EBSapps/appl/pon/12.0.0/bin64:/RLFSIT/apps/R12apps/fs1/EBSapps/appl/sht/12.0.0/lib:null
Usage:
-------
perl <AD_TOP>/patch/115/bin/adProvisionEBS.pl ebs-set-managedsrvproperty \
-contextfile=<CONTEXT_FILE> -managedsrvname=Oacore_server1 \
-serverstartargs="d64 -Xms4096m -Xmx4096m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=256m -Djava.security.policy=/RLFSIT/apps/R12apps/fs1/FMW_Home/wlserver_10.3/server/lib/weblogic.policy -Xverify:none -da -.................................................................................................................................................................../RLFSIT/apps/R12apps/fs1/EBSapps/appl/pon/12.0.0/bin64:/RLFSIT/apps/R12apps/fs1/EBSapps/appl/sht/12.0.0/lib:null"
To increase the JVM memory in E12.2 , run the following script :
Change the JVM from 1GB to 4 GB
perl <AD_TOP>/patch/115/bin/adProvisionEBS.pl ebs-set-managedsrvproperty \
-contextfile=<CONTEXT_FILE> -managedsrvname=<MANAGED SERVER NAME> \
-serverstartargs="<COMPLETE LIST OF JVM ARGUMENTS>"
managedsrvname= Name of the Managed server say(Oacore)
serverstartargs="<COMPLETE LIST OF JVM ARGUMENTS>"
You can take the JVM argument from the followoing locaiton :
Change heap size login to WebLogic console and navigate to below path :
Home >Summary of Servers >oacore_server1> Configuration(Tab) > Server Start(Tab) > Arguments
Argument:
d64 -Xms1024m -Xmx1024m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=256m -Djava.security.policy=/RLFSIT/apps/R12apps/fs1/FMW_Home/wlserver_10.3/server/lib/weblogic.policy -Xverify:none -da -.................................................................................................................................................................../RLFSIT/apps/R12apps/fs1/EBSapps/appl/pon/12.0.0/bin64:/RLFSIT/apps/R12apps/fs1/EBSapps/appl/sht/12.0.0/lib:null
to
d64 -Xms4096m -Xmx4096m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=256m -Djava.security.policy=/RLFSIT/apps/R12apps/fs1/FMW_Home/wlserver_10.3/server/lib/weblogic.policy -Xverify:none -da -.................................................................................................................................................................../RLFSIT/apps/R12apps/fs1/EBSapps/appl/pon/12.0.0/bin64:/RLFSIT/apps/R12apps/fs1/EBSapps/appl/sht/12.0.0/lib:null
Usage:
-------
perl <AD_TOP>/patch/115/bin/adProvisionEBS.pl ebs-set-managedsrvproperty \
-contextfile=<CONTEXT_FILE> -managedsrvname=Oacore_server1 \
-serverstartargs="d64 -Xms4096m -Xmx4096m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=256m -Djava.security.policy=/RLFSIT/apps/R12apps/fs1/FMW_Home/wlserver_10.3/server/lib/weblogic.policy -Xverify:none -da -.................................................................................................................................................................../RLFSIT/apps/R12apps/fs1/EBSapps/appl/pon/12.0.0/bin64:/RLFSIT/apps/R12apps/fs1/EBSapps/appl/sht/12.0.0/lib:null"