RE: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-16 Thread Caldarale, Charles R
From: Martin O'Shea [mailto:app...@dsl.pipex.com] Subject: Tomcat memory leak error launching web app in NetBeans 6.9.1 16-Oct-2010 12:20:18 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE: A web application appears to have started a thread named

Re: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-16 Thread Pid *
On 16 Oct 2010, at 12:45, Martin O'Shea app...@dsl.pipex.com wrote: Hello I wonder if anyone can help here? I am developing a web application written in Java servlets and JSPs which uses Quartz 1.6.1 to submit two jobs when Apache Tomcat 6.0.26 is started and hourly after that. But what

RE: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-16 Thread Martin O'Shea
] Sent: 16 Oct 2010 15 06 To: Tomcat Users List Subject: Re: Tomcat memory leak error launching web app in NetBeans 6.9.1 On 16 Oct 2010, at 12:45, Martin O'Shea app...@dsl.pipex.com wrote: Hello I wonder if anyone can help here? I am developing a web application written in Java servlets and JSPs

RE: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-16 Thread Caldarale, Charles R
From: Martin O'Shea [mailto:app...@dsl.pipex.com] Subject: RE: Tomcat memory leak error launching web app in NetBeans 6.9.1 I have NetBeans's Deploy on Save set. This seems to restart the server with the current objects. No, it restarts the webapp, not the server. But what I don't

RE: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-16 Thread Martin O'Shea
] Sent: 16 Oct 2010 15 30 To: Tomcat Users List Subject: RE: Tomcat memory leak error launching web app in NetBeans 6.9.1 From: Martin O'Shea [mailto:app...@dsl.pipex.com] Subject: RE: Tomcat memory leak error launching web app in NetBeans 6.9.1 I have NetBeans's Deploy on Save set. This seems

RE: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-16 Thread Caldarale, Charles R
From: Martin O'Shea [mailto:app...@dsl.pipex.com] Subject: RE: Tomcat memory leak error launching web app in NetBeans 6.9.1 When the application is terminated, e.g. when the server is stopped, appropriate messages are issued to confirm that the scheduler has stopped. What about when it's

RE: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-16 Thread Martin O'Shea
environments. -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: 16 Oct 2010 15 53 To: Tomcat Users List Subject: RE: Tomcat memory leak error launching web app in NetBeans 6.9.1 From: Martin O'Shea [mailto:app...@dsl.pipex.com] Subject: RE: Tomcat

Re: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-16 Thread Pid
- From: Pid * [mailto:p...@pidster.com] Sent: 16 Oct 2010 15 06 To: Tomcat Users List Subject: Re: Tomcat memory leak error launching web app in NetBeans 6.9.1 On 16 Oct 2010, at 12:45, Martin O'Shea app...@dsl.pipex.com wrote: Hello I wonder if anyone can help here? I am developing

RE: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-16 Thread Martin O'Shea
Subject: Re: Tomcat memory leak error launching web app in NetBeans 6.9.1 On 16/10/2010 15:24, Martin O'Shea wrote: OK. So the error is happening as the application is closed, not as it started. My mistake. But Tomcat restarts occur frequently as I have NetBeans's Deploy on Save set. This seems

Re: Showing Tomcat Memory Utilization with 'top'

2010-06-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 6/22/2010 5:00 PM, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Showing Tomcat Memory Utilization with 'top' Also, I believe VIRT includes memory shared with other processes

RE: Showing Tomcat Memory Utilization with 'top'

2010-06-23 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Showing Tomcat Memory Utilization with 'top' I didn't realize that the server JVM didn't share class templates. Do you have any ideas why not? AFAIK, Sun just hadn't gotten around to it yet; don't know if it's

Showing Tomcat Memory Utilization with 'top'

2010-06-22 Thread Robinson, Eric
In top, my java processes all show an average VIRT size of about 250MB and an average RES size of about 150MB. Most of them were started with a 64MB heap size. I have two questions: 1. Top shows 0k of swap usage, so the system is not swapping. In that case, why is there a difference between the

RE: Showing Tomcat Memory Utilization with 'top'

2010-06-22 Thread Caldarale, Charles R
From: Robinson, Eric [mailto:eric.robin...@psmnv.com] Subject: Showing Tomcat Memory Utilization with 'top' 1. Top shows 0k of swap usage, so the system is not swapping. In that case, why is there a difference between the VIRT and RES numbers? Linux always allocates more virtual space than

RE: Showing Tomcat Memory Utilization with 'top'

2010-06-22 Thread Robinson, Eric
2. Where does the 64MB of java heap show up? Buried inside the VIRT number. For example, I have a tomcat configured to use 96MB of heap (export JAVA_OPTS=-ms96M -mx96M). Top shows VIRT=336396, RES=227264. I'm guessing that the 96MB of heap is buried in BOTH the VIRT and RES numbers? -- Eric

RE: Showing Tomcat Memory Utilization with 'top'

2010-06-22 Thread Caldarale, Charles R
From: Robinson, Eric [mailto:eric.robin...@psmnv.com] Subject: RE: Showing Tomcat Memory Utilization with 'top' For example, I have a tomcat configured to use 96MB of heap (export JAVA_OPTS=-ms96M -mx96M). Top shows VIRT=336396, RES=227264. I'm guessing that the 96MB of heap is buried

Re: Showing Tomcat Memory Utilization with 'top'

2010-06-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 6/22/2010 3:22 PM, Caldarale, Charles R wrote: From: Robinson, Eric [mailto:eric.robin...@psmnv.com] Subject: Showing Tomcat Memory Utilization with 'top' 1. Top shows 0k of swap usage, so the system is not swapping. In that case, why

RE: Showing Tomcat Memory Utilization with 'top'

2010-06-22 Thread Robinson, Eric
Also, I believe VIRT includes memory shared with other processes, so if you have 50MiB of Java system classes loaded and a modern JVM which shares them among running JVMs, then you'll see that 50MiB included in every process's VIRT that is sharing it, which is somewhat misleading.

RE: Showing Tomcat Memory Utilization with 'top'

2010-06-22 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Showing Tomcat Memory Utilization with 'top' Also, I believe VIRT includes memory shared with other processes Doesn't RES also include shared pages - anything that's in the memory map of the process? (I can't

RE: Showing Tomcat Memory Utilization with 'top'

2010-06-22 Thread Caldarale, Charles R
From: Robinson, Eric [mailto:eric.robin...@psmnv.com] Subject: RE: Showing Tomcat Memory Utilization with 'top' 'top' shows 30-40MB in the 'SHR' column for each java process. Is that what you're referring to? That could be any memory (eg, file pages) that's being used in more than one

Re: tomcat memory question

2010-05-28 Thread sesfei
28, 2010 1:26 AM Subject: RE: tomcat memory question -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Thursday, May 27, 2010 9:40 AM To: Tomcat Users List Subject: Re: tomcat memory question -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 塗, On 5

Re: tomcat memory question

2010-05-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 塗, On 5/28/2010 3:11 AM, sesfei wrote: Are you using a 64-bit or 32-bit JVM? yes, that is 64-bit JVM. With such a modest heap (1GiB), you might consider running a 32-bit JVM: you might even get better heap performance with smaller pointers.

RE: tomcat memory question

2010-05-28 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: tomcat memory question Check may (will?) correct me on this -1 for spelling I believe a full GC might be necessary to clear-out certain resources such as completed Threads or other things that have concrete OS

Re: tomcat memory question

2010-05-28 Thread Rainer Jung
On 28.05.2010 16:26, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: tomcat memory question Check may (will?) correct me on this -1 for spelling I believe a full GC might be necessary to clear-out certain resources such as completed

tomcat memory question

2010-05-27 Thread
hi, all there is a problem with my webapp. by manual configuration, i allocated 1G(1024M) memory for webapp. where the gc new capacity automatically is 262M, the gc old capacity automatically is 699M, S0/S1 automatically is 43.6M/43.6M., PC automatically is 42M When my webapp is started, I

Re: tomcat memory question

2010-05-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 塗, On 5/27/2010 4:51 AM, 塗 wrote: there is a problem with my webapp. web operating environment: tomcat5.5.27 + Apache/2.2.3 + jdk1.5.0_13 + Linux_x86_64 [below] is my manual configurations for tomcat JVM: CATALINA_OPTS=-Xms1024M -Xmx1024M

Re: tomcat memory question

2010-05-27 Thread Pid
On 27/05/2010 15:40, Christopher Schultz wrote: W, On 5/27/2010 4:51 AM, W wrote: there is a problem with my webapp. web operating environment: tomcat5.5.27 + Apache/2.2.3 + jdk1.5.0_13 + Linux_x86_64 [below] is my manual configurations for tomcat JVM: CATALINA_OPTS=-Xms1024M

RE: tomcat memory question

2010-05-27 Thread Jeffrey Janner
-Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Thursday, May 27, 2010 9:40 AM To: Tomcat Users List Subject: Re: tomcat memory question -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 塗, On 5/27/2010 4:51 AM, 塗 wrote

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

Re: Tomcat memory settings

2010-01-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Leo, On 1/14/2010 11:48 AM, Leo Donahue - PLANDEVX wrote: Thank you for the feedback. I followed Chuck's advice and set the initial and maximum memory pool using the tomcat6w.exe I have both values set to 512MB. As Chuck suggests, that's a bit

RE: Tomcat memory settings

2010-01-14 Thread Leo Donahue - PLANDEVX
, January 13, 2010 2:03 PM To: Tomcat Users List Subject: Re: Tomcat memory settings -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Leo, On 1/11/2010 2:29 PM, Leo Donahue - PLANDEVX wrote: org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet servlet name threw

Re: Tomcat memory settings

2010-01-14 Thread Pid
:03 PM To: Tomcat Users List Subject: Re: Tomcat memory settings -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Leo, On 1/11/2010 2:29 PM, Leo Donahue - PLANDEVX wrote: org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet servlet name threw exception

RE: Tomcat memory settings

2010-01-14 Thread Leo Donahue - PLANDEVX
. Leo -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Thursday, January 14, 2010 10:49 AM To: users@tomcat.apache.org Subject: Re: Tomcat memory settings On 14/01/2010 16:48, Leo Donahue - PLANDEVX wrote: Chris, Thank you for the feedback. I followed Chuck's advice

RE: Tomcat memory settings

2010-01-14 Thread Caldarale, Charles R
From: Leo Donahue - PLANDEVX [mailto:leodona...@mail.maricopa.gov] Subject: RE: Tomcat memory settings I have both values set to 512MB. That's actually kind of small for this day and age, even on a 32-bit system. Looking at the log files, the OOME appears in the logs after long periods

Re: Tomcat memory settings

2010-01-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Leo, On 1/11/2010 2:29 PM, Leo Donahue - PLANDEVX wrote: org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet servlet name threw exception java.lang.OutOfMemoryError: Java heap space To add to what others

Tomcat memory settings

2010-01-11 Thread Leo Donahue - PLANDEVX
Tomcat 6.0.20 zip (used service command to run as windows service) Window 2003 Server 2.0GB RAM (1.3GB available) My problem: org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet servlet name threw exception java.lang.OutOfMemoryError: Java heap space I've

Re: Tomcat memory settings

2010-01-11 Thread Paul Campbell
http://www.theserverside.com/news/thread.tss?thread_id=48390 http://wiki.apache.org/tomcat/FAQ/Memory Try googling On 01/11/2010 11:29 AM, Leo Donahue - PLANDEVX wrote: Tomcat 6.0.20 zip (used service command to run as windows service) Window 2003 Server 2.0GB RAM (1.3GB available) My

RE: Tomcat memory settings

2010-01-11 Thread Caldarale, Charles R
From: Leo Donahue - PLANDEVX [mailto:leodona...@mail.maricopa.gov] Subject: Tomcat memory settings I've read many previous posts and online articles about increasing the memory settings for Tomcat. As it stands, I've modified the catalina.bat file and set the CATALINA_OPTS variable from

RE: Tomcat Memory and Garbage Collection questions...

2009-11-05 Thread Johnson, Trevin (Contractor)
: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Monday, November 02, 2009 4:06 PM To: Tomcat Users List Subject: RE: Tomcat Memory and Garbage Collection questions... From: Johnson, Trevin (Contractor) [mailto:trevin.john...@occ.treas.gov] Subject: Tomcat Memory and Garbage

RE: Tomcat Memory and Garbage Collection questions...

2009-11-05 Thread Caldarale, Charles R
From: Johnson, Trevin (Contractor) [mailto:trevin.john...@occ.treas.gov] Subject: RE: Tomcat Memory and Garbage Collection questions... I see odd behavior. Our tomcat setting is set for a max memory setting of 256Mb in our Development Environment. Yet it goes over 256Mb. Up to 290Mb. I

RE: Tomcat Memory and Garbage Collection questions...

2009-11-05 Thread Martin Gainty
thanks, Martin Gainty __ do not modify or alter this transmission. Thank You From: trevin.john...@occ.treas.gov To: users@tomcat.apache.org Date: Thu, 5 Nov 2009 17:26:14 -0500 Subject: RE: Tomcat Memory and Garbage Collection questions... I see

RE: Tomcat Memory and Garbage Collection questions...

2009-11-03 Thread Gerwood Stewart
: Re: Tomcat Memory and Garbage Collection questions... A question: Do you guys use hot deployment of applications? If you do *not*, then Joseph’s tips are the first things to look at, in short it is the application code keeping too many references. If you do hot deployment, then the number

Tomcat Memory and Garbage Collection questions...

2009-11-02 Thread Johnson, Trevin (Contractor)
Hello OS Version: Windows 2000 Tomcat version:5.5.17 Initial Memory Pool: 768 Maximum Memory Pool:1024 Java Version: Java\jdk1.5.0_14 When we restart the tomcat service our tomcat memory is about 120Mb. It keeps going up over the next few days util it reaches 700Mb and we have to reboot

RE: Tomcat Memory and Garbage Collection questions...

2009-11-02 Thread Caldarale, Charles R
From: Johnson, Trevin (Contractor) [mailto:trevin.john...@occ.treas.gov] Subject: Tomcat Memory and Garbage Collection questions... When we restart the tomcat service our tomcat memory is about 120Mb. It keeps going up over the next few days util it reaches 700Mb and we have to reboot

Re: Tomcat Memory and Garbage Collection questions...

2009-11-02 Thread Martin Choma
Hi, in fact, garbage collection is not tomcat stuff. It is JVM responsibility. So try to focus on jvm memory problem, not tomcat memory problem. Maybe some memory leak? Martin 2009/11/2 Johnson, Trevin (Contractor) trevin.john...@occ.treas.gov: Hello OS Version: Windows 2000 Tomcat version

RE: Tomcat Memory and Garbage Collection questions...

2009-11-02 Thread Joseph Morgan
...@occ.treas.gov] Sent: Monday, November 02, 2009 2:53 PM To: 'users@tomcat.apache.org' Subject: Tomcat Memory and Garbage Collection questions... Hello OS Version: Windows 2000 Tomcat version:5.5.17 Initial Memory Pool: 768 Maximum Memory Pool:1024 Java Version: Java\jdk1.5.0_14 When we restart the tomcat

Re: Tomcat Memory and Garbage Collection questions...

2009-11-02 Thread Elli Albek
A question: Do you guys use hot deployment of applications? If you do *not*, then Joseph’s tips are the first things to look at, in short it is the application code keeping too many references. If you do hot deployment, then the number of possibilities goes up significantly. Now you are also

Tomcat Memory Script

2009-06-16 Thread Matt Corban
Do you know where I can find a shell script (not a jsp) that will monitor the JVM and get me the same information as the Tomcat Manager does (free, max, total)? I am monitorijng a cluster of tomcats and need to keep track of the free memory over time. I have been looking for one and so far have

Re: Tomcat Memory Script

2009-06-16 Thread André Warnier
Matt Corban wrote: Do you know where I can find a shell script (not a jsp) that will monitor the JVM and get me the same information as the Tomcat Manager does (free, max, total)? I am monitorijng a cluster of tomcats and need to keep track of the free memory over time. I have been looking for

Re: Tomcat Memory Script

2009-06-16 Thread Pid
André Warnier wrote: Matt Corban wrote: Do you know where I can find a shell script (not a jsp) that will monitor the JVM and get me the same information as the Tomcat Manager does (free, max, total)? I am monitorijng a cluster of tomcats and need to keep track of the free memory over time.

Re: Tomcat Memory Script

2009-06-16 Thread Matt Corban
I am not too familiar with jmap, jstack or jinfo. I could write a script that uses jmap to get the memory of the tomcat running and then store the necessary information in a log file. On Tue, Jun 16, 2009 at 12:39 PM, Pid p...@pidster.com wrote: André Warnier wrote: Matt Corban wrote: Do

Re: Tomcat Memory Script

2009-06-16 Thread Kees Jan Koster
Dear Matt, I am not too familiar with jmap, jstack or jinfo. I could write a script that uses jmap to get the memory of the tomcat running and then store the necessary information in a log file. That is an option, or you could use a tool that does that for you, plus make nice graphs.

Re: Tomcat Memory Leaks

2009-03-06 Thread Mark Thomas
Diego Rodríguez Martín wrote: Hi, I'm not an expert, but I think Tomcat 4.X is not compatible with JDK 1.5. That is not correct. Tomcat 4.x works quite happily with 1.4, 1.5 and 1.6. I have also had a number of recent versions running on 1.3 and 1.2 JVMs although without extensive

RE: tomcat memory leak problem

2009-02-06 Thread Hubert de Heer
. For more insight read: http://www.informit.com/guides/content.aspx?g=javaseqNum=253 http://java.sun.com/docs/hotspot/gc5.0/gc_tuning_5.html Hubert -Original Message- From: Piller Sébastien [mailto:pi...@hmcrecord.ch] Sent: 05 February 2009 17:25 To: Tomcat Users List Subject: Re: tomcat memory

tomcat memory leak problem

2009-02-05 Thread fcxjp
this system, tomcat' memory dropped to 500M+. How and why was the memory collected? By the way, we have cheched the code for any optimization, including StringBuffer, Vector, datasource connections, etc., which only resulted with a faster response speed for users, not any influence for the memory

Re: tomcat memory leak problem

2009-02-05 Thread Piller Sébastien
by anyone during this time. But the memory of tomcat had reached to 1.5G, which is the maximun of tomcat's memory. Later, after some users began to use this system, tomcat' memory dropped to 500M+. How and why was the memory collected? By the way, we have cheched the code for any optimization

RE: tomcat memory leak problem

2009-02-05 Thread Jorge Medina
, February 05, 2009 11:14 AM To: users@tomcat.apache.org Subject: tomcat memory leak problem My system environment is: Windows 2000 Server. JDK 1.5, tomcat 5.5, Oracle 9 The problems are: 1. After tomcat was started, the memory of the tomcat was normal, about 200M-300M. But after a certain time

RE: Understanding Tomcat Memory Utilization

2008-12-15 Thread Caldarale, Charles R
From: Robinson, Eric [mailto:eric.robin...@psmnv.com] Subject: Understanding Tomcat Memory Utilization Can someone help me understand why tomcat is configured to use 64MB, but claims to peak at 48MB Because that's all it needs to initialize. Unless you set -Xms == -Xmx, the JVM starts out

Understanding Tomcat Memory Utilization

2008-12-15 Thread Robinson, Eric
We have 60 instances of tomcat 5.X running on an RHEL4 server. Each instance runs a copy of basically the same application, each for a different customer. According to their respective status pages, the tomcats are all configured to use a maximum of 64MB memory, but most peak at around 48MB.

RE: Understanding Tomcat Memory Utilization

2008-12-15 Thread Robinson, Eric
Welcome to paging. I understand the difference between virtual image size and resident size. The part I don't understand is the relationship between the tomcat memory configuration as reported by the tomcat status page and the actual usage as reported by top. Tomcat says it is configured

RE: Understanding Tomcat Memory Utilization

2008-12-15 Thread Robinson, Eric
words, I don't see a relationship between the tomcat memory configuration setting and what actually gets used. -- Eric Robinson Disclaimer - December 15, 2008 This email and any files transmitted with it are confidential and intended solely for Tomcat Users List. If you are not the named addressee

RE: Understanding Tomcat Memory Utilization

2008-12-15 Thread Caldarale, Charles R
From: Robinson, Eric [mailto:eric.robin...@psmnv.com] Subject: RE: Understanding Tomcat Memory Utilization Tomcat says it is configured to use a maximum of 64MB That's 64 MB for the *Java heap*, not the entire process. The process space includes lots of other things besides the Java heap

RE: Understanding Tomcat Memory Utilization

2008-12-15 Thread Robinson, Eric
That's 64 MB for the *Java heap*, not the entire process. Thanks, that's what I didn't know. -- Eric Disclaimer - December 15, 2008 This email and any files transmitted with it are confidential and intended solely for Tomcat Users List. If you are not the named addressee you should not

Re: Question regarding Tomcat memory

2008-11-18 Thread Rainer Frey (Inxmail GmbH)
On Friday 14 November 2008 21:01:40 Caldarale, Charles R wrote: $CATALINA_OPTS -Xms8192M -Xmx8192M -Xss1024K Setting -Xss is usually not useful, unless your application is very, very strange. AFAIK the default stack size of the JVM on 64bit linux is 2M. This is very large, and most apps

RE: Question regarding Tomcat memory

2008-11-18 Thread Caldarale, Charles R
From: Rainer Frey (Inxmail GmbH) [mailto:[EMAIL PROTECTED] Subject: Re: Question regarding Tomcat memory AFAIK the default stack size of the JVM on 64bit linux is 2M. No, it's 1M for Linux (and Solaris) on AMD64 (at least on JDK 6u7) - the same as the OP was trying to set. For Linux IA64

Re: Question regarding Tomcat memory

2008-11-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, Caldarale, Charles R wrote: I don't know how log4j determines that value AFAIK, Log4j doesn't have any memory-specific memory info logging. The user has to do it themselves. I suspect they are simply using System.getRuntime() and then

Question regarding Tomcat memory

2008-11-14 Thread Harish S Rathod
Hi, To make our tomcat heap size memory to 8 GB we have set the below=20 settings echo $CATALINA_OPTS -Xms8192M -Xmx8192M -Xss1024K=20 -XX:PermSize=3D64m -XX:MaxPermSize=3D256m -Dfile.encoding=3DCp1252 Please=20 suggest is this ok ? as we are observing the maximum heap size memory for=20 tomcat

RE: Question regarding Tomcat memory

2008-11-14 Thread Caldarale, Charles R
From: Harish S Rathod [mailto:[EMAIL PROTECTED] Subject: Question regarding Tomcat memory First, use a different mailer or send only in plain text; whatever you're using is encoding even standard ASCII characters like =. To make our tomcat heap size memory to 8 GB we have set the below=20

Re: Question regarding Tomcat memory

2008-11-14 Thread Harish S Rathod
logs. On Sat, Nov 15, 2008 at 4:01 AM, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Harish S Rathod [mailto:[EMAIL PROTECTED] Subject: Question regarding Tomcat memory First, use a different mailer or send only in plain text; whatever you're using is encoding even standard

RE: Question regarding Tomcat memory

2008-11-14 Thread Caldarale, Charles R
From: Harish S Rathod [mailto:[EMAIL PROTECTED] Subject: Re: Question regarding Tomcat memory -Xms8192M -Xmx8192M -Xss1024K -XX:PermSize=64m -XX:MaxPermSize=256m -Dfile.encoding=Cp1252 That's what I surmised. Please suggest is this ok ? As long as you have the RAM to hold that much heap

Tomcat memory increasing without any activity on our webapp

2008-10-30 Thread Pierre Goupil
Hello all, We have a Spring webapp running in a Tomcat 5.5 (5.5.7 or 5.5.25 depending upon the machines). When we start it up without any surfing on it or without any activity of any kind, the JVM memory first goes to some level, then stays at this level for 5-10 minutes and after some times it

RE: Tomcat memory increasing without any activity on our webapp

2008-10-30 Thread Caldarale, Charles R
From: Pierre Goupil [mailto:[EMAIL PROTECTED] Subject: Tomcat memory increasing without any activity on our webapp When we start it up without any surfing on it or without any activity of any kind, the JVM memory first goes to some level, then stays at this level for 5-10 minutes and after

Any application which is use to detect tomcat memory leak problem

2008-06-22 Thread Nix Hanwei
Hi Gurus, Is there any application which I may use to detect tomcat memory leak problem? Thank you in advance for any value input. Thanks Regards. Get your new Email address! Grab the Email name you#39;ve always wanted before someone else does! http://mail.promotions.yahoo.com

Re: Any application which is use to detect tomcat memory leak problem

2008-06-22 Thread Thomas Haines
On 23/06/2008, at 12:17 PM, Nix Hanwei wrote: Hi Gurus, Is there any application which I may use to detect tomcat memory leak problem? Thank you in advance for any value input. Thanks Regards. - To start a new topic, e

Re: Any application which is use to detect tomcat memory leak problem

2008-06-22 Thread Sameer Acharya
/08, Nix Hanwei [EMAIL PROTECTED] wrote: From: Nix Hanwei [EMAIL PROTECTED] Subject: Any application which is use to detect tomcat memory leak problem To: Tomcat Users List users@tomcat.apache.org Date: Monday, June 23, 2008, 9:47 AM Hi Gurus, Is there any application which I may use

How to increase tomcat memory

2008-05-19 Thread Tomás Tormo
Hi here it comes my question again... :D How to increase tomcat memory? I'm getting GC overhead limit exceeded. I tried putting export JAVA_OPTS=-Xms256m -Xmx512m in setclasspath.sh file as well as putting CATALINA_OPTS=-server -Xms256m -Xmx512m in /etc/init.d/tomcat5.5 script file

Re: How to increase tomcat memory

2008-05-19 Thread Alan Chaney
tomcat memory? I'm getting GC overhead limit exceeded. I tried putting export JAVA_OPTS=-Xms256m -Xmx512m in setclasspath.sh file as well as putting CATALINA_OPTS=-server -Xms256m -Xmx512m in /etc/init.d/tomcat5.5 script file, but when I go to tomcat administration webpage and list the server

Re: *SPAM* Re: How to increase tomcat memory

2008-05-19 Thread Tomás Tormo
the options. I would look for two things were I debugging this: 1. The option isn't being included in the tomcat java invocation 2. The option is corrupted (misspelt, incorrect spacing etc). HTH Alan Chaney Tomás Tormo wrote: Hi here it comes my question again... :D How to increase tomcat

Re: *SPAM* Re: How to increase tomcat memory

2008-05-19 Thread Tomás Tormo
. The option is corrupted (misspelt, incorrect spacing etc). HTH Alan Chaney Tomás Tormo wrote: Hi here it comes my question again... :D How to increase tomcat memory? I'm getting GC overhead limit exceeded. I tried putting export JAVA_OPTS=-Xms256m -Xmx512m in setclasspath.sh file as well

Re: *SPAM* Re: How to increase tomcat memory

2008-05-19 Thread David Smith
isn't being included in the tomcat java invocation 2. The option is corrupted (misspelt, incorrect spacing etc). HTH Alan Chaney Tomás Tormo wrote: Hi here it comes my question again... :D How to increase tomcat memory? I'm getting GC overhead limit exceeded. I tried putting export

<    1   2   3   >