Tuesday 8 November 2016

Changing the size of JVM memory in OTM for web server and Weblogic Application Server !!!


In order to change the weblogic and web server memory you have to shutdown the otm web server and app server .


1)Stop otm web and app services.


2)Change JVM memory sizes.

Web Server
+++++++++++
Go to
cd $OTM_HOME/server/bin

ls -l /u01/OTM636/otm/tomcat/bin/tomcat.conf

take the backup of tomcat.conf file and change parameter as shown below.

[oracle@wlsadmin bin]$ diff tomcat.conf tomcat.conf_latest
49,50c49,50
< command.start.jvm.arg=-Xms2048m
< command.start.jvm.arg=-Xmx2048m
---
> command.start.jvm.arg=-Xms4096m
> command.start.jvm.arg=-Xmx4096m
[oracle@wlsadmin bin]$



Weblogic Application Server
+++++++++++++++++++++
Go to 
cd $OTM_HOME/weblogic

ls -l /u01/OTM637/otm/weblogic/weblogic.conf

[oracle@wlsadmin weblogic]$ diff weblogic.conf weblogic.conf_latest
55,56c55,56
< command.start.jvm.arg=-Xms2048m
< command.start.jvm.arg=-Xmx2048m
---
> command.start.jvm.arg=-Xms4096m
> command.start.jvm.arg=-Xmx4096m
[oracle@wlsadmin weblogic]$


3)Start OTM services .

No comments:

Post a Comment