Weblogic 12c Java Heap Settings

Backup the file:

/apps/weblogic/domain_name/bin$ cp setStartupEnv.sh setStartupEnv.sh.DATE.bck

FROM
SERVER_MEM_ARGS_32="-Xms256m -Xmx1024m"
To:
SERVER_MEM_ARGS_32="-Xms256m -Xmx2048m"

these are examples increasing from 1gb to 2gb.:

# 32 bit JVM memory settings
        SERVER_MEM_ARGS_32="-Xms256m -Xmx2048m"
        export SERVER_MEM_ARGS_32
        SERVER_MEM_ARGS_32HotSpot="-Xms256m -Xmx2048m"
        export SERVER_MEM_ARGS_32HotSpot
        SERVER_MEM_ARGS_32JRockit="-Xms256m -Xmx2048m"
        export SERVER_MEM_ARGS_32JRockit
        # 64 bit JVM memory settings
        SERVER_MEM_ARGS_64="-Xms256m -Xmx2048m"
        SERVER_MEM_ARGS_64HotSpot="-Xms256m -Xmx2048m"
        export SERVER_MEM_ARGS_64HotSpot
        SERVER_MEM_ARGS_64JRockit="-Xms256m -Xmx2048m"
        export SERVER_MEM_ARGS_64JRockit

Restart and check:

JAVAFORM 29991 29859  0 Jan11 ?        00:09:32 /apps/jdk/base/jdk1.8.0_101/bin/java -server -Xms256m -Xmx2048m -Dweblogic.Name=WLS_FORMS