Joe, Let me ask it this way: the min and max according to the apache setting should be the same which keep performance to the max. Preventing of the sizing/re-sizing is a Performance hit as well. So is there new guidance out that they are recommending a differing of min and max now? and if so where?
On Tue, Jan 26, 2010 at 1:15 PM, Pat Zandi <remedy...@gmail.com> wrote: > Question; you are using different settings? Apache performance guide says > keep them the same? Has this changed? Just asking to stay up on configs. > Thanks > > Sent from my iPhone > > On Jan 26, 2010, at 12:58 PM, Joe D'Souza <jdso...@shyle.net> wrote: > > ** > Sean, > > From your installation path of tomcat I can see you are running tomcat > version 5.5.28. For this version the parameter that you need to reset in the > tomcat startup file in the bin directory is CATALINA_OPT.. > > Open the startup file. Set the above parameter to " -Xmx<max memory>m > -Xms<min initial>m" > > Calculate max memory to be less than 70% of the total available free memory > on your server before the start of tomcat.. The minimum initial memory can > safely be set at half the max memory calculated. > > You might also want to set incremental garbage collection by -Xincgc. This > also would help in your performance and reduce out of memory errors by > removing from memory least used portions of java memory. > > So lets say you calculate your max memory to be 2048 and minimum initial to > be 1024, you will have > > CATALINA_OPT=" -Xmx2048m -Xms1024m -Xincgc" > > Stop and start tomcat for these changes to take effect. > > Hope this helps.. > > Joe > > -----Original Message----- > *From:* Action Request System discussion list(ARSList) [mailto: > arsl...@arslist.org]*on Behalf Of *Sean Harrodine > *Sent:* Tuesday, January 26, 2010 11:27 AM > *To:* arslist@ARSLIST.ORG > *Subject:* How to increase java.lang.OutOfMemoryError: Java heap space > > ** > Hi all, > > We are running apache tomcat 5.5.28 on our Linux midtier server and are > seeing the following errors.......... > > # ps -ef|grep java > root 8620 1 0 16:10 pts/0 00:00:09 > /opt/jdk1.6.0_16/jre/bin/java > -Djava.util.logging.config.file=/usr/apache-tomcat-5.5.28/conf/logging.properties > -Xmx256m -Xms256m > -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager > -Djava.endorsed.dirs=/usr/apache-tomcat-5.5.28/common/endorsed -classpath > /usr/apache-tomcat-5.5.28/bin/bootstrap.jar > -Dcatalina.base=/usr/apache-tomcat-5.5.28 > -Dcatalina.home=/usr/apache-tomcat-5.5.28 > -Djava.io.tmpdir=/usr/apache-tomcat-5.5.28/temp > org.apache.catalina.startup.Bootstrap start > > > java.lang.OutOfMemoryError: Java heap space > java.util.TreeMap.put(TreeMap.java:554) > > com.bmc.arsys.api.RpcConverter.fromRpcArPropListToDisplayPropertyMap(Unknown > Source) > > com.bmc.arsys.api.RpcHandConverter..fromRpcArDisplayInstanceList(Unknown > Source) > > com.bmc.arsys.api.RpcHandConverter.fromRpcArGetMultipleFields14Out(Unknown > Source) > com.bmc.arsys.api.ProxyJRpc.ARGetMultipleFields(Unknown Source) > com.bmc.arsys.api.ARServerUser.getListFieldObjects(Unknown Source) > com.remedy.arsys.goat.CachedFieldMapInternal.<init>(Unknown Source) > com.remedy.arsys.goat.Form.getCachedFieldMap(Unknown Source) > com.remedy.arsys.goat.Form.getCachedFieldMap(Unknown Source) > com.remedy.arsys.goat.action.ActionOpenDialog.<init>(Unknown Source) > com.remedy.arsys.goat.action.ActionList.compileAction(Unknown > Source) > com.remedy.arsys.goat.action.ActionList.<init>(Unknown Source) > com.remedy.arsys.goat.ActiveLink.<init>(Unknown Source) > com.remedy.arsys.goat.ActiveLink.bulkLoad(Unknown Source) > com.remedy.arsys.goat.ActiveLinkCollector.<init>(Unknown Source) > com.remedy.arsys.goat.field.FieldGraph.instantiateFields(Unknown > Source) > com.remedy.arsys.goat.field.FieldGraph.getHTMLData(Unknown Source) > com.remedy.arsys.goat.field.FieldGraph.transmitHTML(Unknown Source) > com.remedy.arsys.stubs.FormServlet.requestDispatch(Unknown Source) > com..remedy.arsys.stubs.FormServlet.doRequest(Unknown Source) > com.remedy.arsys.stubs.GoatServlet.postInternal(Unknown Source) > com.remedy.arsys.stubs.GoatHttpServlet.doGet(Unknown Source) > javax.servlet.http.HttpServlet.service(HttpServlet.java:627) > javax.servlet.http.HttpServlet.service(HttpServlet.java:729) > > > Can anyone point me in the right direct as to where and how we can increase > it please ?? > > TIA...as always ! > > Sean > > _Platinum Sponsor: rmisoluti...@verizon.net ARSlist: "Where the Answers > Are"_ > > -- Patrick Zandi _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor:rmisoluti...@verizon.net ARSlist: "Where the Answers Are"