Nope, but I'm not an expert with these (at all).
I use something pretty similar, the only real difference is that I
haven't turned on the CMSIncrementalMode. My apps haven't shown an
issue with long pause times, so I haven't researched/tested it yet.
Dan
On Tue, Feb 2, 2010 at 1:55 PM, Carl wr
/logs"
Do you see anything dangerous/wrong/not good?
Thanks,
Carl
- Original Message -
From: "Dan Armbrust"
To: "Tomcat Users List" ;
Sent: Tuesday, February 02, 2010 2:07 PM
Subject: Re: tomcat memory usage
FYI - look out for this WRT MaxNewSize and
FYI - look out for this WRT MaxNewSize and NewRatio:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6862534
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apac
On 29/01/2010 15:27, Caldarale, Charles R wrote:
From: Pid [mailto:p...@pidster.com]
Subject: Re: tomcat memory usage
So the MaxNewSize, despite often being seen at high values in
jmap outputs, is actually only applicable if the 'mx' allows it?
Correct. Do you have an example of an
> From: Pid [mailto:p...@pidster.com]
> Subject: Re: tomcat memory usage
>
> So the MaxNewSize, despite often being seen at high values in
> jmap outputs, is actually only applicable if the 'mx' allows it?
Correct. Do you have an example of an erroneous MaxNewSize di
On 29/01/2010 15:13, Caldarale, Charles R wrote:
From: Pid [mailto:p...@pidster.com]
Subject: Re: tomcat memory usage
The overall size of the heap is controlled by 3 different groups of
settings, not just the one you referred to:
-Xms512M -Xmx512M
-XX:NewSize=32m
> From: Pid [mailto:p...@pidster.com]
> Subject: Re: tomcat memory usage
> The overall size of the heap is controlled by 3 different groups of
> settings, not just the one you referred to:
> -Xms512M -Xmx512M
> -XX:NewSize=32m -XX:MaxNewSize=4096m
&g
> From: Hüsnü Þentürk [mailto:husnusent...@yahoo.com]
> Subject: Re: tomcat memory usage
>
> Is following classifications true for memory usage of Java ?
Pretty much, but you're missing ancillary bits such as libraries, OS-created
structures, statically linked code, dynamical
at Users List
Sent: Wed, January 27, 2010 10:32:01 PM
Subject: RE: tomcat memory usage
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: Re: tomcat memory usage
What else goes into PermGen, other than java.lang.Class objects?
It varies by JVM level. In the original HotSpot
mMx 512" in service.bat. But application is
using 600,980 KB memory. I expect the application not to use more then 512 MB. "
Thanks again.
From: "Caldarale, Charles R"
To: Tomcat Users List
Sent: Wed, January 27, 2010 10:32:01 PM
Subje
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: tomcat memory usage
>
> What else goes into PermGen, other than java.lang.Class objects?
It varies by JVM level. In the original HotSpot implementation it was pretty
much just the instances of java.lan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 1/27/2010 2:50 PM, Caldarale, Charles R wrote:
>> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
>> Subject: Re: tomcat memory usage
>>
>> The compiler knows that the "staticObject" memb
> From: Steffen Heil [mailto:li...@steffen-heil.de]
> Subject: AW: tomcat memory usage
>
> I am not sure, where the Class objects themselfes reside.
They are in PermGen along with a very few other internally-generated structures.
> Whereever they are, static references are in there.
Actually, t
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: tomcat memory usage
>
> The compiler knows that the "staticObject" member is static, and might
> even be able to tell the runtime that the object to be used for that
> static member sho
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 1/27/2010 1:50 PM, Caldarale, Charles R wrote:
>> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
>> Subject: Re: tomcat memory usage
>>
>> So, static members are stored outside the heap? Where are
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: tomcat memory usage
>
> So, static members are stored outside the heap? Where are they stored?
> PermGen?
They're definitely not in the main Java heap; I'm pretty sure they're in
Perm
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 1/27/2010 11:28 AM, Caldarale, Charles R wrote:
>> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
>> Subject: Re: tomcat memory usage
>>
>> All Java objects and their associated data are st
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: tomcat memory usage
>
> All Java objects and their associated data are stored
> within the heap.
Well... no. The OP's original question was about what was outside the -Xmx
heap setting, and C
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hüsnü,
On 1/27/2010 2:06 AM, Hüsnü Þentürk wrote:
> As far as I know, heap memory is used by objects. On the other hand,
> our application has static variables and references to the objects
> residing in heap area. Does it mean, static variables and r
512MB reserved
heap area used only by Java itself?
From: Peter Crowther
To: Tomcat Users List
Sent: Tue, January 26, 2010 5:43:22 PM
Subject: Re: tomcat memory usage
2010/1/26 Hüsnü Þentürk
> Hi,
> In our company, we are using apache tomcat as a w
2010/1/26 Hüsnü Þentürk
> Hi,
> In our company, we are using apache tomcat as a windows service. We defined
> jvm parameters "--JvmMs 512 --JvmMx 512" in service.bat. But application is
> using 600,980 KB memory. I expect the application not to use more then 512
> MB.
>
> Can you explain me, the
On 26/01/2010 15:12, Hüsnü Þentürk wrote:
Hi,
In our company, we are using apache tomcat as a windows service. We defined jvm
parameters "--JvmMs 512 --JvmMx 512" in service.bat. But application is using
600,980 KB memory. I expect the application not to use more then 512 MB.
Can you explain m
--
> From: Jerome Benezech [mailto:[EMAIL PROTECTED]
> Sent: den 14 maj 2007 12:33
> To: Tomcat Users List
> Subject: RE: Tomcat Memory Usage
>
> Hi,
> We're on Java 1.5 and do not get any OutOfMemory but
> after some point,
> Tomcat uses 50% of the server memo
gards Per Jonsson
-Original Message-
From: Jerome Benezech [mailto:[EMAIL PROTECTED]
Sent: den 14 maj 2007 12:33
To: Tomcat Users List
Subject: RE: Tomcat Memory Usage
Hi,
We're on Java 1.5 and do not get any OutOfMemory but after some point,
Tomcat uses 50% of the server memory
Hi,
We're on Java 1.5 and do not get any OutOfMemory but
after some point, Tomcat uses 50% of the server memory
and stops serving requests.
--- Per Johnsson <[EMAIL PROTECTED]> wrote:
> Hi!
>
> If you get OutOfMemory Errors and running java 1.6
> (maybe later versions
> of java 1.5) you can mak
Hi!
If you get OutOfMemory Errors and running java 1.6 (maybe later versions
of java 1.5) you can make the vm to save a memory dump which you could
load in ie. YourKit java profiler. And After a crach you could analyse
the memroy in your applications.
I did that resently and it works like a char
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ayusman,
Ayusman Dikshit wrote:
> Hi Christopher,
> any links to the following implementation of multiple instances available?
Read the file RUNNING.txt in your Tomcat distribution, particularly the
section titled "Advanced Configuration - Multiple T
the 1GB limit is OS specific, on Solaris for example, and a 32bit VM we
had the limit of -Xmx1850m
on a 64bit VM the limitation should be non existent
Filip
Stephen Caine wrote:
Ayusman,
I have a OS X server, running Tomcat 5.0.19. There are already three
applications running but I will need
Ayusman,
I have a OS X server, running Tomcat 5.0.19. There are already
three applications running but I will need one more application
which is memory intensive. I wanted to know how can I specify/
increase the memroy requirements for my application or Tomcat
application? My new applica
Ayusman Dikshit wrote:
any links to the following implementation of multiple instances
available?
Unzip/untar, change listening port and you're ready.
--
Mikolaj Rydzewski <[EMAIL PROTECTED]>
smime.p7s
Description: S/MIME Cryptographic Signature
Hi Christopher,
any links to the following implementation of multiple instances available?
Regards,
Ayusman
On 1/17/07, Christopher Schultz <[EMAIL PROTECTED]> wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ayusman,
Ayusman Dikshit wrote:
> I wanted to know how can I specify/increase th
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ayusman,
Ayusman Dikshit wrote:
> I wanted to know how can I specify/increase the memroy requirements for my
> application or Tomcat application?
If you want to give this particular application more resources than you
want to share with the others, t
Rainer Jung,
thanks for ur reply. I understand that JVM will use lots of memory besides
heap.
but I didn't see that the gap between the "heap" size and total memory size
can be stable.
it keeps on growing.
I list the pmap result below. there are lots of unknow memory allocated. Is
there any to
Hi
> Description :
> right after system(tomcat) is started, the "top" command show
> that tomcat process will use 210M memory, the heap size
> (using Jprofiler) is 58m/20m(total/used). there is a 150M gap
> between total process memory size and java heap size.
There needs to be some memory for
Usually the term heap is used for the sum of the new space, one of the
two semi spaces (both usually around a couple of MB) and tenured. The
size of each of these can be viewed e.g. with jconsole, which comes with
your JVM.
Additional memory is used for perm (class data), which should generally
be
Thanks for the response Robert.
Is it abnormal to see the mem usage % for tomcat to go as high as 80 or
90%? Currently its only at 11%, but I am wondering at what point I
should start panicking. :)
Robert Harper wrote:
The memory should peak at some point and the go up and down with need. Th
> From: Robert Harper [mailto:[EMAIL PROTECTED]
> Subject: RE: tomcat memory usage questions
>
> Care in development should be taken with respect to use of objects and
> having circular references. You can cause memory leaks with circular
> references because you might leave fr
Robert Harper wrote:
Another thing to think about is if you are doing a
lot of string concatenation the StringBuffer object is much better to use
than the String object. StringBuffer will be easier on memory and more
efficient.
Unless you concatenate strings in multiple threads it's better to
The memory should peak at some point and the go up and down with need. There
are a few things you have to be aware of though. The garbage collector is a
very low priority thread so if your server never has a dull moment, you end
up exhausting memory just because the garbage collector does not get a
Hey thanks for your comments -
1. Our applications are fixed. We have removed all unnecessary apps.
2. Unwanted jars/classes are not loaded into physical memory by IBM JVM on
Linux. So, it will not add to RSS. We have done some experiments and are
sure of this claim.
Abhi.
"manivannan57" <[EM
1) Reduce the number of applications you load during start-up.
2) Remove unwanted jars from WEB-INF/lib and also from
/common/lib
3) Also remove wherever the jars seem to be unnecessary.
--
View this message in context:
http://www.nabble.com/Tomcat-memory-usage-3.3-vs-5.5-t1472557.html#a3982404
41 matches
Mail list logo