On command line please set the following parameters,

java -Xms<initial heap size> -Xmx<maximum heap size>

Defaults are:

java -Xms32m -Xmx128m

You can set this either in the Java Control Panel or on the command line, 
depending on the environment you run your application.



A



The opinions, statements, and/or suggested courses of action expressed in this 
E-mail do not necessarily reflect those of my employer.  My voluntary 
participation in this forum is not intended to convey any kind of role for my 
employer

________________________________
From: Action Request System discussion list(ARSList) [arsl...@arslist.org] On 
Behalf Of Sean Harrodine [sean_rem...@yahoo.co.uk]
Sent: Tuesday, January 26, 2010 9:56 PM
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"_

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor:rmisoluti...@verizon.net ARSlist: "Where the Answers Are"

Reply via email to