This content has been marked as final. Show 5 replies
You can set the heap size in setDomainEnv.sh. Depending on the JDK used, you can modify the values in WLS_MEM_ARGS_64BIT or WLS_MEM_ARGS_32BIT.
Another way to set the heap values is to modify the server start tab in the admin console and provide the -Xms and -Xmx values.
You can also have a customized start script for each managed server and pass the heap values using JAVA_OPTIONS.
whether you have 32 bit or 64 bit.
if you are running with 32 bit then Make sure to have upto 2 GB as Heap in case of Jrockit or if you are running in Sun JDK we can set 1.5GB Heap.
So you can set min Heap and Max heap as same.
If you are running with 64 bit then we can go with any heap setting.
let me know if you need any more.
Update the below entries in setDomainEnv.sh with the values which are recommended for your environment. This depends upon the JDK type (Sun or Jrockit) and if it is 32 bit or 64 bit.
The below example is for Jrockit 64 bit version. If you are using 32 bit Jrockit, please update XMS_JROCKIT_32BIT and XMX_JROCKIT_32BIT. 2048 in MB here is 2 GB
If the JDK is SUN, below are the settings to be updated.
You can also update the heap settings from admin console.
Environment --> servers --> <server_name> --> server start
go to Arguments and enter
Please restart the JVM once you made changes to setDomainEnv.sh or through console to see the new heap settings.