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

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

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 thi

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 fo

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 PR

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
9 out of 10 are the heap size problem. Changing the -Xmsm and -Xmxm in the tomcatw.exe if you are using Windows. On the 32-bit Windows, you can only allocate 1.2 GB max. If you still have problem, check all the static vars to see any objects are growing forever. If you still have problem, t

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

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 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
En l'instant précis du 11/01/08 09:34, Morten Matras s'exprimait en ces termes: Case: I've deployed an application on a Tomcat 6.0 (current release). The application is a Hibernate / Stripes application. Almost no memory is allocated due to the deployed application. Setting: -Xmx64m -XX:Ma

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

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

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

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

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

Re: Memory usage with multiple instances of tomcat

2007-08-06 Thread Peter Sparkes
Thanks Chuck, I am using a 64-bit versions of the OS and JVM and I was confusing virtual memory with RAM. I have 8 GB of RAM and a 80 GB disc. 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 Regards Peter From

RE: Memory usage with multiple instances of tomcat

2007-08-04 Thread Caldarale, Charles R
> 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

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 http://www.

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 04/08/

Re: Memory Usage

2006-11-22 Thread Gaurav Kushwaha
s not advisable. On 11/22/06, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > From: Daniel L. Gross [mailto:[EMAIL PROTECTED] > Subject: Re: Memory Usage > > I have tried various times in the tomcat configuration > file, but nothing seems to matter. This isn't a Tomcat

RE: Memory Usage

2006-11-22 Thread Caldarale, Charles R
> From: Daniel L. Gross [mailto:[EMAIL PROTECTED] > Subject: Re: Memory Usage > > I have tried various times in the tomcat configuration > file, but nothing seems to matter. This isn't a Tomcat configuration value - it's for the specific JDBC driver that your app is us

Re: Memory Usage

2006-11-22 Thread Daniel L. Gross
In MySql the timeout is 10 seconds. I have tried various times in the tomcat configuration file, but nothing seems to matter. -- Dan Caldarale, Charles R wrote: From: Daniel L. Gross [mailto:[EMAIL PROTECTED] Subject: Re: Memory Usage The tomcat start/stop manager has a dump threads

RE: Memory Usage

2006-11-22 Thread Caldarale, Charles R
> From: Daniel L. Gross [mailto:[EMAIL PROTECTED] > Subject: Re: Memory Usage > > The tomcat start/stop manager has a dump threads option, > it doesn't seem to do anything when I click it. Start Tomcat using catalina run, and then do whatever your OS needs to send an inte

Re: Memory Usage

2006-11-22 Thread Daniel L. Gross
$ControlRunnable.run() I think we have found the problem. Every time I make a connection, it leaves one of these threads hanging. Now whats the solution? That's the $50. question. Thanks, Dan Caldarale, Charles R wrote: From: Daniel L. Gross [mailto:[EMAIL PROTECTED] Subject: Re: M

Re: Memory Usage

2006-11-22 Thread Daniel L. Gross
DATABASE_PASSWORD); System.out.println("Connection made"); //debug } Caldarale, Charles R wrote: From: Daniel L. Gross [mailto:[EMAIL PROTECTED] Subject: Re: Memory Usage What appears to be happening is that every time I execute my app, when it closes, Tomcat leaves a

RE: Memory Usage

2006-11-22 Thread Caldarale, Charles R
> From: Daniel L. Gross [mailto:[EMAIL PROTECTED] > Subject: Re: Memory Usage > > I looked at the profiler and it appears that there are many timer > threads left hanging. What do you mean by "timer threads"? What does a thread dump show about them? - Chuck THIS

Re: Memory Usage

2006-11-22 Thread Daniel L. Gross
t; + DATABASE_USERNAME + "&password=" + DATABASE_PASSWORD); System.out.println("Connection made"); //debug } Caldarale, Charles R wrote: From: Daniel L. Gross [mailto:[EMAIL PROTECTED] Subject: Re: Memor

Re: Memory Usage

2006-11-22 Thread Gaurav Kushwaha
See, tomcat doesn't create a thread per request. It uses one from the pool and after doing its job the thread returns to the pool. What might be happening in your case is that those threads are not going back to the pool after processing the request. So you will need to find out where those thread

RE: Memory Usage

2006-11-21 Thread Caldarale, Charles R
> From: Daniel L. Gross [mailto:[EMAIL PROTECTED] > Subject: Re: Memory Usage > > What appears to be happening is that every time I > execute my app, when it closes, Tomcat leaves an > inactive thread hanging. I seriously doubt that Tomcat is doing this - much more likel

RE: Memory Usage

2006-11-21 Thread Caldarale, Charles R
> From: Daniel L. Gross [mailto:[EMAIL PROTECTED] > Subject: Re: Memory Usage > > I have run the lamda probe on the software, but it > didn't show anything useful. It's not a profiler, and was never intended to be. > Where do I turn on the -verbose:gc? In the tom

RE: Memory Usage

2006-11-21 Thread Caldarale, Charles R
> From: Daniel L. Gross [mailto:[EMAIL PROTECTED] > Subject: Memory Usage > > I made a simple servlet that just opens a connection to my > MYSQL database and then closes it and does nothing else. > When I look at the windows task manager, the memory usage > of Tomcat jumps each time I run the

Re: Memory Usage

2006-11-21 Thread Gaurav Kushwaha
Is there a way to force Tomcat 5.5 to run a garbage collection? Thanks, Dan Caldarale, Charles R wrote: >>From: Daniel L. Gross [mailto:[EMAIL PROTECTED] >>Subject: Re: Memory Usage >> >>I have run the lamda probe on the software, but it >>didn't show any

Re: Memory Usage

2006-11-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dan, Daniel L. Gross wrote: > It appears to be running garbage collection, but it doesn't recover all > the memory, so as we make and break connections to the database, the > memory usage just keeps piling up. We never had this problem with the > old

Re: Memory Usage

2006-11-21 Thread Daniel L. Gross
Is there a way to force Tomcat 5.5 to run a garbage collection? Thanks, Dan Caldarale, Charles R wrote: From: Daniel L. Gross [mailto:[EMAIL PROTECTED] Subject: Re: Memory Usage I have run the lamda probe on the software, but it didn't show anything useful. It's not

Re: Memory Usage

2006-11-21 Thread Daniel L. Gross
[mailto:[EMAIL PROTECTED] Subject: Re: Memory Usage I have run the lamda probe on the software, but it didn't show anything useful. It's not a profiler, and was never intended to be. Where do I turn on the -verbose:gc? In the tomcat start-up script? It's

Re: Memory Usage

2006-11-21 Thread Daniel L. Gross
wrote: From: Daniel L. Gross [mailto:[EMAIL PROTECTED] Subject: Re: Memory Usage I have run the lamda probe on the software, but it didn't show anything useful. It's not a profiler, and was never intended to be. Where do I turn on the -verbose:gc? In the tomcat start-up scri