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

Re: heap size in tomcat 5.0

2005-09-24 Thread matador
well i dont think that if you 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:

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 &g

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 additi

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 arou

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 > > > &

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 us

Re: Heap size - java.lang.OutOfMemoryError

2005-02-26 Thread A Leg
ndows 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 re

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 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 corre

Re: heap size params on linux

2005-01-03 Thread Ben Souther
eed to do both > >the initial and max in one line? > > > >E.g. set JAVA_OPTS= -Xmx1536m -Xms1536m (with nothing on the end of the > >line?) > > > >Does the -server option go with JAVA_OPTS as well? > > > >Thanks... > > > > > >- Origin

Re: heap size params on linux

2005-01-03 Thread Rodrigo Schmidt
t;[EMAIL PROTECTED]> To: "Tomcat Users List" 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 # &quo

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" 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

Re: heap size params on linux

2005-01-03 Thread Ben Souther
ur 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! > &

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.ex

RE: Increasing heap size in Tomcat

2004-09-28 Thread Shapira, Yoav
Sent: Tuesday, September 28, 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 &

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 to

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, y

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] For

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

2004-08-15 Thread Dale, Matt
sage- From: Wade 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 w

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

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

2004-08-13 Thread Cott Lang
he Sun JVM. Does IBM 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 > &g

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 on

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 > obviou

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 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 >

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

2004-08-13 Thread Dale, Matt
> > 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

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

2004-08-13 Thread Dale, Matt
To: Tomcat Users List Subject: 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 ap

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, Windo

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

2004-08-13 Thread Peter Lin
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, Mat

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 tha

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

2004-08-13 Thread Peter Lin
ct: [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 Dale, Matt
have to come up 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 PR

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

2004-08-13 Thread Shapira, Yoav
nformatics -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 whi

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

[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 th

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 neede

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 c

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 n

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

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 should

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: publ

RE: Heap size

2004-03-31 Thread Shapira, Yoav
cat Users List (E-mail) >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%" == &qu

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

RE: Tomcat maximum heap size on Linux

2004-01-08 Thread Shapira, Yoav
>> 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

RE: Tomcat maximum heap size on Linux

2004-01-08 Thread Shapira, Yoav
ormatics >-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

Re: Tomcat maximum heap size on Linux

2004-01-08 Thread Daniel Williams
illennium 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 on Linux I wanted to increase Tomcat's maximum heap size. I did it by putting

Re: Tomcat maximum heap size on Linux

2004-01-07 Thread John Beamon
no artificial reason 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

RE: Tomcat maximum heap size on Linux

2004-01-07 Thread Shapira, Yoav
04 2:45 PM >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 do

RE: Tomcat maximum heap size on Linux

2004-01-07 Thread Mindaugas Genutis
004 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): > > >

RE: Tomcat maximum heap size on Linux

2004-01-07 Thread Shapira, Yoav
;From: Mindaugas 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

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 us

Re: jvm.cfg, mem heap size

2004-01-06 Thread Robert Hall
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 of

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

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 -Xmx

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. I

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
ung generation, yet you're 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] >

Re: About heap size, gc and newsize

2003-08-19 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 PRO

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

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 Sh

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

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 Runtime.totalMemo

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 paramet

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, >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

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 To

RE: heap size config

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

RE: heap size config

2003-06-17 Thread Shapira, Yoav
-- >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 > >If you run top, and make a servlet to call a System Runtime. Then, use >Jmeter to hammer it. You will see the swap di

Re: heap size config

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

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

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 c

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

Re: Heap Size for Tomcat

2002-05-16 Thread Phillip Morelock
t; -Original Message- > From: Phillip Morelock [mailto:[EMAIL 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 yo

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

Re: Heap Size for Tomcat

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

Re: Heap Size for Tomcat

2002-05-16 Thread Wagner Danda
b Hookom" >><[EMAIL PROTECTED] To: "'Tomcat Users List'" >><[EMAIL PROTECTED]> >>du> cc: >>

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 grab

Re: Heap Size for Tomcat

2002-05-16 Thread Phillip Morelock
"Jacob Hookom" > <[EMAIL PROTECTED] To: "'Tomcat Users List'" > <[EMAIL PROTECTED]> > du> cc: > Subject: Heap Siz

Re: Heap Size for Tomcat

2002-05-16 Thread TMotte
du> cc: Subject: Heap Size for Tomcat

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

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

AW: Allocated Heap Size Continuously Increase

2002-01-27 Thread Ralph Einfeldt
; An: Tomcat Users List > Betreff: RE: Allocated Heap Size Continuously Increase > > > The allocated heap size continuously increase. > > Change a.jsp to: > > <% java.lang.Runtime.getRuntime().gc() %> > > The allocated heap size remains uncha

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: The allocated heap size continuously increase. Change a.jsp to: <% java.lang.Runtime.getRuntime().gc() %> The allocated heap size remains unc

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

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

2001-12-19 Thread Ralph Einfeldt
Dezember 2001 09: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 -verboseg

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

2001-12-19 Thread Tõnu Põld
heap, 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 minimize

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

2001-12-18 Thread Jeff Kilbride
our JAVA_HOME environment variable. 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

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

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

2001-12-18 Thread John Freeborg
: 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 s

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

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 on

Re: OutOfMemory - Set Java Heap Size?

2001-08-28 Thread Max Hugen
t;>>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 H

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 t

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" <[EM

Re: OutOfMemory - Set Java Heap Size?

2001-08-27 Thread Craig R. McClanahan
have you checked your OS's memory 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

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 T

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 your

  1   2   >