Re: tomcat memory usage

2010-02-02 Thread Dan Armbrust
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:

Re: tomcat memory usage

2010-02-02 Thread Carl
you see anything dangerous/wrong/not good? Thanks, Carl - Original Message - From: Dan Armbrust daniel.armbrust.l...@gmail.com To: Tomcat Users List users@tomcat.apache.org; p...@pidster.com Sent: Tuesday, February 02, 2010 2:07 PM Subject: Re: tomcat memory usage FYI - look out

Re: tomcat memory usage

2010-02-02 Thread Dan Armbrust
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

Re: tomcat memory usage

2010-01-29 Thread Hüsnü Þentürk
: 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 implementation it was pretty much just the instances

RE: tomcat memory usage

2010-01-29 Thread Caldarale, Charles R
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, dynamically generated code

RE: tomcat memory usage

2010-01-29 Thread Caldarale, Charles R
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 -XX:PermSize=64m -XX:MaxPermSize

Re: tomcat memory usage

2010-01-29 Thread Pid
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

RE: tomcat memory usage

2010-01-29 Thread Caldarale, Charles R
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 display? I seem to recall some

Re: tomcat memory usage

2010-01-29 Thread Pid
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 erroneous

RE: tomcat memory usage

2010-01-27 Thread Caldarale, Charles R
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 Class objects

Re: tomcat memory usage

2010-01-27 Thread Christopher Schultz
-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 stored within the heap. Well

RE: tomcat memory usage

2010-01-27 Thread Caldarale, Charles R
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 PermGen, although it's been awhile since

Re: tomcat memory usage

2010-01-27 Thread Christopher Schultz
-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 they stored? PermGen

RE: tomcat memory usage

2010-01-27 Thread Caldarale, Charles R
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 should go into PermGen. You're confusing

AW: tomcat memory usage

2010-01-27 Thread Steffen Heil
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

RE: tomcat memory usage

2010-01-27 Thread Caldarale, Charles R
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

Re: tomcat memory usage

2010-01-27 Thread Christopher Schultz
-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 member is static, and might even be able to tell

RE: tomcat memory usage

2010-01-27 Thread Caldarale, Charles R
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.lang.Class

tomcat memory usage

2010-01-26 Thread 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 reason of this stuation.

Re: tomcat memory usage

2010-01-26 Thread Pid
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

Re: tomcat memory usage

2010-01-26 Thread Peter Crowther
2010/1/26 Hüsnü Þentürk husnusent...@yahoo.com 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

Re: tomcat memory usage

2010-01-26 Thread Hüsnü Þentürk
of 512MB reserved heap area used only by Java itself?   From: Peter Crowther peter.crowt...@melandra.com To: Tomcat Users List users@tomcat.apache.org Sent: Tue, January 26, 2010 5:43:22 PM Subject: Re: tomcat memory usage 2010/1/26 Hüsnü Þentürk husnusent

Setting Tomcat memory usage

2008-04-25 Thread Chris Richmond
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

RE: Setting Tomcat memory usage

2008-04-25 Thread Caldarale, Charles R
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 JAVA_OPTS, so it will be ignored

Diagnosing Tomcat memory usage

2007-10-10 Thread Andrew Hole
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:

Re: Diagnosing Tomcat memory usage

2007-10-10 Thread Lyallex
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

Re: Diagnosing Tomcat memory usage

2007-10-10 Thread Filip Hanik - Dev Lists
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

Tomcat Memory Usage

2007-05-14 Thread Jerome Benezech
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

RE: Tomcat Memory Usage

2007-05-14 Thread Per Johnsson
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 shared Linux

RE: Tomcat Memory Usage

2007-05-14 Thread Jerome Benezech
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 shared Linux environnement and runs under tomcat 5.5.9. There are about 7 applications

RE: Tomcat Memory Usage

2007-05-14 Thread Per Johnsson
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 and stops

RE: Tomcat Memory Usage

2007-05-14 Thread Jerome Benezech
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 and stops serving requests. --- Per Johnsson [EMAIL PROTECTED] wrote: Hi! If you get OutOfMemory Errors and running java 1.6 (maybe later

Re: Tomcat memory usage.

2007-01-17 Thread Ayusman Dikshit
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 the

Re: Tomcat memory usage.

2007-01-17 Thread Mikolaj Rydzewski
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

Re: Tomcat memory usage.

2007-01-17 Thread Stephen Caine
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

Re: Tomcat memory usage.

2007-01-17 Thread Filip Hanik - Dev Lists
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

Re: Tomcat memory usage.

2007-01-17 Thread Christopher Schultz
-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

Tomcat memory usage.

2007-01-16 Thread Ayusman Dikshit
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

Re: Tomcat memory usage.

2007-01-16 Thread Christopher Schultz
-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,

Re: tomcat memory usage.

2006-11-28 Thread xu cai
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

Re: tomcat memory usage.

2006-11-21 Thread Rainer Jung
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

tomcat memory usage.

2006-11-21 Thread xu cai
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

RE: tomcat memory usage.

2006-11-21 Thread Steffen Heil
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 the

tomcat memory usage questions

2006-10-03 Thread Rizwan Merchant
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

RE: tomcat memory usage questions

2006-10-03 Thread Robert Harper
. -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

Re: tomcat memory usage questions

2006-10-03 Thread Mikolaj Rydzewski
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

RE: tomcat memory usage questions

2006-10-03 Thread Caldarale, Charles R
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 free and object from

Re: tomcat memory usage questions

2006-10-03 Thread Rizwan Merchant
] 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

Tomcat memory usage 3.3 vs 5.5

2006-04-19 Thread Abhi Karmos
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

Re: Tomcat memory usage 3.3 vs 5.5

2006-04-19 Thread manivannan57
1) Reduce the number of applications you load during start-up. 2) Remove unwanted jars from WEB-INF/lib and also from tomcat-home/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

Re: Tomcat memory usage 3.3 vs 5.5

2006-04-19 Thread Abhi Karmos
://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]