RE: Re: heap size in tomcat 5.0

2005-09-25 Thread Caldarale, Charles R
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

Re: heap size in tomcat 5.0

2005-09-24 Thread Leon Rosenberg
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

Re: heap size in tomcat 5.0

2005-09-24 Thread matador
install tomcat 5.5.x on windows there is no catalina.bat anymore -- at least in the distro that i've used. i set the heap size via the windows gui on 5.5.x. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

heap size in tomcat 5.0

2005-09-23 Thread matador
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 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: How to increase the heap size no of threads

2005-07-13 Thread Anoop kumar V
You can use JAVA_OPTS in the catalina.bat file and specify the heap size as in: set JAVA_OPTS=%JAVA_OPTS% -Xmn128m -Xmx512m just make sure that the memory you specify for Xmx is lesser than the ram that you have on the physical machine hosting tomcat or else the swap memory will be used and you

How to increase the heap size no of threads

2005-07-12 Thread Ayyanar Inbamohan
Hi all, CAn anyone help me ? How to increase the number of threads that tomcat can process ? Also how to increase the size of the heap? thanks in advance, Ayyanar. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection

Re: Heap size - java.lang.OutOfMemoryError

2005-02-27 Thread KwonNam Son
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

Heap size - java.lang.OutOfMemoryError

2005-02-26 Thread Rasmus - Camp Online
) I have tried everything to increase the heap size, setting the environment variables: -CATALINA_OPTS -Xms256m -Xmx768m -JAVA_OPTS -Xms256m -Xmx768m -TOMCAT_OPTS -Xms256m -Xmx768m But no matter what I do, it has ABSOLUTELY NO EFFECT Please help, as I am going crazy over this Best regards

Re: Heap size - java.lang.OutOfMemoryError

2005-02-26 Thread A Leg
service) I have tried everything to increase the heap size, setting the environment variables: -CATALINA_OPTS -Xms256m -Xmx768m -JAVA_OPTS -Xms256m -Xmx768m -TOMCAT_OPTS -Xms256m -Xmx768m But no matter what I do, it has ABSOLUTELY NO EFFECT Please help, as I am going crazy over this Best regards

RE: Heap size - java.lang.OutOfMemoryError

2005-02-26 Thread Caldarale, Charles R
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

heap size params on linux

2005-01-03 Thread Stephen Charles Huey
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 be in the startup.sh file? Thanks! D:\tomcat\bin\tomcat.exe -install

Re: heap size params on linux

2005-01-03 Thread Ben Souther
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 be in the startup.sh file? Thanks! D:\tomcat\bin\tomcat.exe -install Apache_Tomcat C:\j2sdk1.4.2_04\jre\bin\client

Re: heap size params on linux

2005-01-03 Thread Stephen Charles Huey
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

Re: heap size params on linux

2005-01-03 Thread Rodrigo Schmidt
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

Re: heap size params on linux

2005-01-03 Thread Ben Souther
?) 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

Re: heap size params on linux

2005-01-03 Thread QM
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

Increasing heap size in Tomcat

2004-09-28 Thread Srinivasarao Salla
Hi All, We are using Tomcat 3.2.1 version. We want to Increase the Heap Size. Can anyone suggest way of how to do this. Thanks in advance Regards, Sri. - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Increasing heap size in Tomcat

2004-09-28 Thread QM
On Tue, Sep 28, 2004 at 03:36:51AM -0700, Srinivasarao Salla wrote: : We are using Tomcat 3.2.1 version. We want to Increase the Heap : Size. : Can anyone suggest way of how to do this. Find some way to pass the -Xmx flag to the Java commandline. In v4.x and 5.x, you set

RE: Increasing heap size in Tomcat

2004-09-28 Thread Srinivasarao Salla
. -Original Message- From: QM [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 28, 2004 6:19 PM To: Tomcat Users List Subject: Re: Increasing heap size in Tomcat On Tue, Sep 28, 2004 at 03:36:51AM -0700, Srinivasarao Salla wrote: : We are using Tomcat 3.2.1 version. We want

RE: Increasing heap size in Tomcat

2004-09-28 Thread Shapira, Yoav
, 2004 9:16 AM To: 'Tomcat Users List' Subject: RE: Increasing heap size in Tomcat Hi, In tomcat 3.2.1 also we have a start script called tomcat.bat. I think in this script we set the JAVA_OPTS. But I am not knowing how to set the parameter and where to set it. If you any Idea

RE: [OT] - JVM Max Heap Size on Linux

2004-08-15 Thread Dale, Matt
Chandler [mailto:[EMAIL PROTECTED] Sent: 14 August 2004 23:38 To: Tomcat Users List Subject: Re: [OT] - JVM Max Heap Size on Linux Dale, Matt wrote: Hi, Has anyone got around the maximum heap size of 2G on linux? We've got a new server with 12G of ram which was going to be used for an uber

Re: [OT] - JVM Max Heap Size on Linux

2004-08-14 Thread Wade Chandler
Dale, Matt wrote: Hi, Has anyone got around the maximum heap size of 2G on linux? We've got a new server with 12G of ram which was going to be used for an uber tomcat but this plan may have to be changed if we can't get more than 2G of memory used for the JVM. Ta Matt

[OT] - JVM Max Heap Size on Linux

2004-08-13 Thread Dale, Matt
Title: [OT] - JVM Max Heap Size on Linux Hi, Has anyone got around the maximum heap size of 2G on linux? We've got a new server with 12G of ram which was going to be used for an uber tomcat but this plan may have to be changed if we can't get more than 2G of memory used for the JVM. Ta

RE: [OT] - JVM Max Heap Size on Linux

2004-08-13 Thread Caldarale, Charles R
From: Dale, Matt [mailto:[EMAIL PROTECTED] Subject: [OT] - JVM Max Heap Size on Linux Has anyone got around the maximum heap size of 2G on linux? We've got a new server with 12G of ram which was going to be used for an uber tomcat but this plan may have to be changed if we can't get

RE: [OT] - JVM Max Heap Size on Linux

2004-08-13 Thread Shapira, Yoav
-Original Message- From: Dale, Matt [mailto:[EMAIL PROTECTED] Sent: Friday, August 13, 2004 12:41 PM To: Tomcat Users List (E-mail) Subject: [OT] - JVM Max Heap Size on Linux Hi, Has anyone got around the maximum heap size of 2G on linux? We've got a new server with 12G of ram which was going

RE: [OT] - JVM Max Heap Size on Linux

2004-08-13 Thread Dale, Matt
with something else to keep us going in the mean time. Ta Matt -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: 13 August 2004 17:56 To: Tomcat Users List Subject: RE: [OT] - JVM Max Heap Size on Linux From: Dale, Matt [mailto:[EMAIL PROTECTED] Subject

Re: [OT] - JVM Max Heap Size on Linux

2004-08-13 Thread Peter Lin
Size on Linux Has anyone got around the maximum heap size of 2G on linux? We've got a new server with 12G of ram which was going to be used for an uber tomcat but this plan may have to be changed if we can't get more than 2G of memory used for the JVM. What kind of hardware? A single

Re: [OT] - JVM Max Heap Size on Linux

2004-08-13 Thread Robert Bateman
On Friday 13 August 2004 12:40 pm, Dale, Matt wrote: Hi, Has anyone got around the maximum heap size of 2G on linux? We've got a new server with 12G of ram which was going to be used for an uber tomcat but this plan may have to be changed if we can't get more than 2G of memory used

Re: [OT] - JVM Max Heap Size on Linux

2004-08-13 Thread Peter Lin
-Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: 13 August 2004 17:56 To: Tomcat Users List Subject: RE: [OT] - JVM Max Heap Size on Linux From: Dale, Matt [mailto:[EMAIL PROTECTED] Subject: [OT] - JVM Max Heap Size on Linux Has anyone got around the maximum

RE: [OT] - JVM Max Heap Size on Linux

2004-08-13 Thread Caldarale, Charles R
From: Peter Lin [mailto:[EMAIL PROTECTED] Subject: Re: [OT] - JVM Max Heap Size on Linux I thought the only way to run a 64bit VM was on solaris, which means you have to use the Sun JVM. Does IBM offer a 64bit JVM now? Sun offers Sparc64 (Solaris) and IA64 (Linux, Windows) versions

RE: [OT] - JVM Max Heap Size on Linux

2004-08-13 Thread Dale, Matt
: RE: [OT] - JVM Max Heap Size on Linux Hi, Just out of curiosity, what app(s) are you running that need a heap greater than 2GB? Or what load on those apps? You obviously don't need to give confidential details, I'm just curious about the type of app and its architecture. Yoav Shapira

RE: [OT] - JVM Max Heap Size on Linux

2004-08-13 Thread Dale, Matt
] - JVM Max Heap Size on Linux Has anyone got around the maximum heap size of 2G on linux? We've got a new server with 12G of ram which was going to be used for an uber tomcat but this plan may have to be changed if we can't get more than 2G of memory used for the JVM. What kind

Re: [OT] - JVM Max Heap Size on Linux

2004-08-13 Thread Peter Lin
now if only I had a system to load test 32 vs 64bit JVM, I'd post some numbers. peter On Fri, 13 Aug 2004 12:11:13 -0500, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Peter Lin [mailto:[EMAIL PROTECTED] Subject: Re: [OT] - JVM Max Heap Size on Linux I thought the only way to run

RE: [OT] - JVM Max Heap Size on Linux

2004-08-13 Thread Dale, Matt
Yeah its 2 gig by default although some kernel hacking can get that up to 3 or 4. -Original Message- From: Robert Bateman [mailto:[EMAIL PROTECTED] Sent: 13 August 2004 18:06 To: Tomcat Users List Subject: Re: [OT] - JVM Max Heap Size on Linux On Friday 13 August 2004 12:40 pm, Dale

Re: [OT] - JVM Max Heap Size on Linux

2004-08-13 Thread Robert Bateman
On Friday 13 August 2004 01:13 pm, Dale, Matt wrote: Hi, We are a call centre and the application is a scripting tool for outbound calling. I've seen over 300G an hour of memory allocated with 100 users and we need to support well over 200. With that much memory being consumed it obviously

RE: [OT] - JVM Max Heap Size on Linux

2004-08-13 Thread Dale, Matt
this though. In the meantime we may have to configure groups of users onto each seperate tomcat, a pain but we may have to live with it. -Original Message- From: Robert Bateman [mailto:[EMAIL PROTECTED] Sent: 13 August 2004 19:23 To: Tomcat Users List Subject: Re: [OT] - JVM Max Heap Size

Re: [OT] - JVM Max Heap Size on Linux

2004-08-13 Thread Cott Lang
offer a 64bit JVM now? peter On Fri, 13 Aug 2004 11:55:44 -0500, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Dale, Matt [mailto:[EMAIL PROTECTED] Subject: [OT] - JVM Max Heap Size on Linux Has anyone got around the maximum heap size of 2G on linux? We've got a new server

Win2k SP4, Tomcat 5.0.27: Problem Setting JVM Heap Size

2004-07-29 Thread Noah
I have recieved help (thanks Pradeep and Tonte) from the list about a problem that seems to come from Tomcat running out of memory. The solution seems to be increasing the JVM memory. However, I have run into a problem in doing this. I thought that I had worked toward solving the problem but

heap size profiling

2004-05-17 Thread Boulay Arnaud
I notice an auto increase (no webapp running) of memory heap with T4.1.29. Any idea ? Regards, Arnaud Message d'origine De: Tim Funk [mailto:[EMAIL PROTECTED] Date: lun. 17/05/2004 14:13 : Tomcat Users List Cc: Objet: Re:

RE: heap size profiling

2004-05-17 Thread Shapira, Yoav
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

RE: heap size profiling

2004-05-17 Thread Boulay Arnaud
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

RE: heap size profiling oups ! forgot logs

2004-05-17 Thread Boulay Arnaud
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

RE: heap size profiling

2004-05-17 Thread Peter Lin
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

Heap size

2004-03-31 Thread Reis, Tom
Could someone tell me if this is correct for setting the heap size. rem Execute Java with the applicable properties if not %JPDA% == goto doJpda if not %SECURITY_POLICY_FILE% == goto doSecurity %_EXECJAVA% -Xms128m -Xmx256m %JAVA_OPTS% %CATALINA_OPTS% %DEBUG_OPTS% -Djava.endorsed.dirs

RE: Heap size

2004-03-31 Thread Shapira, Yoav
) Subject: Heap size Could someone tell me if this is correct for setting the heap size. rem Execute Java with the applicable properties if not %JPDA% == goto doJpda if not %SECURITY_POLICY_FILE% == goto doSecurity %_EXECJAVA% -Xms128m -Xmx256m %JAVA_OPTS% %CATALINA_OPTS% %DEBUG_OPTS

Re: Tomcat maximum heap size on Linux

2004-01-08 Thread Daniel Williams
:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 2:37 PM To: Tomcat Users List Subject: Tomcat maximum heap size on Linux I wanted to increase Tomcat's maximum heap size. I did it by putting the following string in the catalina.sh file (I'm running RedHat Linux): CATALINA_OPTS

RE: Tomcat maximum heap size on Linux

2004-01-08 Thread Shapira, Yoav
-Original Message- From: Daniel Williams [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 2:04 PM To: Tomcat Users List Subject: Re: Tomcat maximum heap size on Linux It's not a system roof, we use around 200Mb on average and under high load we use around 700Mb with maximum heap set

RE: Tomcat maximum heap size on Linux

2004-01-08 Thread Shapira, Yoav
Subject: RE: Tomcat maximum heap size on Linux I expect to use it a few hundred Megabytes. It was quickly increasing in my eyes and stopped on 150Mb. Looks like its the system roof. Could it be so? Howdy, If it doesn't need more than 150MB, it won't use more than 150MB... Are you

Tomcat maximum heap size on Linux

2004-01-07 Thread Mindaugas Genutis
I wanted to increase Tomcat's maximum heap size. I did it by putting the following string in the catalina.sh file (I'm running RedHat Linux): CATALINA_OPTS=-Djava.awt.headless=true -Xmx1024m So, Tomcat can use 1Gb of my RAM. However, I'm observing Tomcat's usage with top under Linux

RE: Tomcat maximum heap size on Linux

2004-01-07 Thread Shapira, Yoav
Genutis [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 2:37 PM To: Tomcat Users List Subject: Tomcat maximum heap size on Linux I wanted to increase Tomcat's maximum heap size. I did it by putting the following string in the catalina.sh file (I'm running RedHat Linux): CATALINA_OPTS

RE: Tomcat maximum heap size on Linux

2004-01-07 Thread Mindaugas Genutis
actually determine 1GB was required to handle your max expected load? Yoav Shapira Millennium ChemInformatics -Original Message- From: Mindaugas Genutis [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 2:37 PM To: Tomcat Users List Subject: Tomcat maximum heap size

RE: Tomcat maximum heap size on Linux

2004-01-07 Thread Shapira, Yoav
To: Tomcat Users List Subject: RE: Tomcat maximum heap size on Linux I expect to use it a few hundred Megabytes. It was quickly increasing in my eyes and stopped on 150Mb. Looks like its the system roof. Could it be so? Howdy, If it doesn't need more than 150MB, it won't use more than 150MB... Are you

Re: Tomcat maximum heap size on Linux

2004-01-07 Thread John Beamon
for it to stop at 150MB. Yoav Shapira Millennium ChemInformatics -Original Message- From: Mindaugas Genutis [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 2:45 PM To: Tomcat Users List Subject: RE: Tomcat maximum heap size on Linux I expect to use it a few hundred Megabytes

jvm.cfg, mem heap size

2004-01-06 Thread John Beamon
I need to raise the amount of memory my jvm buffers for its use. I've seen docs on JavaHotSpot and JRun and a bunch of other things, but never just j2sdk. Even at java.sun.com, there were more docs for iPlanet tuning than j2sdk jvm tuning. I'm looking for the syntax for adding -Xms128m

RE: jvm.cfg, mem heap size

2004-01-06 Thread Shapira, Yoav
-Original Message- From: John Beamon [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 06, 2004 1:16 PM To: Tomcat Users List Subject: jvm.cfg, mem heap size I need to raise the amount of memory my jvm buffers for its use. I've seen docs on JavaHotSpot and JRun and a bunch of other things

Re: jvm.cfg, mem heap size

2004-01-06 Thread Robert Hall
and discussed many times on this list, you can search the archives). Yoav Shapira Millennium ChemInformatics -Original Message- From: John Beamon [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 06, 2004 1:16 PM To: Tomcat Users List Subject: jvm.cfg, mem heap size I need to raise the amount

Re: About heap size, gc and newsize

2003-08-20 Thread Bill Barker
At least in Tomcat, the HttpRequests aren't short-lived ;-). If you are using Sun's JVM, then I'd try -Xincgc first (otherwise, consult your vendor's docs for the correct option). In many cases it hurts performance, but in some it improves it dramatically. Your mileage may vary ;-). [EMAIL

RE: About heap size, gc and newsize

2003-08-20 Thread Shapira, Yoav
not collecting the young generation any more actively than usual. Yoav Shapira Millennium ChemInformatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 19, 2003 10:22 PM To: [EMAIL PROTECTED] Subject: About heap size, gc and newsize Hi all. I am

Re: About heap size, gc and newsize

2003-08-20 Thread Norris Shelton
I guess the real question is why are you concerned with when the requests are GC'd. Left to it's own devices, GC usually only happens when the JVM is using almost all of the allocated memory. Therefore, the more memory allocated, the longer till GC and the longer GC will last. If you are trying

RE: About heap size, gc and newsize

2003-08-20 Thread Shapira, Yoav
Howdy, Left to it's own devices, GC usually only happens when the JVM is using almost all of the allocated memory. Therefore, the more memory allocated, the longer till GC and the longer GC will last. ;( ;( This is a common wrong assumption people have about Java's modern GC algorithms. In

About heap size, gc and newsize

2003-08-19 Thread achana
Hi all. I am trying to get gc to reclaim more regularly by clearing short live HttpRequest. Is this syntax corrrect, doesn't seem to do much whichever way I tweak it : (catalina.sh) ... JAVA_OPTS=-Xms256m -Xmx256m -XX:NewSize=128m -XX:MaxNewSize=128m TIA :-)

RE: heap size

2003-07-25 Thread Shapira, Yoav
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

Re: heap size

2003-07-24 Thread joseph lam
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

heap size

2003-07-23 Thread Geoff Peters
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? -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2003 9:55 AM

RE: heap size

2003-07-23 Thread Shapira, Yoav
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

RE: heap size

2003-07-23 Thread Geoff Peters
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

RE: heap size

2003-07-23 Thread Shapira, Yoav
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

RE: heap size

2003-07-23 Thread Dhruva B. Reddy
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

RE: heap size

2003-07-23 Thread Shapira, Yoav
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

heap size config

2003-06-17 Thread Billy Ng
Hi folks, We config the java -Xms and -Xmx with the 512MB. In Unix, java will make 512MB swap every time we make a System Runtime call. Therefore, we need to lower the -Xms to 64MB and -Xmx remains 512MB so that it will not run out of swap space if too many threads making the System Runtime

Re: heap size config

2003-06-17 Thread Yoav Shapira
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

Re: heap size config

2003-06-17 Thread Billy Ng
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

RE: heap size config

2003-06-17 Thread Shapira, Yoav
[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

RE: heap size config

2003-06-17 Thread Eric J. Pinnell
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

RE: Heap size (or something) [correction!]

2002-05-17 Thread TMotte
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

Heap Size for Tomcat

2002-05-16 Thread Jacob Hookom
Hello All, I was wondering where I can modify the initial heap size settings for tomcat to use. Or more primarily, where the command line is that tomcat uses to initialize its VM. Thanks, Jake Hookom --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http

Re: Heap Size for Tomcat

2002-05-16 Thread TMotte
: Subject: Heap Size for Tomcat 05/16/2002 01:57

Re: Heap Size for Tomcat

2002-05-16 Thread Phillip Morelock
Users List' [EMAIL PROTECTED] du cc: Subject: Heap Size for Tomcat 05/16/2002 01:57 PM Please respond to Tomcat Users

Re: Heap Size for Tomcat

2002-05-16 Thread TMotte
Well, yeah except he wants to get more memory... and wouldn't setting the XXXOPTS variable set the heap size not just for startup but also shutdown? In other words, this way you could get tomcat to start with 512mb of heap, but if you call shutdown.bat/shutdown.sh, the shutdown vm grabs its

Re: Heap Size for Tomcat

2002-05-16 Thread Wagner Danda
: Subject: Heap Size for Tomcat 05/16/2002 01:57 PM Please respond to Tomcat Users List Hello All, I was wondering where I can modify the initial heap size

Re: Heap Size for Tomcat

2002-05-16 Thread Phillip Morelock
the XXXOPTS variable set the heap size not just for startup but also shutdown? In other words, this way you could get tomcat to start with 512mb of heap, but if you call shutdown.bat/shutdown.sh, the shutdown vm grabs its own 512mb heap... I dunno... troy

RE: Heap Size for Tomcat

2002-05-16 Thread Jacob Hookom
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

Re: Heap Size for Tomcat

2002-05-16 Thread Phillip Morelock
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

Increase heap size for NT Service

2002-04-30 Thread Mary Loos Sage
Tomcat 4.0.3 NT service on Windows 2000 I am trying to increase the heap size to run a servlet that needs lots of memory. I set the system environment variable: CATALINA_OPTS=-Xmx256m Everything works fine when I start tomcat from the commandline, but I run out of memory when I start the NT

Allocated Heap Size Continuously Increase

2002-01-27 Thread Steve Wong
I have a web application running on Apache1.3.20 with mod_ssl+Tomcat3.3+Jdk1.2.2 on Solaris 8. The allocated heap size of tomcat continuously increase until OutOfMemoryError occurs. I've used OptimizeIT Profiler to monitor it and discovered that four classes' object

RE: Allocated Heap Size Continuously Increase

2002-01-27 Thread Steve Wong
Memory Leak in JSP Engine of Tomcat?? Use ab of apache to hit a.jsp where a.jsp only contains: html /html The allocated heap size continuously increase. Change a.jsp to: html % java.lang.Runtime.getRuntime().gc() % /html The allocated heap size

AW: Allocated Heap Size Continuously Increase

2002-01-27 Thread Ralph Einfeldt
Heap Size Continuously Increase snip/ html /html The allocated heap size continuously increase. Change a.jsp to: html % java.lang.Runtime.getRuntime().gc() % /html The allocated heap size remains unchanged. snip/ -- To unsubscribe: mailto:[EMAIL PROTECTED

RE: Ever increasing heap size with Tomcat 3.2.3 !!!

2001-12-19 Thread Tõnu Põld
, but if the heap size grows close to the maximum, then the exception occurs. Does anybody know if there is a way to force the defragmentation to occur more frequently? I have stress tested our application Sun JRE 1.2.2, and the OutOfMemoryError never occurred. With IBM JDK we minimized

AW: Ever increasing heap size with Tomcat 3.2.3 !!!

2001-12-19 Thread Ralph Einfeldt
:33 An: 'Tomcat Users List' Betreff: RE: Ever increasing heap size with Tomcat 3.2.3 !!! Hi We have a similar problem with IBM JDK 1.3.0 (JIT enabled). I suggest to debug the garbage collector (gc) by turning on the -verbosegc command option. The garbage collecting activity

RE: Ever increasing heap size with Tomcat 3.2.3 !!!

2001-12-18 Thread Randy Layman
-Original Message- From: Hawkins, Keith (Keith) [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 18, 2001 12:34 PM To: [EMAIL PROTECTED]; tomcat-user Subject: Ever increasing heap size with Tomcat 3.2.3 !!! Are there known issues with Tomcat and heap size?? No. Doing

RE: Ever increasing heap size with Tomcat 3.2.3 !!!

2001-12-18 Thread John Freeborg
To: Tomcat Users List Subject: RE: Ever increasing heap size with Tomcat 3.2.3 !!! -Original Message- From: Hawkins, Keith (Keith) [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 18, 2001 12:34 PM To: [EMAIL PROTECTED]; tomcat-user Subject: Ever increasing heap size with Tomcat

RE: Ever increasing heap size with Tomcat 3.2.3 !!!

2001-12-18 Thread Hawkins, Keith (Keith)
heap size with Tomcat 3.2.3 !!! Which JVM are you using? On Windows 2K w/ SP2 I found that the Sun JDK 1.3.1 server hotspot JVM crashed and burned running Tomcat 4.0.1 this way within 24 hours easily. A few others emailed me about it also. Switching to the Sun JDK 1.3.1 client hotspot JVM magically

Ever increasing heap size with Tomcat 3.2.3 !!!

2001-12-18 Thread Hawkins, Keith (Keith)
Hello, Before my manager insists that we switch to JRun, can any of the Tomcat developers help with a problem of an ever increasing heap size of the Tomcat java.exe. ?? (We are running Tomcat 3.2.3 and JRE1.3.1. and the IIS redirector) We are running a load test using LoadRunner scripts

Re: Ever increasing heap size with Tomcat 3.2.3 !!!

2001-12-18 Thread Jeff Kilbride
. Thanks, --jeff - Original Message - From: Hawkins, Keith (Keith) [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, December 18, 2001 10:09 AM Subject: RE: Ever increasing heap size with Tomcat 3.2.3 !!! John, Thanks for the reply. How do I tell whether I am

Re: OutOfMemory - Set Java Heap Size?

2001-08-28 Thread Max Hugen
664 664 272 S 0 0.0 0.1 0:01 postmaster end - Original Message - From: Craig R. McClanahan To: Tomcat Users List ; Max Hugen Sent: Tuesday, August 28, 2001 1:20 AM Subject: Re: OutOfMemory - Set Java Heap Size? On Mon, 27 Aug 2001, Max Hugen wrote: Unfortunately, I

Re: OutOfMemory - Set Java Heap Size?

2001-08-27 Thread Craig R. McClanahan
and swap settings yet? Because each JVM uses its own completely separate heap space, it's quite easy to run out of either physical memory or swap space -- once that happens, it doesn't matter how big you set Java's heap size to be, because the OS won't be able to satisfy it anyway. A quick way

Re: OutOfMemory - Set Java Heap Size?

2001-08-27 Thread Barnabas Yohannes
Where is this command line to set the maximum heap size located? Please help, I am kind of new to this staff! - Original Message - From: Craig R. McClanahan [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED]; Max Hugen [EMAIL PROTECTED] Sent: Friday, August 24, 2001 10:41 PM

Re: OutOfMemory - Set Java Heap Size?

2001-08-27 Thread Craig R. McClanahan
On Mon, 27 Aug 2001, Barnabas Yohannes wrote: Date: Mon, 27 Aug 2001 10:53:20 -0500 From: Barnabas Yohannes [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: OutOfMemory - Set Java Heap Size? Where is this command line to set the maximum heap size located

Re: OutOfMemory - Set Java Heap Size?

2001-08-26 Thread Max Hugen
Many thanks, Craig, Aravind and Shaun, for your comments. They are most appreciated. I set the TOMCAT_OPTS to -server -Xms64m -Xmx192m as you suggested Shaun... I wasn't aware of the HotSpot application, I'm now reading up in it. Thanks for the tip. Unfortunately, I still cannot launch a 7th

Re: OutOfMemory - Set Java Heap Size?

2001-08-25 Thread Shaun Kalley
When you set the TOMCAT_HOME and JAVA_HOME variables, also set a third variable called TOMCAT_OPTS with the value -Xms256m to up your initial heap size. This sets your initial memory allocation for the JVM that Tomcat runs from. I'm running a system with almost identical specs to yours

  1   2   >