The most recent guidelines I had from support (in Feb 2009, Windows 2003 server where I was testing 7.1.00.006 mid-tier on tomcat 5.5.27) were to leave the thread stack size blank - they have back-pedaled on the original recommendation of 3000. Here is what they sent in February:
>From the hs_err_pid files, you need to unset the value for Tomcat's native >stack; this is seen in the log as: -Xss3000k Also, from another recent ticket with another customer, we'd make this general heap recommendation: -Xms1024m -Xmx1024m The reasons for doing this are, 1) setting minimum and maximum to the same value causes the JVM to start up already at a size that should be enough to handle the memory needs for new java objects, java doesn't need to try and grow the java heap at runtime 2) reducing the maximum heap size leaves more memory to the java process allowing it to create more processing threads to distribute the workload. Resuming, it should look: minHeap = 1024m maxHeap = 1024m native stack = <unset> For what it's worth, I started out originally (Apr 2008) with min and max both at 1536 and thread size 3000 on my production server (7.1.00.002 on tomcat 5.5.26), and had only a few issues with it. After their 2009 recommendation, I did remove the 3000 and set the min back to 1024 but kept max on 1536 since production is on a Win2K3 x64 server with 12 gb RAM. I have had excellent performance with 1024/1536/null, and it is still running on 7.1.00.002. Christopher Strauss, Ph.D. Call Tracking Administration Manager University of North Texas Computing & IT Center http://itsm.unt.edu/ From: Action Request System discussion list(ARSList) [mailto:arsl...@arslist.org] On Behalf Of copits.rich...@bwc.state.oh.us Sent: Monday, October 05, 2009 1:32 PM To: arslist@ARSLIST.ORG Subject: Mid-Tier slowness.... ** Is there any guidelines as to what the values for min/max/stack size should be for a given memory size - rather than a "guesstimate"? The manual isn't terribly healpful...... We have 3000 MB but I'm not very clear on what I should be setting the values to be. Is there some sort of way to tell....other than....."just try it"???/ Thanks. From: Action Request System discussion list(ARSList) [mailto:arsl...@arslist.org] On Behalf Of pascale.bo...@daimler.com Sent: Monday, October 05, 2009 12:49 PM To: arslist@ARSLIST.ORG Subject: Re: Mid tier crashing suddenly with "Could not invoke the service() method on servlet ApplicationServlet. Exception thrown : java.lang.OutOfMemoryError" ** Thanks! I sent them request to double it. Hopefully they will do it. Thank you, Pascale Boyer Remedy Developer Daimler Trucks North America MP9 Portland, OR 503-745-6569 Portions of this message may be confidential under an exemption to Ohio's public records law or under a legal privilege. If you have received this message in error or due to an unauthorized transmission or interception, please delete all copies from your system without disclosing, copying, or transmitting this message. _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"