It took a while for me to get this info as well.

In the Servelet directory (i.e. c:\Program Files\New Atlanta\ServletExec
AS\se-<webservername> )

In the STARTSERVLETEXEC.bat file

"c:\Program Files\j2sdk1.4.2_13\bin\java" -Xms512m -Xmx512m -classpath

You will need to ADD at least the maximum (e.g. -Xmx512m) memory
allocation specification.

I did the minimum (e.g. -Xms512m) and maximum.

Good luck.

Nick Hromyak


Havin' Fun in Sacramento!


-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of L. J. Head
Sent: Friday, May 18, 2007 1:37 PM
To: [email protected]
Subject: Re: java.lang.OutOfMemoryError: Java heap space

Ok...I looked there first....where about in the Admin do you set the max
and
min heap size? 

-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Davin Lindner-Green
Sent: Friday, May 18, 2007 2:28 PM
To: [email protected]
Subject: Re: java.lang.OutOfMemoryError: Java heap space

300M (not Kilo) would be a starting point, but could go higher depending
on
the applications you have (ie, if you have ITSM 6 or 7). Particurly if
you
have no other applications on the Midtier box you might want to simply
go up
to 1024M. 512M is perfectly reasonable too.
 
I would also recommend that you don't directly edit the VMSettings, but
use
the admin web page:
 
http://locahost/servlet/admin
 
I have had issues where manually edited changes were ignored or
overwritten.
 
 
HTH,
Davin

________________________________

From: Action Request System discussion list(ARSList) on behalf of Brian
Gillock
Sent: Fri 5/18/2007 2:05 PM
To: [email protected]
Subject: Re: java.lang.OutOfMemoryError: Java heap space



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"



________________________________________________________________________
____
___
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"

Reply via email to