> 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
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:
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
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
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
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
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
> >
> &
> 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
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
)
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
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
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
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
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
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!
>
&
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
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
&
.
-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
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
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
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
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
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
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
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
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
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
>
> > 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
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
> 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
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
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
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
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
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
> 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
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
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
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
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
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
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
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
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
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
>> 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
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
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
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
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
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):
> >
>
;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
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
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
>-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
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
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
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
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]
>
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
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 :-)
-
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
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
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
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
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
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,
>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
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
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
--
>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
;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
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
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
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
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
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 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
b Hookom"
>><[EMAIL PROTECTED] To: "'Tomcat Users List'"
>><[EMAIL PROTECTED]>
>>du> cc:
>>
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
"Jacob Hookom"
> <[EMAIL PROTECTED] To: "'Tomcat Users List'"
> <[EMAIL PROTECTED]>
> du> cc:
> Subject: Heap Siz
du> cc:
Subject: Heap Size for Tomcat
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
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
; 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
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
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
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
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
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
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
: 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
> -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
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
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
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
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
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
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
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 - 100 of 106 matches
Mail list logo