From: news [mailto:[EMAIL PROTECTED] On Behalf Of matador
Subject: Re: heap size in tomcat 5.0
i assume that if you run it as a windows service then the
JAVA_OPTS are still picked up from there?
No, they're in the registry. Use the tomcat5w.exe program in the bin
directory to set
bin\catalina.bat
actually in all versions of tomcat :-)
regards
Leon
On 9/24/05, matador [EMAIL PROTECTED] wrote:
win2k server
tomcat 5.0.x
how to set heap size (min max)?
i know how to do it in tomcat 5.5, but wasnt sure which script controlled
the JAVA_OPTS in 5.0
thx
Leon Rosenberg [EMAIL PROTECTED] wrote in
news:[EMAIL PROTECTED]:
bin\catalina.bat
actually in all versions of tomcat :-)
regards
Leon
cool thanks. i assume that if you run it as a windows service then the
JAVA_OPTS are still picked up from there?
well i dont think that if you
Check this out.
http://www.pauaware.co.nz/tomcatntservice.htm
On Sat, 26 Feb 2005 07:51:06 -0600, Caldarale, Charles R
[EMAIL PROTECTED] wrote:
From: Rasmus - Camp Online [mailto:[EMAIL PROTECTED]
Subject: Heap size - java.lang.OutOfMemoryError
I have tried everything to increase the
Hi Rasmus
Switch to Linux 8-)
Unfortunatly, I have no idea but joke. I realy think that this problem
is OS dependent.
Are you sure that your environment variables are taken in count ?
Suppose you run tomcat using some startup.bat ? in this case may be
could you print some debug telling you the
From: Rasmus - Camp Online [mailto:[EMAIL PROTECTED]
Subject: Heap size - java.lang.OutOfMemoryError
I have tried everything to increase the heap size, setting the
environment variables:
As has been explained on this list numerous times, environment variables are
not used when running
I do it from catalina.sh
From the header comments.
22 # JAVA_OPTS (Optional) Java runtime options used when the start,
23 # stop, or run command is executed.
24 #
On Mon, 2005-01-03 at 14:38, Stephen Charles Huey wrote:
Our script for installing Tomcat as a service
as well?
Thanks...
- Original message -
From: Ben Souther [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Date: Mon, 03 Jan 2005 14:41:07 -0500
Subject: Re: heap size params on linux
I do it from catalina.sh
From the header comments.
22 # JAVA_OPTS
Users List tomcat-user@jakarta.apache.org
Date: Mon, 03 Jan 2005 14:41:07 -0500
Subject: Re: heap size params on linux
I do it from catalina.sh
From the header comments.
22 # JAVA_OPTS (Optional) Java runtime options used when the start,
23 # stop, or run command is executed
?)
Does the -server option go with JAVA_OPTS as well?
Thanks...
- Original message -
From: Ben Souther [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Date: Mon, 03 Jan 2005 14:41:07 -0500
Subject: Re: heap size params on linux
I do it from catalina.sh
On Mon, Jan 03, 2005 at 01:38:04PM -0600, Stephen Charles Huey wrote:
: Our script for installing Tomcat as a service on Windows is down below.
: We're moving to Linux, so I'm wondering where we specify the heap size
: parameters (-Xmx and -Xms) for the Tomcat on Linux. Would the correct
: place
Hi,
I notice an auto increase (no webapp running) of memory heap with
T4.1.29.
Any idea ?
It's almost impossible to have absolutely nothing running. If you have
tomcat running, that's something (e.g. background processing threads
that watch files to detect changes). However, you still
regards,
Arnaud
Message d'origine
De: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Date: lun. 17/05/2004 17:19
: Tomcat Users List
Cc:
Objet: RE: heap size profiling
Hi,
I notice an auto
Optimizeit logs !
Message d'origine
De: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Date: lun. 17/05/2004 17:19
: Tomcat Users List
Cc:
Objet: RE: heap size profiling
Hi,
I notice
can you look at the calls trace? and tell us what you see?
having profile tomcat a lot the last 2 years, I personally haven't seen tomcat
increase heap usage with no requests hitting tomcat. If anything, I consistently see
tomcat4 and 5 maintain flat memory usage under constant load. In the
Hi,
It's valid. Whether it's correct or not, only you can tell, and only
after extensive stress testing.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Reis, Tom [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 31, 2004 11:31 AM
To: Tomcat Users List (E-mail)
Howdy,
Is there a rule-of-thumb for setting the heap size based on how many
concurrent Tomcat processors/threads? Mine are mostly basic jsps and
servlets generating HTML. As I'll be running several Tomcat instances
for different apps, I need to allocate my 512M RAM to each Tomcat.
No, and there
Is there a rule-of-thumb for setting the heap size based on how many
concurrent Tomcat processors/threads? Mine are mostly basic jsps and
servlets generating HTML. As I'll be running several Tomcat instances
for different apps, I need to allocate my 512M RAM to each Tomcat.
Joseph
Shapira,
Howdy,
Yoav - Where do you specify heap size? I understand it is a parameter
of
the java command, but is in a Tomcat startup script somewhere? Or do I
just
execute it at the command line?
Add
JAVA_OPTS='-Xmx512m'
to
$CATALINA_HOME/bin/catalina.sh
on unix. On windows, you can do this with a
the parameters once it is running??
Thanks!
Geoff
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 23, 2003 12:36 PM
To: Tomcat Users List
Subject: RE: heap size
Howdy,
Yoav - Where do you specify heap size? I understand it is a parameter
Howdy,
Thanks Yoav - one last dumb question and I will leave you alone! So by
There's more than one in this email ;) And no question is dumb
(although that assertion is frequently tested on this list).
adding that to my environment variables list, Tomcat knows to add it as
a
startup parameter
I recently discovered these two methods, and was wondering how accurate
they are.
I am a bit confused: I am running Tomcat 4.1.18 on Linux, with JDK
1.4.1_03-b02. Nowhere in the startup scripts do I see it specified how
much memory to use (i.e., with the -Xmx flag). When I call
Howdy,
I am a bit confused: I am running Tomcat 4.1.18 on Linux, with JDK
1.4.1_03-b02. Nowhere in the startup scripts do I see it specified how
much memory to use (i.e., with the -Xmx flag). When I call
Runtime.totalMemory(), it gives me 128MB, yet I was under the
impression that the JVM sets
Howdy,
In Unix, java will make
512MB swap every time we make a System Runtime call.
I don't think so: can you prove the above?
Will this
hurt the Tomcat preformnace?
Lowering -Xms will only slightly degrade performance during the allocation
phase. The effects are negligible during that
Shapira [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]; Billy Ng
[EMAIL PROTECTED]
Sent: Tuesday, June 17, 2003 4:40 AM
Subject: Re: heap size config
Howdy,
In Unix, java will make
512MB swap every time we make a System Runtime call.
I don't think so: can you prove the above
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 17, 2003 1:16 PM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: Re: heap size config
If you run top, and make a servlet to call a System Runtime. Then, use
Jmeter to hammer it. You will see the swap disk is create the same
size as
the -Xms for each
to see
this one happen...
What do you mean by call a System Runtime ?
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Billy Ng [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 17, 2003 1:16 PM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: Re: heap size config
i deleted the message, but somebody was asking about how to specify heap
size in the params to tomcat, and i said you could probably pass such as a
param to startup.bat/startup.sh - not true. command line arguments are
passed through to the actual tomcat invocation, but *after* the classname,
my understanding is that any parameters you pass to bin/startup.bat or
bin/startup.sh on the command line will be passed through to the java vm,
such as mx128m or -D property=something .
The official way to do it is to set a
TOMCAT_OPTS
or
CATALINA_OPTS
variable with the string that you would normally feed the VM. (like -Xms or
whatever). TOMCAT is for 3.x, CATALINA is for 4.x
cheers
fillup
On 5/16/02 3:57 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
my understanding
:
Subject: Re: Heap Size for
Tomcat
05/16/2002 06:19 PM
Please respond
Hello,
is it important to use the -Xms and -Xmx with tomcat? Doesn´t he already
manage the heap? When I should use this and when I should not?
Thanks.
Wagner Danda
Phillip Morelock wrote:
The official way to do it is to set a
TOMCAT_OPTS
or
CATALINA_OPTS
variable with the string that you
Phillip Morelock
subscriptions@phillipmo To: Tomcat Users
List [EMAIL PROTECTED]
relock.com cc:
Subject: Re: Heap Size
for Tomcat
05/16
Subject: Re: Heap Size for Tomcat
i actually sent an email regarding this to the list about two weeks ago.
I believe you are correct -- but I have found (only anecdotally) that
the
shutdown one doesn't have a negative impact, because on my platform at
least
(linux) -- even though the Virtual size
PROTECTED]]
Sent: Thursday, May 16, 2002 6:46 PM
To: Tomcat Users List
Subject: Re: Heap Size for Tomcat
i actually sent an email regarding this to the list about two weeks ago.
I believe you are correct -- but I have found (only anecdotally) that
the
shutdown one doesn't have a negative impact
35 matches
Mail list logo