LJ,
I can't remember for sure off the top of my head and I don't have
the install guides at hand, but I believe the Mid-Tier install guide says to
set the MaxHeapSize to 300K. If you have the guide, take a look in there.
I might be thinking 7.x also.
-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of L. J. Head
Sent: Friday, May 18, 2007 2:46 PM
To: [email protected]
Subject: java.lang.OutOfMemoryError: Java heap space
Environment
ServletExec 5.0.0.13
Mid-Tier 6.03.00 patch 021
Windows 2003
Server 6.3 Patch 20
Earlier this week we moved our Mid-Tier to a new box. Old server is a
1.4GHz with 2GB Ram...new box is 2.6GHz with 4GB Ram. Both boxes are same
version of software...minimal config (if any) on ServletExec. On the new
web server we started seeing these errors
[Fri May 18 13:16:36 MDT 2007] java.lang.OutOfMemoryError: Java heap space
[Fri May 18 13:16:36 MDT 2007] ServletExec: caught exception -
java.lang.OutOfMemoryError: Java heap space
About the only thing I have been able to do was restart the entire server to
get it to work again.
I found an article that said to look in the VMSettings.perf file for the
line
maxHeapSize
It recommended increasing its setting....well I did have a VMSettings.perf
file...but it only contained the lines
version=1
systemOut=com.newatlanta.servletexec.SESystemOutputStream
systemErr=com.newatlanta.servletexec.SESystemOutputStream
So I checked the old server and the exact same thing....so now I'm confused
how my new server with faster processing power and more memory is having
memory issues where my old one wasn't. So...I added the following line to
the perf file
maxHeapSize=128000 (this particular post's recommendation)
But I just got another of the errors (although doesn't seem to be down like
it was before)...recommendations on how large that maxHeapSize value should
be? BTW...this is all custom application development...0 OOTB apps. This
server will eventually also house the production App as well....what is the
default size?....should I take it to 512MB?
I eagerly anticipate your recommendations
________________________________________________________________________
_______
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the
Answers Are"
____________________________________________________________________________
___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the
Answers Are"
____________________________________________________________________________
___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the
Answers Are"
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.467 / Virus Database: 269.7.3/809 - Release Date: 5/17/2007
5:18 PM
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the
Answers Are"