You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Debbie Shapiro <DS...@cardiacscience.com> on 2010/06/02 23:57:52 UTC

Adding memory to Tomcat 6.0 as a service?

Hello -

I am using Tomcat 6.0 on a Windows 2003 Server for the web server piece
of our BI tool. We are continually running out of Java Heap Space and
I'm trying to update the values but don't see where to do this. 

 

I was referred to this link:
http://vegdave.wordpress.com/2008/04/04/configure-heap-size-for-tomcat-6
x/

But this link refers to the Catalina.bat file, which I don't seem to
have in my version. The version of Tomcat (6.0) that I have installed
does not appear to have a catalina.bat file in any of its
subdirectories. It is running as a service. 

 

I was told that there might be some type of service configuration tool
if you are running Tomcat as a service. Is this true? And, if so, what
is it called and can I adjust java heap space there? How do I do this?
And how do I verify that it is indeed using the new amount of java heap
space? When my BI tool starts up, it shows memory allocated in its log
only for the scheduler piece of the tool, which I've been told is a
separate setting.

 

Any help anyone can give is greatly appreciated!

 

 

Thanks,

Debbie


RE: Adding memory to Tomcat 6.0 as a service?

Posted by Martin Gainty <mg...@hotmail.com>.
if you want to start tomcat with catalina<bat/sh>

set JAVA_OPTS -Xms for min memory
                      -Xmx for max memory

e.g.
JAVA_OPTS="-Xms256m -Xmx512m anything else.. follow Konstantin's advice
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.



 

> Subject: RE: Adding memory to Tomcat 6.0 as a service?
> Date: Thu, 3 Jun 2010 09:17:28 -0700
> From: DShapiro@cardiacscience.com
> To: users@tomcat.apache.org
> 
> Thanks Konstantin!
> 
> That helps immensely. :-)
> 
> 
> 
> -----Original Message-----
> From: Konstantin Kolinko [mailto:knst.kolinko@gmail.com] 
> Sent: Wednesday, June 02, 2010 3:35 PM
> To: Tomcat Users List
> Subject: Re: Adding memory to Tomcat 6.0 as a service?
> 
> 
> 2010/6/3 Konstantin Kolinko <kn...@gmail.com>:
> > 2010/6/3 Debbie Shapiro <DS...@cardiacscience.com>:
> >>
> >
> > Have you searched the list archives? It has to be answered a couple of
> times.
> >
> >> The version of Tomcat (6.0) that I have installed
> >
> > For the future, the version is three numbers, "x.y.z".
> >
> >> I was told that there might be some type of service configuration
> tool
> >> if you are running Tomcat as a service. Is this true?
> >
> > That is
> > bin/tomcat6w.exe
> >
> 
> It you installed Tomcat as a service using an *.exe installer from
> tomcat.apache.org, you will have "Configure Tomcat" in the Apache
> Tomcat 6.0 folder in your programs menu. It runs "tomcat6w.exe".
> 
> Then, look here:
> http://www.zulutown.com/blog/tag/tomcat6w/
> Ignore all the text, but look at the picture. See the "Initial memory
> pool", "Maximum memory pool" input fields. You will put your values
> there.
> 
> 
> Best regards,
> Konstantin Kolinko
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
 		 	   		  
_________________________________________________________________
The New Busy is not the old busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_3

RE: Adding memory to Tomcat 6.0 as a service?

Posted by Debbie Shapiro <DS...@cardiacscience.com>.
Thanks Konstantin!

That helps immensely. :-)

 

-----Original Message-----
From: Konstantin Kolinko [mailto:knst.kolinko@gmail.com] 
Sent: Wednesday, June 02, 2010 3:35 PM
To: Tomcat Users List
Subject: Re: Adding memory to Tomcat 6.0 as a service?


2010/6/3 Konstantin Kolinko <kn...@gmail.com>:
> 2010/6/3 Debbie Shapiro <DS...@cardiacscience.com>:
>>
>
> Have you searched the list archives? It has to be answered a couple of
times.
>
>> The version of Tomcat (6.0) that I have installed
>
> For the future, the version is three numbers, "x.y.z".
>
>> I was told that there might be some type of service configuration
tool
>> if you are running Tomcat as a service. Is this true?
>
> That is
> bin/tomcat6w.exe
>

It you installed Tomcat as a service using an *.exe installer from
tomcat.apache.org, you will have "Configure Tomcat" in the Apache
Tomcat 6.0 folder in your programs menu. It runs "tomcat6w.exe".

Then, look here:
http://www.zulutown.com/blog/tag/tomcat6w/
Ignore all the text, but look at the picture. See the "Initial memory
pool", "Maximum memory pool" input fields. You will put your values
there.


Best regards,
Konstantin Kolinko


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Adding memory to Tomcat 6.0 as a service?

Posted by Konstantin Kolinko <kn...@gmail.com>.
2010/6/3 Konstantin Kolinko <kn...@gmail.com>:
> 2010/6/3 Debbie Shapiro <DS...@cardiacscience.com>:
>>
>
> Have you searched the list archives? It has to be answered a couple of times.
>
>> The version of Tomcat (6.0) that I have installed
>
> For the future, the version is three numbers, "x.y.z".
>
>> I was told that there might be some type of service configuration tool
>> if you are running Tomcat as a service. Is this true?
>
> That is
> bin/tomcat6w.exe
>

It you installed Tomcat as a service using an *.exe installer from
tomcat.apache.org, you will have "Configure Tomcat" in the Apache
Tomcat 6.0 folder in your programs menu. It runs "tomcat6w.exe".

Then, look here:
http://www.zulutown.com/blog/tag/tomcat6w/
Ignore all the text, but look at the picture. See the "Initial memory
pool", "Maximum memory pool" input fields. You will put your values
there.


Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Adding memory to Tomcat 6.0 as a service?

Posted by Konstantin Kolinko <kn...@gmail.com>.
2010/6/3 Debbie Shapiro <DS...@cardiacscience.com>:
>

Have you searched the list archives? It has to be answered a couple of times.

> The version of Tomcat (6.0) that I have installed

For the future, the version is three numbers, "x.y.z".

> I was told that there might be some type of service configuration tool
> if you are running Tomcat as a service. Is this true?

That is
bin/tomcat6w.exe

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org