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

RE: [OT] web app big memory usage?

2021-06-03 Thread Berneburg, Cris J. - US
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 that because each char is s

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

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

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)

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 abou

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/eclipse-m

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

Re: [OT] web app big memory usage?

2021-05-27 Thread Christopher Schultz
ine 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 are other TC i

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

RE: [OT] web app big memory usage?

2021-05-27 Thread Amit Pande
ERNAL] [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 triggered a me

[OT] web app big memory usage?

2021-05-27 Thread Berneburg, Cris J. - US
ollected 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 instance has mu

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

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

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

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

Monitoring memory usage of JVM

2011-05-26 Thread André Warnier
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 some post

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

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 happens, Try -verbose:gc

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

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 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 I am thinking of a couple of command-line options for the JVM, to dump for example

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
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-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
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 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: 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 woensdag, 19 augustus

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 thomas@ntt.com.hk: 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

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 is

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

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

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

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 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: users@tomcat.apache.org Sent: Monday, June 16, 2008 9:11 AM Subject: Memory usage in Tomcat 6 Hi all, how do I

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 -Xmsnm and -Xmxnm 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 can also be PermGen space

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: 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: http://wiki.apache.org/tomcat/FAQ

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

Re: Tomcat 5.0.28 memory usage - garbage collection

2008-06-13 Thread tootbatoot
://www.nabble.com/Tomcat-5.0.28-memory-usage---garbage-collection-tp17800619p17826655.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail

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: 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 the load) it does

RE: Tomcat 5.0.28 memory usage - garbage collection

2008-06-12 Thread tootbatoot
:[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 the load) it does not come down. Should

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 Tomcat as well

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 upgrade Tomcat as well

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 size

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

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

Setting Tomcat memory usage

2008-04-25 Thread Chris Richmond
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 when Tomcat starts up? Thank you for your

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

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: 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 archives. http://marc.info/?l

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

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

memory usage increases on application stop

2008-01-11 Thread Morten Matras
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 hibernate

Re: memory usage increases on application stop

2008-01-11 Thread David Delbecq
) 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 never decrease in terms

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's memory usage? The same way you

memory usage

2008-01-11 Thread Jordi Prats
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 - To start a new

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. The virtual space

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 includes many other things

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: Memory usage problem

2007-12-19 Thread Christoph Sperle
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] Subject: Memory

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 configured for each

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

Re: Diagnosing Tomcat memory usage

2007-10-10 Thread Lyallex
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 this happens. Some suggestion? Thanks a lot

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

Re: Memory usage with multiple instances of tomcat

2007-08-09 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

Re: Memory usage with multiple instances of tomcat

2007-08-06 Thread Peter Sparkes
From: Peter Sparkes [mailto:[EMAIL PROTECTED] Subject: Memory usage with multiple instances of tomcat 1. Does each tomcat instance use a separate 2 GB of memory, ie the 3 instance use 6 GB between them ? 2. or do they potentially share they same memory? Don't confuse virtual memory with RAM

RE: Memory usage with multiple instances of tomcat

2007-08-06 Thread Caldarale, Charles R
From: Peter Sparkes [mailto:[EMAIL PROTECTED] Subject: Re: Memory usage with multiple instances of tomcat The commands -Xms3g -Xmx3g will set the min/max heap to 3 GB, please how do I set the RAM for each instance of Tomcat5.5 to 2 GB You can't set the amount of RAM for any process

Re: Memory usage with multiple instances of tomcat

2007-08-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter, 1. Does each tomcat instance use a separate 2 GB of memory, ie the 3 instance use 6 GB between them ? Each instance gets a separate, 2GB heap space. 2. or do they potentially share they same memory? Since Java 1.5, shared archive

Memory usage with multiple instances of tomcat

2007-08-04 Thread Peter Sparkes
Hi, I followed the Tomcat with 8 GB memory thread but did not find the answer to the following question: I am setting up a Linux server with 8 GB memory which will be running 3 instances of tomcat 5,5; when I allocate memory to java, say 2GB: 1. Does each tomcat instance use a separate 2

Re: Memory usage with multiple instances of tomcat

2007-08-04 Thread Adrian Sutton
You'll need to allocate 2GB to each Tomcat instance. As long as you use the standard Tomcat startup scripts each Tomcat instance will run in a separate JVM (you'd have to be pretty deliberate about making it run any other way). Regards, Adrian Sutton http://www.symphonious.net On

Re: Memory usage with multiple instances of tomcat

2007-08-04 Thread Peter Sparkes
Thanks Adrian Regards Peter You'll need to allocate 2GB to each Tomcat instance. As long as you use the standard Tomcat startup scripts each Tomcat instance will run in a separate JVM (you'd have to be pretty deliberate about making it run any other way). Regards, Adrian Sutton

  1   2   >