Re: [OT] web app big memory usage?

2021-06-04 Thread Christopher Schultz
there. Also, I noticed that the SB internal memory usage is about 2x the size of the actual contents. Is that because each char is stored as 2 bytes for Unicode? (Not the char array to string conversion, which is different.) You'd have to look more closely at the circumstances. I was abou

RE: [OT] web app big memory usage?

2021-06-03 Thread Berneburg, Cris J. - US
byte array and 264MB for the cb> returned String, about 790MB total for that piece of the pie. cb> Contents were simply the JSON query results returned to the client. cb> No mystery there. Also, I noticed that the SB internal memory usage is about 2x the size of the actual contents. Is th

Re: [OT] web app big memory usage?

2021-06-01 Thread Christopher Schultz
Cris, On 6/1/21 09:17, Berneburg, Cris J. - US wrote: Hi Chris [lots of snippage] cb> One of our web apps is using a "lot" of memory, specifically a big cb> user query. We'd like to find out why. cb> 1. Is there a way to analyze uncollected garbage? cb> * AWS EC2 instance. cb> * There are oth

RE: [OT] web app big memory usage?

2021-06-01 Thread Berneburg, Cris J. - US
Hi Chris [lots of snippage] cb> One of our web apps is using a "lot" of memory, specifically a big cb> user query. We'd like to find out why. cb> 1. Is there a way to analyze uncollected garbage? cb> * AWS EC2 instance. cb> * There are other TC instances on the same server. cb> * Each TC instanc

RE: [OT] web app big memory usage?

2021-06-01 Thread Berneburg, Cris J. - US
Hi Raghunath cb> One of our web apps is using a "lot" of memory, cb> specifically a big user query. We'd like to find out why. cb> 1. Is there a way to analyze uncollected garbage? rm> You could try using the Oracle utility - "jstat" - for analyzing rm> the GC in an active Java process (PID) rm

RE: [OT] web app big memory usage?

2021-05-28 Thread Berneburg, Cris J. - US
Hi John :-) cb> 1. Is there a way to analyze uncollected garbage? cb> 2. Is that a reasonable way to identify potential memory usage problems? jeg> MAT has an option to "Keep unreachable options." It's under preferences. Thanks for the suggestion! I did not know abo

RE: [OT] web app big memory usage?

2021-05-28 Thread Berneburg, Cris J. - US
Hi Amit :-) cb> 1. Is there a way to analyze uncollected garbage? cb> 2. Is that a reasonable way to identify potential memory usage problems? ap> Have you enabled the " Enable 'keep unreachable objects'" setting of MAT? ap> https://blog.gceasy.io/2015/12/11/ecl

RE: [OT] web app big memory usage?

2021-05-27 Thread Mysore, Raghunath
ools/unix/jstat.html -Original Message- From: Berneburg, Cris J. - US Sent: Thursday, May 27, 2021 1:24 PM To: users@tomcat.apache.org Subject: [OT] web app big memory usage? Hi Folks :-) One of our web apps is using a "lot" of memory, specifically a big user query. We'd li

Re: [OT] web app big memory usage?

2021-05-27 Thread Christopher Schultz
, to determine wastefulness. 1. Is there a way to analyze uncollected garbage? 2. Is that a reasonable way to identify potential memory usage problems? Some technical specifics: * TC 8.5.63 * Java 1.8.0_291 * AWS EC2 instance. * Windows Server 2016. * Instance started as Windows Service. * There

RE: [OT] web app big memory usage?

2021-05-27 Thread John.E.Gregg
Cris, > -Original Message- > From: Berneburg, Cris J. - US > Sent: Thursday, May 27, 2021 2:24 PM > To: users@tomcat.apache.org > Subject: [OT] web app big memory usage? > > Hi Folks :-) > > One of our web apps is using a "lot" of memory, specific

RE: [OT] web app big memory usage?

2021-05-27 Thread Amit Pande
ject: [EXTERNAL] [OT] web app big memory usage? Hi Folks :-) One of our web apps is using a "lot" of memory, specifically a big user query. We'd like to find out why. The Tomcat Web Application Manager Find leaks button said that "No web applications appear to have tr

[OT] web app big memory usage?

2021-05-27 Thread Berneburg, Cris J. - US
analyze uncollected garbage? 2. Is that a reasonable way to identify potential memory usage problems? Some technical specifics: * TC 8.5.63 * Java 1.8.0_291 * AWS EC2 instance. * Windows Server 2016. * Instance started as Windows Service. * There are other TC instances on the same server. * Each TC

Re: Memory Usage

2019-04-24 Thread Mark Thomas
On 24/04/2019 21:46, Simon Funnell wrote: > Hi, > > I am looking at running a small ecommerce site with about 40-80 users at a > time on a virtual private server with 4 cores and 1GB of memory, I am > planning on running apache james, mysql and tomcat on this instance. My > question is will 256MB

Memory Usage

2019-04-24 Thread Simon Funnell
Hi, I am looking at running a small ecommerce site with about 40-80 users at a time on a virtual private server with 4 cores and 1GB of memory, I am planning on running apache james, mysql and tomcat on this instance. My question is will 256MB maximum heap memory with say 50 threads be enough to h

Re: Memory usage increased form 500MB to 4 GB after changing the tomcat process from 32 bit to 64 bit execution

2017-04-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Nagendra, On 4/14/17 4:36 AM, nagendra.r...@wipro.com wrote: > Problem statement: Memory usage increased form 500MB to 4 GB after changing the tomcat process from 32 bit to 64 bit execution Any other changes? For example, changes to the h

Re: Memory usage increased form 500MB to 4 GB after changing the tomcat process from 32 bit to 64 bit execution

2017-04-14 Thread tomcat
On 14.04.2017 10:36, nagendra.r...@wipro.com wrote: Hi All, Problem statement: Memory usage increased form 500MB to 4 GB after changing the tomcat process from 32 bit to 64 bit execution As tomcat memory has increased it is impacting available memory for other applications on server o Is

Memory usage increased form 500MB to 4 GB after changing the tomcat process from 32 bit to 64 bit execution

2017-04-14 Thread nagendra.r...@wipro.com
Hi All, Problem statement: Memory usage increased form 500MB to 4 GB after changing the tomcat process from 32 bit to 64 bit execution As tomcat memory has increased it is impacting available memory for other applications on server o Is this a bug ? o Earlier with 32bit it was running

Re: Monitoring memory usage of JVM

2011-05-30 Thread Igor Cicimov
Hi all, I don't know if this is useful but apart from utilities/commands already mentioned, I use the following to monitor the GC of the particular generations in JVM: /usr/jdk/jdk1.5.0_12/bin/jstat -gc $TOMCAT_PID 5000 10 Of course you need to substitute the appropriate JDK installed on your sy

Re: Monitoring memory usage of JVM

2011-05-27 Thread Mikolaj Rydzewski
On Fri, 27 May 2011 09:50:06 +0200, André Warnier wrote: Searching the WWW, I am finding (too) many interpretations of the output of "-verbose:gc" (or "-verbosegc", none of them starting from exactly the format above. I can kind of guess what the above means, but where can I find an "authoritati

Re: Monitoring memory usage of JVM

2011-05-27 Thread André Warnier
Pid wrote: On 26/05/2011 21:50, André Warnier wrote: André Warnier wrote: Pid wrote: On 26/05/2011 20:16, Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Monitoring memory usage of JVM I am thinking of a couple of command-line options for the JVM, to dump

Re: Monitoring memory usage of JVM

2011-05-26 Thread Pid
On 26/05/2011 21:50, André Warnier wrote: > André Warnier wrote: >> Pid wrote: >>> On 26/05/2011 20:16, Caldarale, Charles R wrote: >>>>> From: André Warnier [mailto:a...@ice-sa.com] Subject: Monitoring >>>>> memory usage of JVM >>>>>

Re: Monitoring memory usage of JVM

2011-05-26 Thread André Warnier
André Warnier wrote: Pid wrote: On 26/05/2011 20:16, Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Monitoring memory usage of JVM I am thinking of a couple of command-line options for the JVM, to dump for example some information each time a GC happens

Re: Monitoring memory usage of JVM

2011-05-26 Thread André Warnier
Pid wrote: On 26/05/2011 20:16, Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Monitoring memory usage of JVM I am thinking of a couple of command-line options for the JVM, to dump for example some information each time a GC happens, Try -verbose:gc and

Re: Monitoring memory usage of JVM

2011-05-26 Thread Pid
On 26/05/2011 20:16, Caldarale, Charles R wrote: >> From: André Warnier [mailto:a...@ice-sa.com] >> Subject: Monitoring memory usage of JVM > >> I am thinking of a couple of command-line options for the JVM, >> to dump for example some information each time a GC happen

RE: Monitoring memory usage of JVM

2011-05-26 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Monitoring memory usage of JVM > I am thinking of a couple of command-line options for the JVM, > to dump for example some information each time a GC happens, Try -verbose:gc and -Xloggc: - Chuck THIS COMMUNICATION

Monitoring memory usage of JVM

2011-05-26 Thread André Warnier
file. We would like to monitor the memory usage of that JVM, but in a way that in itself does not impact the performance too much. Basically what we want, is to keep some information in a logfile, which in case of serious problem with memory would allow us to get a clue as to what is happening via

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 wr

Re: tomcat memory usage

2010-02-02 Thread Carl
/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

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: users-h...@tomcat.apac

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

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 di

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 > 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

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, dynamical

Re: tomcat memory usage

2010-01-29 Thread Pid
On 29/01/2010 14:11, Hüsnü Þentürk wrote: Chuck and Chris, Thanks for yor explanations, Let me, try to summarize what I understand adding some extra info and ask my questions. Is following classifications true for memory usage of Java ? If not please correct it. A. Java memory usage when

Re: tomcat memory usage

2010-01-29 Thread Hüsnü Þentürk
Chuck and Chris, Thanks for yor explanations, Let me, try to summarize what I understand  adding some extra info and ask my questions. Is following classifications true for memory usage of Java ? If not please correct it. A. Java memory usage when application is started as a windows service

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.lan

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" memb

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 t

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: 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

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

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 Perm

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 st

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 C

Re: tomcat memory usage

2010-01-27 Thread Christopher Schultz
-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

Re: tomcat memory usage

2010-01-26 Thread Hüsnü Þentürk
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

Re: tomcat memory usage

2010-01-26 Thread Peter Crowther
loaded DLLs. You have no direct way of controlling the size of any of these. If you want to reduce Java's memory usage, you can reduce its heap space after monitoring what the process' overheads are. - Peter

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 m

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. Informatio

Re: pump up memory usage

2009-08-21 Thread Ronald Klop
Very well, I just tried to inspire someone on how to 'pump up memory usage'. It wasn't about the details. In fact: one line of code doesn't compile without a class and method declaration. So you could have mailed me a java-for-beginners manual. :-) Cheers, Ronald. Op w

Re: pump up memory usage

2009-08-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ronald, On 8/19/2009 5:32 AM, Ronald Klop wrote: > byte[] b = new byte[100]; Java limits arrays to 2147483648 elements, so the above shouldn't even compile (and it doesn't for me). Section 2.15.4 of the JLS says: " A component of an array i

Re: pump up memory usage

2009-08-19 Thread Ronald Klop
byte[] b = new byte[100]; Op woensdag, 19 augustus 2009 10:51 schreef "Thomas G. Lau" : Dear Tomcat Users, how could I pump up memory usage on tomcat? we want to test if tomcat having any problem when changed environment from 32 bit 2GB limitation to 64bit large

pump up memory usage

2009-08-19 Thread Thomas G. Lau
Dear Tomcat Users, how could I pump up memory usage on tomcat? we want to test if tomcat having any problem when changed environment from 32 bit 2GB limitation to 64bit larger memory limitation mode. Thanks. - To

Re: Auto Session Creation and memory usage

2008-07-24 Thread Markus Schönhaber
Jacob Rhoden wrote: > I am working on creating some more scalable tomcat applications. I have > addedd a SessionListener and it seems that hitting a jsp page triggers a > session to be created. > > If there are 1000 users and only 10 are signed in, I dont think 1000 > sessions need to be created

Auto Session Creation and memory usage

2008-07-23 Thread Jacob Rhoden
Hi Guys, I am working on creating some more scalable tomcat applications. I have addedd a SessionListener and it seems that hitting a jsp page triggers a session to be created. If there are 1000 users and only 10 are signed in, I dont think 1000 sessions need to be created yes. How do I turn off

Re: Memory Usage Differ for same TOMCAT5.5.23

2008-07-04 Thread karthikn
Hi java on UNIX by default starts in 32 bit mode to run java in 64 bit mode , java -d64 is specified so for TOMCAT on catalina.sh HOW TO for JAVA_HOME in 64 bit ? with regards Karthik Mark Thomas wrote: karthikn wrote: Hi Please need this Information Memory Usage Differ

Re: Memory Usage Differ for same TOMCAT5.5.23

2008-07-04 Thread Mark Thomas
karthikn wrote: Hi Please need this Information Memory Usage Differ for same TOMCAT5.5.23 on 32 / 64 bit Java Version ? None. Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL

Memory Usage Differ for same TOMCAT5.5.23

2008-07-04 Thread karthikn
Hi Please need this Information Memory Usage Differ for same TOMCAT5.5.23 on 32 / 64 bit Java Version ? with regards Karthik - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL

RE: Memory usage in Tomcat 6

2008-06-17 Thread Caldarale, Charles R
> From: Billy Ng [mailto:[EMAIL PROTECTED] > Subject: Re: Memory usage in Tomcat 6 > > Changing the -Xmsm and -Xmxm in the tomcatw.exe That's tomcat6w.exe, not tomcatw.exe. > If you still have problem, there must be some huge > objects created from time to time. It ca

Re: Memory usage in Tomcat 6

2008-06-17 Thread Billy Ng
, there must be some huge objects created from time to time. You need to use tool like figure it out. Billy Ng - Original Message - From: "Tuan Quan" <[EMAIL PROTECTED]> To: Sent: Monday, June 16, 2008 9:11 AM Subject: Memory usage in Tomcat 6 Hi all, how do

RE: Memory usage in Tomcat 6

2008-06-16 Thread Caldarale, Charles R
> From: Tuan Quan [mailto:[EMAIL PROTECTED] > Subject: Memory usage in Tomcat 6 > > Hi all, how do I adjust Memory allocation Tomcat 6, running > as service in Windows? Use the tomcat6w.exe program in Tomcat's bin directory. Read the FAQ for memory usage information: ht

Memory usage in Tomcat 6

2008-06-16 Thread Tuan Quan
Hi all, how do I adjust Memory allocation Tomcat 6, running as service in Windows? I ran into "out of memory" error. thanks.

Re: Tomcat 5.0.28 memory usage - garbage collection

2008-06-13 Thread tootbatoot
gt; To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Tomcat-5.0.28-memory-usage---garbage-collection-tp17800619p17826655.h

Re: Tomcat 5.0.28 memory usage - garbage collection

2008-06-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 tootbatoot, tootbatoot wrote: | Hi Thanks. the two applications run on their own and don't share jvm so I can | use different versions - but the webapp I have deployed in tomcat server | requires it to be either on 5.0.28 or 5.5.17 (but using j2sdk1.

Re: Tomcat 5.0.28 memory usage - garbage collection

2008-06-13 Thread tootbatoot
unning in the same JVM, there > should be no reason that different JVM versions cannot be used. The > 3rd-party can use whatever they want (1.4?) while you run a newer version. > > | From your posts - I understand that the memory usage might show going > up all > | the time - and

Re: Tomcat 5.0.28 memory usage - garbage collection

2008-06-12 Thread Christopher Schultz
? If they are not running in the same JVM, there should be no reason that different JVM versions cannot be used. The 3rd-party can use whatever they want (1.4?) while you run a newer version. | From your posts - I understand that the memory usage might show going up all | the time - and it will

RE: Tomcat 5.0.28 memory usage - garbage collection

2008-06-12 Thread tootbatoot
thanks. The reason we have to stick to using this version is that it is recommended by another application that tomcat is acting as a client to. >From your posts - I understand that the memory usage might show going up all the time - and it will still be ok because it is showing the heap s

RE: Tomcat 5.0.28 memory usage - garbage collection

2008-06-12 Thread Caldarale, Charles R
> From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] > Subject: RE: Tomcat 5.0.28 memory usage - garbage collection > > I'd strongly recommend upgrading to a newer JVM. 1.6 > especially is noticeably faster than 1.4 and includes better > heap management. You should upgr

RE: Tomcat 5.0.28 memory usage - garbage collection

2008-06-12 Thread Caldarale, Charles R
> From: tootbatoot [mailto:[EMAIL PROTECTED] > Subject: RE: Tomcat 5.0.28 memory usage - garbage collection > > jdk1.4.2_12 I'd strongly recommend upgrading to a newer JVM. 1.6 especially is noticeably faster than 1.4 and includes better heap management. You should upgrade Tom

RE: Tomcat 5.0.28 memory usage - garbage collection

2008-06-12 Thread tootbatoot
ootbatoot [mailto:[EMAIL PROTECTED] >> Subject: Tomcat 5.0.28 memory usage - garbage collection >> >> When I put load on it via my webapp - I can see the memory >> allocated to the process going up (in task manager) but >> when I kill the session of the webapp (i.e. re

RE: Tomcat 5.0.28 memory usage - garbage collection

2008-06-12 Thread Caldarale, Charles R
> From: tootbatoot [mailto:[EMAIL PROTECTED] > Subject: Tomcat 5.0.28 memory usage - garbage collection > > When I put load on it via my webapp - I can see the memory > allocated to the process going up (in task manager) but > when I kill the session of the webapp (i.e. remove t

Tomcat 5.0.28 memory usage - garbage collection

2008-06-12 Thread tootbatoot
process release memory when there is no load ? thanks -- View this message in context: http://www.nabble.com/Tomcat-5.0.28-memory-usage---garbage-collection-tp17800619p17800619.html Sent from the Tomcat - User mailing list archive at Nabble.com

Re: Jconsole or JMXPROXY monitoring memory usage of the system

2008-06-11 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Liang, Liang Xiao Zhu wrote: | I would like to know if there is some way which I can monitoring of the | memory usage through of Tomcat. I mean, I have currently running a | Tomcat 6 server, and through that I want to

Re: Jconsole or JMXPROXY monitoring memory usage of the system

2008-06-11 Thread Liang Xiao Zhu
Thanks for your answer!!! Christopher Schultz escribió: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Liang, Liang Xiao Zhu wrote: | I would like to know if there is some way which I can monitoring of the | memory usage through of Tomcat. I mean, I have currently running a | Tomcat 6 server

Re: Jconsole or JMXPROXY monitoring memory usage of the system

2008-06-11 Thread Liang Xiao Zhu
Can anyone help me? Liang Xiao Zhu escribió: Hi, I would like to know if there is some way which I can monitoring of the memory usage through of Tomcat. I mean, I have currently running a Tomcat 6 server, and through that I want to know not only the memory usage of JVM also the memory usage

Re: Jconsole or JMXPROXY monitoring memory usage of the system

2008-06-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, André Warnier wrote: | Is there some kind of general source of information, or registry or | repository, where one could find [...] a list of already-developed add-on modules for Tomcat? Not really. Most of the Tomcat-specific stuff actually

Re: Jconsole or JMXPROXY monitoring memory usage of the system

2008-06-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Liang, Liang Xiao Zhu wrote: | I would like to know if there is some way which I can monitoring of the | memory usage through of Tomcat. I mean, I have currently running a | Tomcat 6 server, and through that I want to know not only the memory

Re: Jconsole or JMXPROXY monitoring memory usage of the system

2008-06-11 Thread André Warnier
Liang Xiao Zhu wrote: Hi, I would like to know if there is some way which I can monitoring of the memory usage through of Tomcat. I mean, I have currently running a Tomcat 6 server, and through that I want to know not only the memory usage of JVM also the memory usage of the system. Thanks in

Jconsole or JMXPROXY monitoring memory usage of the system

2008-06-11 Thread Liang Xiao Zhu
Hi, I would like to know if there is some way which I can monitoring of the memory usage through of Tomcat. I mean, I have currently running a Tomcat 6 server, and through that I want to know not only the memory usage of JVM also the memory usage of the system. Thanks in advance

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 &quo

Setting Tomcat memory usage

2008-04-25 Thread Chris Richmond
y tomcat webservice. >From reading the Tomcat Docs/ FAQ, and Googling I think that I am setting what I need to set(Catalina.bat), but it seems to have no effect. What resource am I not taking advantage of with this information, or what am I missing to set the max memory usage in the JVM whe

RE: Adjust max memory usage in Tomcat

2008-04-18 Thread Caldarale, Charles R
> From: Alexander Diedler [mailto:[EMAIL PROTECTED] > Subject: Adjust max memory usage in Tomcat > > How Can I adjust the maximum memory usage for Tomcat process? 1) Learn how to use Java. 2) Read the Tomcat FAQ. http://wiki.apache.org/tomcat/FAQ/Memory 3) Search the ar

Adjust max memory usage in Tomcat

2008-04-18 Thread Alexander Diedler
Hello, How Can I adjust the maximum memory usage for Tomcat process? Greetings Alexander Diedler

RE: memory usage of specific webapp with jmx

2008-04-09 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: memory usage of specific webapp with jmx > > I hope that I can also see the size of the web application > without writing Java code. Nope, and probably not even by writing Java code. > I think so because web appli

memory usage of specific webapp with jmx

2008-04-09 Thread sed . nivo
Hi, Can I see the memory usage of the web application deployed in Tomcat with JMX. By now I can connect to Tomcat with jconsole and see the summary memory size. I hope that I can also see the size of the web application without writing Java code. I think so because web application classes are

RE: memory usage increases on application stop

2008-01-11 Thread Caldarale, Charles R
> From: David Delbecq [mailto:[EMAIL PROTECTED] > Subject: Re: memory usage increases on application stop > > Note that the PermSize is taken from the heap, > so it should be lower than max heap size. Not true in a HotSpot JVM; the heap and PermGen settings are independent. Th

Re: memory usage increases on application stop

2008-01-11 Thread David Delbecq
679M (virtual memory) So stopping the application increases the virtual memory usage from 367 to 679 m and stays there! The increase is probably due to specific code your application executes when it is stopped. It seems to do memory intesive things there :) You have to be aware a JVM memory nev

RE: memory usage

2008-01-11 Thread Caldarale, Charles R
> From: Jordi Prats [mailto:[EMAIL PROTECTED] > Subject: memory usage > > There's any way to identify witch application and witch class > is getting to many memory? Read the FAQ: http://wiki.apache.org/tomcat/FAQ/Memory > How can I get some statistics about tomcat&#x

memory usage

2008-01-11 Thread Jordi Prats
tify witch application and witch class is getting to many memory? I think that some application creates a immense array by never delete any data. How can I get some statistics about tomcat's memory usage? Many thanks! Jordi -

memory usage increases on application stop

2008-01-11 Thread Morten Matras
s the virtual memory usage from 367 to 679 m and stays there! Undeploying a stopped application doesn't change the numbers. Why does stopping (or undeploying) a webapplication cause a dramatic increase in memory usage? My guesses: - Some ressources are not freed? (database connections) - Some

RE: Memory usage problem

2007-12-19 Thread Caldarale, Charles R
> From: Christoph Sperle [mailto:[EMAIL PROTECTED] > Subject: RE: Memory usage problem > > Do you have a hint to restrict/reduce the overall process > memory tomcat uses. 1) Eliminate unnecessary items in server.xml (e.g., unused connectors). 2) Reduce the number of threads

RE: Memory usage problem

2007-12-19 Thread Christoph Sperle
strict/reduce the overall process memory tomcat uses. Thanks Christoph -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 19. Dezember 2007 15:42 To: Tomcat Users List Subject: RE: Memory usage problem > From: Christoph Sperle [mailto:[EMAIL PROTECTED

RE: Memory usage problem

2007-12-19 Thread Caldarale, Charles R
> From: Christoph Sperle [mailto:[EMAIL PROTECTED] > Subject: Memory usage problem > > As you can see, tomcat uses 138m, even though, it was start > up with 64m restriction (-Xmx64m). You're confusing heap size (-Xmx) with total process space. The total process space

Memory usage problem

2007-12-19 Thread Christoph Sperle
Hello all I run tomcat on a virtual private server with very limited resources. Therefore I want tomcat to run with very restrictive memory usage. I tried hard to get this done, but with no success. Tomcat uses as much memory as it wants to use, regardless of the specified startup settings. OS

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 wa

Re: Diagnosing Tomcat memory usage

2007-10-10 Thread Dan Armbrust
, you need to look inside the VM, with a tool like "jstat" (part of java). On 10/10/07, Andrew Hole <[EMAIL PROTECTED]> 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 know exact

Re: Diagnosing Tomcat memory usage

2007-10-10 Thread Lyallex
hey come from ? It's not free though as far as I know. It might help On 10/10/07, Andrew Hole <[EMAIL PROTECTED]> 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 know exactly > why th

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: Memory usage with multiple instances of tomcat

2007-08-08 Thread Peter Sparkes
Thank you Chuck and Chris for your help and advice. I will definitely be reading your refs Chris Regards Peter - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additiona

  1   2   >