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 t
Hi
> So, static members are stored outside the heap? Where are they stored?
> PermGen?
For sure, no.
ALL persistent java objects are on the heap. With optimization some very short
living objects may reside on the stack only.
References to static objects ARE probably stored in PermGen, but the
> 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
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 reason of this stuation.
Informatio
> From: Chris Richmond [mailto:[EMAIL PROTECTED]
> Subject: Setting Tomcat memory usage
>
> set JAVA_OPTS = -Xms512m -Xmx512m
Take out the spaces around the equals sign. Windows interprets the
above as a setting for "JAVA_OPTS " (note the trailing space) rather
than &quo
Hello all,
I read the documentation on the Tomcat6 site and I have attempted to modify
the max jvm memory settings when tomcat starts up by modifying Catalina.bat,
but it *appears* to have no effect.
Here is a summary of the situation and what I have done.
I am using Tomcat6 stable rele
plug in a profiler,
I use www.yourkit.com, you can get memory stats, like the ones you wish
for, live.
other profilers will do the job as well
Filip
Andrew Hole wrote:
I've an java application running under tomcat and in the last week
memory usage increase 50%, from 200M to 400M. I want to kno
Actually, you have no idea how much your code actually increased it.
You just think it increased 50%, because that is what the OS sees.
If you were using 190 MB of memory before, the JVM may have left your
system usage at 200 MB.
Then, when your app bumps the memory up to 201 MB, the JVM needs to
Try Lambda Probe as recommended by other contributors to this list.
http://www.lambdaprobe.org/d/index.htm
I'm no expert with this tool but it's straightforward to install and I
think it may help you out a bit. The System Information/Memory
Utilization thing is particularly fascinating although I
I've an java application running under tomcat and in the last week
memory usage increase 50%, from 200M to 400M. I want to know exactly
why this happens. Some suggestion?
Thanks a lot
-
To start a new topic, e-mail: users@tomcat.
--
> 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
> Hope it helps.
>
> (If you don't run java6 I can recommend it, faster
> and better :-)
>
> /Regards Per Jonsson
>
> -Original Message-
> From: Jerome Benezech [mailto:[EMAIL PROTECTED]
> Sent: den 14 maj 2007 11:21
> To: users@tomcat.apache.org
> Subject:
#x27;t run java6 I can recommend it, faster and better :-)
/Regards Per Jonsson
-Original Message-
From: Jerome Benezech [mailto:[EMAIL PROTECTED]
Sent: den 14 maj 2007 11:21
To: users@tomcat.apache.org
Subject: Tomcat Memory Usage
Hi all,
I run a cocoon webapp which is hosted on a sh
Hi all,
I run a cocoon webapp which is hosted on a shared
Linux environnement and runs under tomcat 5.5.9.
There are about 7 applications running under that
tomcat instance (2 cocoon, at least 1 jsp, don't know
for the others).
My host provider complains that he tomcat uses a lot
of memory and tha
-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
Hi All,
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 application may nee
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
Env: Axis1.4/Tomcat 5.0.30/Java 1.5.0_07/Solaris 10.
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 si
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
]
Sent: Tuesday, October 03, 2006 7:41 AM
To: tomcat
Subject: tomcat memory usage questions
Hi,
We recently developed and deployed a web based application using the
following technologies...
Struts
Spring
Hibernate 3.0
Mysql 5.0
tomcat 5.5
Linux Fedora Core 4
After the system went live, I have
> 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
.
-Original Message-
From: Rizwan Merchant [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 03, 2006 7:41 AM
To: tomcat
Subject: tomcat memory usage questions
Hi,
We recently developed and deployed a web based application using the
following technologies...
Struts
Spring
Hibernate 3.0
Mysql
Hi,
We recently developed and deployed a web based application using the
following technologies...
Struts
Spring
Hibernate 3.0
Mysql 5.0
tomcat 5.5
Linux Fedora Core 4
After the system went live, I have been monitoring the CPU and memory
usages. I dread the outOfMemory errors and am a little
;
> --
> View this message in context:
> http://www.nabble.com/Tomcat-memory-usage-3.3-vs-5.5-t1472557.html#a3982404
> Sent from the Tomcat - User forum at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
Hello all,
We run tomcat inside an embedded system and we are planning to upgrade the
tomcat version from 3.3.1 to 5.5.16. We noticed that the memory footprint of
a barebones tomcat 5.5 installation is 44 MB. Plain and simple Tomcat 3.3
used to run with 25 MB. We have limited memory on our sys
54 matches
Mail list logo