Wednesday, January 21, 2026

Resize the JVM heap for OACore and OAFM directly from the WebLogic Console in EBS

Step:1:


Open a browser and go to:

http://<host>:<port>/console

Login with the weblogic admin username/password.


Step:2:

Navigate to the Server In the left panel, go to: Environment → Servers You’ll see a list of managed servers: OACore_server1 → OACore OAFM_server1 → OAFM

Step:3:

For OACore (4 GB):
oacore_server1:

Set JVM Heap Size Go to the Server → Server Name → Server Start tab. In the Arguments field, you will see something like below: Click on Lock and Edit






Step 4:
oafm - 2GB






Activate Changes:



Message icon - Success All changes have been activated. No restarts are necessary.










3 comments:

  1. Validations:

    ps -ef | grep '[o]acore' | awk '{for(i=1;i<=NF;i++) if($i ~ /-Xmx| -Xms/) print $i}'
    -Xmx4096m


    ps -ef | grep '[o]acore' | awk '{for(i=1;i<=NF;i++) if($i ~ /-Xmx| -Xms/) print $i}'



    ps -ef | grep '[o]afm' | awk '{for(i=1;i<=NF;i++) if($i ~ /-Xmx| -Xms/) print $i}'
    -Xmx2048m

    ReplyDelete
  2. Optional: Show PID + Heap Sizes
    ps -ef | grep '[o]acore' | awk '{pid=$2; for(i=1;i<=NF;i++) if($i ~ /-Xmx| -Xms/) h=h" "$i; print "PID="pid, h; h=""}'

    ReplyDelete
  3. more $CONTEXT_FILE|grep -i oafm_jvm_start_options
    more $CONTEXT_FILE|grep -i oacore_jvm_start_options

    ReplyDelete

Resize the JVM heap for OACore and OAFM directly from the WebLogic Console in EBS

Step:1: Open a browser and go to: http:// < host >: < port >/console Login with the weblogic admin username/p...