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:[email protected]]on Behalf Of Sean Harrodine Sent: Tuesday, January 26, 2010 11:27 AM To: [email protected] 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-to mcat-5.5.28/conf/logging.properties -Xmx256m -Xms256m -Djava.util.logging.ma nager=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-tomc at-5.5.28 -Dcatalina.home=/usr/apache-tomcat-5.5.28 -Djava.io.tmpdir=/usr/ap ache-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.fromRpcArPropListToDisplayPropertyMa p(Unknown Source) com.bmc.arsys.api.RpcHandConverter..fromRpcArDisplayInstanceList(Un known 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 _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor:[email protected] ARSlist: "Where the Answers Are"

