from what i've read deprecated dom and sax parsing routines consume excessive memory and commiters now recommend installing minimum version of xerces 2.91 for dealing with OOM issues https://issues.apache.org/jira/browse/XERCESJ-1267
LifeRay recommends installing Liferay 5 http://www.scribd.com/doc/17687883/Liferay-Administration-Guide also precompiling all your jsps before restarting your webapp helps (one less thing to worry about) Martin Gainty ______________________________________________ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Mon, 5 Oct 2009 06:24:16 -0700 > From: venkata.ad...@genpact.com > To: users@tomcat.apache.org > Subject: Re: InvocationTargetException results OutOfMemory issue as codecache > is full in tomcat 5.5 > > > > Hi PidSter, > > Out of 17 Users 5 users have reported that OutOfMemoryErrorException, Other > 12 users working fine at that time also. > After clearing the cookies from IE6 browser, 4 users got resolved and 1 user > got the same issue again > .They have worked continuously for five hours before facing this issue. This > issue we are not getting frequently. > Every 2/3 days we are facing same issue with above exception, so we are > restarting servers daily. > > We are using > Tomcat 5.5 > Java Version 1.6 > OS : Windows XP > System RAM size is 16 GB. We have 3 clustered nodes of each 2 GB as follows > > > set JAVA_OPTS=-server –Xms2048m –Xmx2048m -XX:PermSize=1024m > -XX:MaxPermSize=1024m -XX:NewSize=768m -XX:MaxNewSize=768m > -XX:SurvivorRatio=4 -Xss256K -XX:+UseParallelGC -XX:-UseGCOverheadLimit > -XX:HeapDumpPath="heaperror.log" -Djava.net.preferIPv4Stack=true > -Dfile.encoding=UTF8 -Duser.timezone=EST > -Djava.security.auth.login.config=$CATALINA_HOME/conf/jaas.config > -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=8210 > -Dcom.sun.management.jmxremote.authenticate=false > -Dcom.sun.management.jmxremote.ssl=false > > > Our application is combinations of Liferay portlet 4.2.1 + Orbeon 3.7 in > which java classes are dynamically called. > > I am experienced with Heap error result in slowness and outofmemory > graduallyl earlier for all users. But this is some what memory is 60% only > using. But codechche is showing full in probe which is non-heap. (default is > 48MB i think, actually it should released) > > Thanks & Regards > Venkata > > -- > View this message in context: > http://www.nabble.com/InvocationTargetException-results-OutOfMemory-issue-as-codecache-is-full-in-tomcat-5.5-tp25745877p25750784.html > Sent from the Tomcat - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > _________________________________________________________________ Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. http://clk.atdmt.com/GBL/go/171222985/direct/01/