Recently we have faced performance issue in middle tier while running report. We know that Low JVM heave memory size in Oacore may cause low performance for WebLogic domain. To increase the oacore memory in R12.We must follow the below steps.
Check java default heap size in Oacore.
$ grep s_oacore_jvm_start_options $CONTEXT_FILE
<oacore_jvm_start_options oa_var="s_oacore_jvm_start_options">-XX:PermSize=128m -XX:MaxPermSize=384m -Xms1024m -Xmx1024m
Steps to increase oacore java heap memory.
Step 1. Login to the WebLogic Console using URL.
http://<host_name>:<wls-adminport>/console
Enter Username WebLogic and Password.
Step 2. Click on lock and edit.
Step 3. Go to the Domain structure and expand environment the click on servers.
Step 4. After that click on each oacore_server.
Step 5. Click on Sub_Tab ‘Server Start’.
Step 6. Go to Argument section.
Current Entry.
<oacore_jvm_start_options oa_var="s_oacore_jvm_start_options">-XX:PermSize=128m -XX:MaxPermSize=384m -Xms1024m -Xmx1024m
Change to .
<oacore_jvm_start_options oa_var="s_oacore_jvm_start_options">-XX:PermSize=128m -XX:MaxPermSize=384m -Xms2024m -Xmx2024m
XX is MaxPermSize
Xms is the minimum heap size
Xmx is the maximum heap size
Step 7. Click on ‘Save’ button to save the new configuration.
Step 8. Click on ‘Activate Changes’ to activate the changes in change centre.
Note: – No Need to change the value in $CONTEXT_FILE and run autocofig and No service restart.