Register | Login

If the heap size needs to be set for all the instance to the same value then use the run.conf in the bin directory


e.g. $JBOSS_HOME/bin/run.conf


set the JAVA_OPTS value as


JAVA_OPTS="-Xms1303m -Xmx1303m”


The good practice is to set the heap size for individual instances. In order to set the heap size for the individual instances, copy the run.conf file to conf folder


e.g. $JBOSS_HOME/server/default/conf


set the JAVA_OPTS value as


JAVA_OPTS="-Xms1303m -Xmx1303m“


 



Who Voted for this Article



YourWiz.com, is a website that will allow everyone to share their knowledge, tip or information through community micro blogging.