Re: Apache Tomcat Memory Allocation

2024-08-09 Thread Olaf Kock
On 09.08.24 09:13, Sagar Palle wrote: Hi I am not able to find the setenv.bat in this location C:\tomcat-9.0.84\bin). Simply create it. It's not there by default, so it won't be overwritten with your next update. If it's there, it's included in the startup process, and you can set environme

Re: Apache Tomcat Memory Allocation

2024-08-09 Thread Sagar Palle
Hi I am not able to find the setenv.bat in this location C:\tomcat-9.0.84\bin). Regards, Sagar Palle. From: Christopher Schultz Sent: Thursday, August 8, 2024 7:20 PM To: users@tomcat.apache.org Subject: Re: Apache Tomcat Memory Allocation CAUTION: External

Re: Apache Tomcat Memory Allocation

2024-08-08 Thread Christopher Schultz
Sagar, On 8/8/24 05:47, Mark Thomas wrote: On 08/08/2024 10:40, Sagar Palle wrote: Hi, I have installed the tomcat version *tomcat-9.0.84 *in the window system, it is consuming 29GB memory, and we configure the memory in the catalina.bat(C:\tomcat-9.0.84\bin) 24GB, it is still consuming the

Re: Apache Tomcat Memory Allocation

2024-08-08 Thread Mark Thomas
On 08/08/2024 10:40, Sagar Palle wrote: Hi, I have installed the tomcat version *tomcat-9.0.84 *in the window system, it is consuming 29GB memory, and we configure the memory in the catalina.bat(C:\tomcat-9.0.84\bin) 24GB, it is still consuming the 29GB memory. That is entirely expected. "

Apache Tomcat Memory Allocation

2024-08-08 Thread Sagar Palle
Hi, I have installed the tomcat version tomcat-9.0.84 in the window system, it is consuming 29GB memory, and we configure the memory in the catalina.bat(C:\tomcat-9.0.84\bin) 24GB, it is still consuming the 29GB memory. OS Details: [cid:a972b6db-8d96-431c-8d05-d6ffade7ad1e] Can you please sugg

Re: Tomcat memory growth while using TLS

2019-01-12 Thread John Dale
I love it when a memory leak bites the dust .. it's a great feeling to extend process life. Fixed one yesterday in a capture/encode buffer of my mp3 streamer. Kudos, Mark! :) John On 1/12/19, i...@flyingfischer.ch wrote: > Am 11.01.19 um 18:23 schrieb Mark Thomas: >> Found it. >> >> The leak

Re: Tomcat memory growth while using TLS

2019-01-12 Thread i...@flyingfischer.ch
Am 11.01.19 um 18:23 schrieb Mark Thomas: > Found it. > > The leak impacted NIO and NIO2 when used with OpenSSL. > > The bug is in Tomcat Native. I have a fix that I am currently testing. > That fix should be in the next Tomcat Native release. > > For those interested in the technical details, Tomc

Re: Tomcat memory growth while using TLS

2019-01-11 Thread Mark Thomas
On 11/01/2019 21:07, Christopher Schultz wrote: > Mark, > > On 1/11/19 13:50, Mark Thomas wrote: >> On 11/01/2019 17:31, Christopher Schultz wrote: >>> Mark, >>> >>> On 1/11/19 12:23, Mark Thomas wrote: On 10/01/2019 19:55, Mark Thomas wrote: >>> >>> > I've just tracked down one lea

Re: Tomcat memory growth while using TLS

2019-01-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 1/11/19 13:50, Mark Thomas wrote: > On 11/01/2019 17:31, Christopher Schultz wrote: >> Mark, >> >> On 1/11/19 12:23, Mark Thomas wrote: >>> On 10/01/2019 19:55, Mark Thomas wrote: >> >>> >> I've just tracked down one leak although

Re: Tomcat memory growth while using TLS

2019-01-11 Thread Mark Thomas
On 11/01/2019 17:31, Christopher Schultz wrote: > Mark, > > On 1/11/19 12:23, Mark Thomas wrote: >> On 10/01/2019 19:55, Mark Thomas wrote: > >> > >>> I've just tracked down one leak although it is a relatively small >>> one. Next steps are to fix that leak and then find the next one. >>> And t

Re: Tomcat memory growth while using TLS

2019-01-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 1/11/19 12:23, Mark Thomas wrote: > On 10/01/2019 19:55, Mark Thomas wrote: > > > >> I've just tracked down one leak although it is a relatively small >> one. Next steps are to fix that leak and then find the next one. >> And then repeat

Re: Tomcat memory growth while using TLS

2019-01-11 Thread Mark Thomas
On 10/01/2019 19:55, Mark Thomas wrote: > I've just tracked down one leak although it is a relatively small one. > Next steps are to fix that leak and then find the next one. And then repeat. Found it. The leak impacted NIO and NIO2 when used with OpenSSL. The bug is in Tomcat Native. I have

Re: Tomcat memory growth while using TLS

2019-01-10 Thread Mark Thomas
On 10/01/2019 17:31, john.e.gr...@wellsfargo.com wrote: > The first troubleshooting step should be to take a heap dump and analyze it > with a tool like Eclipse MAT. If you read the entire thread you will see that I have already done that. The Java Heap (in fact all the JVM managed pools) were

RE: Tomcat memory growth while using TLS

2019-01-10 Thread John.E.Gregg
Mason, Mark, etc... > -Original Message- > From: Mark Thomas > Sent: Thursday, January 10, 2019 10:45 AM > To: users@tomcat.apache.org > Subject: Re: Tomcat memory growth while using TLS > > On 09/01/2019 14:24, Mark Thomas wrote: > > On 09/01/20

Re: Tomcat memory growth while using TLS

2019-01-10 Thread Mark Thomas
On 09/01/2019 14:24, Mark Thomas wrote: > On 09/01/2019 10:14, Mark Thomas wrote: >> It may be you are seeing the same thing. Or you may have found a memory >> leak. The next step would be to use a profiler to see where the memory >> is being used. > > Using NIO + OpenSSL with the settings from

Re: Tomcat memory growth while using TLS

2019-01-09 Thread Mark Thomas
On 09/01/2019 10:14, Mark Thomas wrote: > On 08/01/2019 23:51, Mason Meier wrote: >> Hello, >> >> I'm running Tomcat-8.5 with TLS and I've noticed substantial memory growth >> with requests over time, to the point that if I run Tomcat in Docker and >> make constant requests to it, Docker will kill

Re: Tomcat memory growth while using TLS

2019-01-09 Thread i...@flyingfischer.ch
Am 09.01.19 um 11:14 schrieb Mark Thomas: > On 08/01/2019 23:51, Mason Meier wrote: >> Hello, >> >> I'm running Tomcat-8.5 with TLS and I've noticed substantial memory growth >> with requests over time, to the point that if I run Tomcat in Docker and >> make constant requests to it, Docker will kil

Re: Tomcat memory growth while using TLS

2019-01-09 Thread Mark Thomas
On 08/01/2019 23:51, Mason Meier wrote: > Hello, > > I'm running Tomcat-8.5 with TLS and I've noticed substantial memory growth > with requests over time, to the point that if I run Tomcat in Docker and > make constant requests to it, Docker will kill the container due to > excessive memory utiliz

Tomcat memory growth while using TLS

2019-01-08 Thread Mason Meier
Hello, I'm running Tomcat-8.5 with TLS and I've noticed substantial memory growth with requests over time, to the point that if I run Tomcat in Docker and make constant requests to it, Docker will kill the container due to excessive memory utilization. The problem occurs with standalone Tomcat as

Re: Question - Tomcat Memory

2017-11-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ramya, On 11/16/17 1:48 PM, Ramya Elineni wrote: > The "Initial memory pool" and "maximum memory pool" are the two > configurations under Tomcat. I couldn't find any detailed > explanation of how Tomcat uses these settings. Others have provided fe

Re: Question - Tomcat Memory

2017-11-16 Thread Suvendu Sekhar Mondal
On Nov 17, 2017 12:18 AM, "Ramya Elineni" wrote: The "Initial memory pool" and "maximum memory pool" are the two configurations under Tomcat. I couldn't find any detailed explanation of how Tomcat uses these settings. Those settings are equivalent to Xms and Xmx values respectively. I request

Re: Question - Tomcat Memory

2017-11-16 Thread Coty Sutherland
On Thu, Nov 16, 2017 at 1:48 PM, Ramya Elineni wrote: > The "Initial memory pool" and "maximum memory pool" are the two > configurations under Tomcat. I couldn't find any detailed explanation of how > Tomcat uses these settings. I request you to please provide me that > informaiotn so that I ca

Question - Tomcat Memory

2017-11-16 Thread Ramya Elineni
The "Initial memory pool" and "maximum memory pool" are the two configurations under Tomcat. I couldn't find any detailed explanation of how Tomcat uses these settings. I request you to please provide me that informaiotn so that I can have the appropriate values set on a production environment.

Re: Tomcat memory

2017-08-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Leon, On 8/17/17 6:57 AM, Leon Rosenberg wrote: > Fady, one thing, > > analyzing heap dumps is hard especially a 10GB dump, you will need > at least 40 Gb of memory an about 10 hours to start jhat. What is > fast is analyzing a histogram. A histogr

Re: Tomcat memory

2017-08-17 Thread tomcat
On 17.08.2017 14:21, Suvendu Sekhar Mondal wrote: According to this however : https://eclipsesource.com/blogs/2013/01/31/creating-tomcat-heap-dumps-on-windows/ jmap does not work under Windows, if Tomcat is running as a Service (seems likely in the OP's case) I don't know if that's true, have not

Re: Tomcat memory

2017-08-17 Thread Suvendu Sekhar Mondal
> According to this however : > https://eclipsesource.com/blogs/2013/01/31/creating-tomcat-heap-dumps-on-windows/ > jmap does not work under Windows, if Tomcat is running as a Service > (seems likely in the OP's case) > I don't know if that's true, have not checked it. Andre, That is not correct.

Re: Tomcat memory

2017-08-17 Thread tomcat
On 17.08.2017 12:57, Leon Rosenberg wrote: Fady, one thing, analyzing heap dumps is hard especially a 10GB dump, you will need at least 40 Gb of memory an about 10 hours to start jhat. What is fast is analyzing a histogram. A histogram is a list of all classes in your JVM and amount of memory th

Re: Tomcat memory

2017-08-17 Thread Suvendu Sekhar Mondal
Hi Fady, On Thu, Aug 17, 2017 at 12:16 PM, Fady Haikal wrote: > @Suvendu, > I took a heap dump from Java VisualVM but honestly i didnt know how i > should analyse it, please some help here Acquire the software: André has already given you some pointer. My favorite is Eclipse MAT[http://www.eclip

Re: Tomcat memory

2017-08-17 Thread tomcat
On 17.08.2017 12:57, Leon Rosenberg wrote: Fady, one thing, analyzing heap dumps is hard especially a 10GB dump, you will need at least 40 Gb of memory an about 10 hours to start jhat. Hmm. Good to know. Strange that the documentation didn't say anything about that.. :-) What is fast is an

Re: Tomcat memory

2017-08-17 Thread Leon Rosenberg
Fady, one thing, analyzing heap dumps is hard especially a 10GB dump, you will need at least 40 Gb of memory an about 10 hours to start jhat. What is fast is analyzing a histogram. A histogram is a list of all classes in your JVM and amount of memory they use. It is very easy to use: jmap -histo:

Re: Tomcat memory

2017-08-17 Thread tomcat
On 17.08.2017 11:21, Fady Haikal wrote: Team, Please i need some help her Maybe start here ? http://lmgtfy.com/?q=analyse+tomcat+heap+dump (and this looks like it might help you : http://docs.oracle.com/javase/7/docs/technotes/tools/share/jhat.html) To restate the obvious : - this list here i

Re: Tomcat memory

2017-08-17 Thread Fady Haikal
Team, Please i need some help her Regards, On Thu, Aug 17, 2017 at 9:46 AM, Fady Haikal wrote: > @Suvendu, > I took a heap dump from Java VisualVM but honestly i didnt know how i > should analyse it, please some help here > > also please find below the java configuration i used: > -XX:PermSize

Re: Tomcat memory

2017-08-16 Thread Fady Haikal
@Suvendu, I took a heap dump from Java VisualVM but honestly i didnt know how i should analyse it, please some help here also please find below the java configuration i used: -XX:PermSize=10240m -XX:MaxPermSize=10240m -XX:ReservedCodeCacheSize=512m -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+CMS

Re: Tomcat memory

2017-08-16 Thread tomcat
On 16.08.2017 15:34, Fady Haikal wrote: Dear Team, I'm facing an issue that tomcat from task manager is consuming around 60 GB of memory while from Oracle Java Mission Control is showing maximum 10 GB (Attached screenshots), and from time to time the server hang due to insufficent memory. can y

Re: Tomcat memory

2017-08-16 Thread Suvendu Sekhar Mondal
Hi Fady, On Aug 16, 2017 7:04 PM, "Fady Haikal" wrote: Dear Team, I'm facing an issue that tomcat from task manager is consuming around 60 GB of memory while from Oracle Java Mission Control is showing maximum 10 GB (Attached screenshots), and from time to time the server hang due to insufficent

Tomcat memory

2017-08-16 Thread Fady Haikal
Dear Team, I'm facing an issue that tomcat from task manager is consuming around 60 GB of memory while from Oracle Java Mission Control is showing maximum 10 GB (Attached screenshots), and from time to time the server hang due to insufficent memory. can you please advise why the above is showing li

Re: Tomcat memory

2016-02-23 Thread tomcat
tomcat) [mailto:a...@ice-sa.com] Sent: Monday, February 22, 2016 8:37 AM To: users@tomcat.apache.org Subject: Re: Tomcat memory On 22.02.2016 13:02, Gokul.Baskaran wrote: The answer I expected is the JVM grows as much as to the available system memory of there are m min and max set. Gokul,

RE: Tomcat memory

2016-02-22 Thread Gokul . Baskaran
is clear and thanks for explaining. -Gokul -Original Message- From: André Warnier (tomcat) [mailto:a...@ice-sa.com] Sent: Monday, February 22, 2016 8:37 AM To: users@tomcat.apache.org Subject: Re: Tomcat memory On 22.02.2016 13:02, Gokul.Baskaran wrote: > The answer I expected is the J

Re: Tomcat memory

2016-02-22 Thread tomcat
the Tomcat is running on windows and I don't have setenv.bat or sentenv.sh or even catalina.bat and catalina.conf does not have the OPT config for min and max. HTH Thank you -Gokul -Original Message- From: Olaf Kock [mailto:tom...@olafkock.de] Sent: Sunday, February 21, 2016 3:04 P

RE: Tomcat memory

2016-02-22 Thread Gokul . Baskaran
...@verizon.net] Sent: Monday, February 22, 2016 6:46 AM To: Tomcat Users List Subject: Re: Tomcat memory On 2/22/2016 7:02 AM, Gokul.Baskaran wrote: > The answer I expected is the JVM grows as much as to the available system > memory of there are m min and max set. But if you go back an

Re: Tomcat memory

2016-02-22 Thread David kerber
sh or even catalina.bat and catalina.conf does not have the OPT config for min and max. HTH Thank you -Gokul -Original Message- From: Olaf Kock [mailto:tom...@olafkock.de] Sent: Sunday, February 21, 2016 3:04 PM To: Tomcat Users List Subject: Re: Tomcat memory grep mx bin/* found only s

Re: Tomcat memory

2016-02-22 Thread Gokul . Baskaran
>> >> -Original Message- >> From: Olaf Kock [mailto:tom...@olafkock.de] >> Sent: Sunday, February 21, 2016 3:04 PM >> To: Tomcat Users List >> Subject: Re: Tomcat memory >> >> grep mx bin/* found only settings in setenv.sh in my installat

Re: Tomcat memory

2016-02-22 Thread tomcat
Kock [mailto:tom...@olafkock.de] Sent: Sunday, February 21, 2016 3:04 PM To: Tomcat Users List Subject: Re: Tomcat memory grep mx bin/* found only settings in setenv.sh in my installation - this lets me state that there are no defaults: setenv.sh is not contained in the distribution but will be

RE: Tomcat memory

2016-02-21 Thread Gokul . Baskaran
s not have the OPT config for min and max. HTH Thank you -Gokul -Original Message- From: Olaf Kock [mailto:tom...@olafkock.de] Sent: Sunday, February 21, 2016 3:04 PM To: Tomcat Users List Subject: Re: Tomcat memory grep mx bin/* found only settings in setenv.sh in my installation -

Re: Tomcat memory

2016-02-21 Thread Christopher Schultz
x27;s defaults, or you have specified them yourself. -chris > -Original Message- From: Olaf Kock > [mailto:tom...@olafkock.de] Sent: Sunday, February 21, 2016 3:14 AM > To: Tomcat Users List Subject: Re: Tomcat > memory > > This is rather a Java than a tomcat question: >

Re: Tomcat memory

2016-02-21 Thread Olaf Kock
ig, I would curious to know if the tomcat ui or the > catalina does not have a Xms and -Xmx, would it default to 400MB? I read this > in another forum. > > -Gokul > > > -Original Message- > From: Olaf Kock [mailto:tom...@olafkock.de] > Sent: Sunday, February 2

RE: Tomcat memory

2016-02-21 Thread Gokul . Baskaran
does not have a Xms and -Xmx, would it default to 400MB? I read this in another forum. -Gokul -Original Message- From: Olaf Kock [mailto:tom...@olafkock.de] Sent: Sunday, February 21, 2016 3:14 AM To: Tomcat Users List Subject: Re: Tomcat memory This is rather a Java than a tomcat

Re: Tomcat memory

2016-02-21 Thread Olaf Kock
This is rather a Java than a tomcat question: The JVM allocates memory based on whatever default your current JVM version decides (you don't mention what version of Java you're on) >From a text on http://docs.oracle.com/javase/7/docs/technotes/guides/vm/gc-ergonomics.html that's linked from my Ja

Tomcat memory

2016-02-20 Thread Gokul . Baskaran
Hi, I am currently running tomcat 7 in Windows 2012. The current JVM Heap memory parameters are set to empty, does the JVM Heap memory utilize the entire memory of the OS or does it default to a specific memory number? Thank you -Gokul

Re: Tomcat Memory Leaks.

2014-09-17 Thread David kerber
On 9/17/2014 10:24 AM, Ahmed Hosni wrote: I am using tomcat 7 on production environment, I used Find Leaks option it called GC but I didn't get any information.It should show more information, I hope to get information about memory and unreachable objects which caused the leak. Are you sure

Tomcat Memory Leaks.

2014-09-17 Thread Ahmed Hosni
I am using tomcat 7 on production environment, I used Find Leaks option it called GC but I didn't get any information.It should show more information, I hope to get information about memory and unreachable objects which caused the leak. -- Best Regards *Ahmed Hosni*

Re: Tomcat memory requirements

2012-01-26 Thread Pid
On 26/01/2012 00:25, André Warnier wrote: > Pid wrote: >> >> I'm not actually a committer. Just a mailing list lurker. >> > but you are close to the gods.. Aww shucks p -- [key:62590808] signature.asc Description: OpenPGP digital signature

Re: Tomcat memory requirements

2012-01-25 Thread André Warnier
Pid wrote: I'm not actually a committer. Just a mailing list lurker. but you are close to the gods.. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Tomcat memory requirements

2012-01-25 Thread Pid
On 25/01/2012 21:48, André Warnier wrote: > Celso Magalhães Dantas Neto wrote: >> Thanks everyone for the reply! >> >> My problem is not to argue how the application is consuming RAM, but to >> show that 150MB is not too much memory. But for that I'd like to use >> trusted information such as an ar

Re: Tomcat memory requirements

2012-01-25 Thread André Warnier
Celso Magalhães Dantas Neto wrote: Thanks everyone for the reply! My problem is not to argue how the application is consuming RAM, but to show that 150MB is not too much memory. But for that I'd like to use trusted information such as an article, or official info. The client doesn't understand a

Re: Tomcat memory requirements

2012-01-25 Thread Pid
but I would prefer to argue with some trusted article or official > information. > > Ah! BTW, I'm not complaining about Java or Tomcat memory consumption! I'm > just trying to argue with the client. =D > And I'm running Tomcat 6 and Java 1.6 I work for a fairly large & w

Re: Tomcat memory requirements

2012-01-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Celso, On 1/25/12 6:45 AM, Celso Magalhães Dantas Neto wrote: > Does anyone knows where I can find any information about Tomcat > memory requirements? > > Here's the problem: I got a client who's running a Tomcat process >

Re: Tomcat memory requirements

2012-01-25 Thread Celso Magalhães Dantas Neto
nd information about memory consumption of a small 1 CRUD application (for example). And yes I could start Tomcat with no app, and create a 1 CRUD application, but I would prefer to argue with some trusted article or official information. Ah! BTW, I'm not complaining about Java or Tomcat mem

Re: Tomcat memory requirements

2012-01-25 Thread André Warnier
Pid * wrote: ... And of this, a Tomcat instance with just the ROOT application can be observed to consume from ~6Mb to ~10Mb of RAM in the object heap with a nice stable sawtooth on most systems. Not that I want to cast doubt upon your measurements, but somehow that seems hard to believe. Th

Re: Tomcat memory requirements

2012-01-25 Thread Pid *
On 25 Jan 2012, at 12:53, Mark Thomas wrote: > On 25/01/2012 11:45, Celso Magalhães Dantas Neto wrote: >> Hey everyone! >> >> Does anyone knows where I can find any information about Tomcat memory >> requirements? > > Tomcat needs less than 20MB to start up. E

Re: Tomcat memory requirements

2012-01-25 Thread Luciano Andress Martini
Really sorry about that =[ 2012/1/25, Mark Thomas : > On 25/01/2012 11:45, Celso Magalhăes Dantas Neto wrote: >> Hey everyone! >> >> Does anyone knows where I can find any information about Tomcat memory >> requirements? > > Tomcat needs less than 20MB to start

Re: Tomcat memory requirements

2012-01-25 Thread Mark Thomas
On 25/01/2012 11:45, Celso Magalhães Dantas Neto wrote: > Hey everyone! > > Does anyone knows where I can find any information about Tomcat memory > requirements? Tomcat needs less than 20MB to start up. Everything after that depends on the application and the load level. > Her

Re: Tomcat memory requirements

2012-01-25 Thread André Warnier
Celso Magalhães Dantas Neto wrote: Hey everyone! Does anyone knows where I can find any information about Tomcat memory requirements? Here's the problem: I got a client who's running a Tomcat process in his machine and it is taking around 150MB of RAM and he is complaining about

Re: Tomcat memory requirements

2012-01-25 Thread chris derham
d this. If you have gone into an environment where hte server is using 2gb of memory, then it was explicitly configured to do so. It is not true to say that "java just kept on consuming memory infinitely" > 2012/1/25, Celso Magalhães Dantas Neto : > > Hey everyone! > > > &

Re: Tomcat memory requirements

2012-01-25 Thread Mark Thomas
elso Magalhães Dantas Neto : >> Hey everyone! >> >> Does anyone knows where I can find any information about Tomcat memory >> requirements? >> >> Here's the problem: I got a client who's running a Tomcat process in his >> machine and it is taki

Re: Tomcat memory requirements

2012-01-25 Thread Konstantin Kolinko
2012/1/25 Celso Magalhães Dantas Neto : > Hey everyone! > > Does anyone knows where I can find any information about Tomcat memory > requirements? > > Here's the problem: I got a client who's running a Tomcat process in his > machine and it is taking around 150MB of

Re: Tomcat memory requirements

2012-01-25 Thread Luciano Andress Martini
to : > Hey everyone! > > Does anyone knows where I can find any information about Tomcat memory > requirements? > > Here's the problem: I got a client who's running a Tomcat process in his > machine and it is taking around 150MB of RAM and he is complaining about > i

Tomcat memory requirements

2012-01-25 Thread Celso Magalhães Dantas Neto
Hey everyone! Does anyone knows where I can find any information about Tomcat memory requirements? Here's the problem: I got a client who's running a Tomcat process in his machine and it is taking around 150MB of RAM and he is complaining about it. It's a webapp and for me i

RE: Tomcat memory allocation

2011-12-12 Thread Jeffrey Janner
> -Original Message- > From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] > Sent: Friday, December 09, 2011 10:35 AM > To: Tomcat Users List > Subject: RE: Tomcat memory allocation > > > From: Martin O'Shea [mailto:app...@dsl.pipex.com] &

Re: Tomcat memory allocation

2011-12-12 Thread Mark H. Wood
On Fri, Dec 09, 2011 at 02:52:23PM -, Martin O'Shea wrote: > Thanks for this Chuck. I realise now what is happening. I thought the > PermGen space was used in the heap when now I see it as just storing class > definitions. So I could reduce it below 128Mb if I choose. Is there a > default value

Re: Tomcat memory allocation

2011-12-09 Thread Pid
On 09/12/2011 16:37, André Warnier wrote: > David kerber wrote: >> On 12/9/2011 10:49 AM, Caldarale, Charles R wrote: >>>> From: Martin O'Shea [mailto:app...@dsl.pipex.com] >>>> Subject: RE: Tomcat memory allocation >>> >>>> I should add

Re: Tomcat memory allocation

2011-12-09 Thread André Warnier
David kerber wrote: On 12/9/2011 10:49 AM, Caldarale, Charles R wrote: From: Martin O'Shea [mailto:app...@dsl.pipex.com] Subject: RE: Tomcat memory allocation I should add that Tomcat is running as a Windows service, it isn't started manually. In that case, nothing that

RE: Tomcat memory allocation

2011-12-09 Thread Caldarale, Charles R
> From: Martin O'Shea [mailto:app...@dsl.pipex.com] > Subject: RE: Tomcat memory allocation > I believe I should be looking in the Windows Registry DO NOT edit the Windows registry - you will break something. Use the tomcat?w.exe utility; that's what it's for. - Ch

RE: Tomcat memory allocation

2011-12-09 Thread Martin O'Shea
...@verizon.net] Sent: 09 Dec 2011 16 02 To: users@tomcat.apache.org Subject: Re: Tomcat memory allocation On 12/9/2011 10:49 AM, Caldarale, Charles R wrote: >> From: Martin O'Shea [mailto:app...@dsl.pipex.com] >> Subject: RE: Tomcat memory allocation > >> I

Re: Tomcat memory allocation

2011-12-09 Thread David kerber
On 12/9/2011 10:49 AM, Caldarale, Charles R wrote: From: Martin O'Shea [mailto:app...@dsl.pipex.com] Subject: RE: Tomcat memory allocation I should add that Tomcat is running as a Windows service, it isn't started manually. In that case, nothing that we've been discussing

Re: Tomcat memory allocation

2011-12-09 Thread André Warnier
uck.caldar...@unisys.com] Sent: 09 Dec 2011 15 29 To: Tomcat Users List Subject: RE: Tomcat memory allocation From: Martin O'Shea [mailto:app...@dsl.pipex.com] Subject: RE: Tomcat memory allocation But if I change the settings in catalina.bat to: Don't make changes to catalina.bat; cr

RE: Tomcat memory allocation

2011-12-09 Thread Caldarale, Charles R
> From: Martin O'Shea [mailto:app...@dsl.pipex.com] > Subject: RE: Tomcat memory allocation > I should add that Tomcat is running as a Windows service, > it isn't started manually. In that case, nothing that we've been discussing about JAVA_OPTS, CATALINA_OPTS, sta

RE: Tomcat memory allocation

2011-12-09 Thread Martin O'Shea
I should add that Tomcat is running as a Windows service, it isn't started manually. -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: 09 Dec 2011 15 29 To: Tomcat Users List Subject: RE: Tomcat memory allocation > From: Martin O'She

RE: Tomcat memory allocation

2011-12-09 Thread Caldarale, Charles R
> From: Martin O'Shea [mailto:app...@dsl.pipex.com] > Subject: RE: Tomcat memory allocation > Sorry to belabour this but if I create a setenv.bat file with settings: > set CATALINA_OPTS=%CATALINA_OPTS% -Xms128m -Xmx768m -XX:MaxPermSize=128m > where should the file go an

RE: Tomcat memory allocation

2011-12-09 Thread Martin O'Shea
...@unisys.com] Sent: 09 Dec 2011 15 29 To: Tomcat Users List Subject: RE: Tomcat memory allocation > From: Martin O'Shea [mailto:app...@dsl.pipex.com] > Subject: RE: Tomcat memory allocation > But if I change the settings in catalina.bat to: Don't make changes to catalina.bat; cre

RE: Tomcat memory allocation

2011-12-09 Thread Caldarale, Charles R
> From: Martin O'Shea [mailto:app...@dsl.pipex.com] > Subject: RE: Tomcat memory allocation > But if I change the settings in catalina.bat to: Don't make changes to catalina.bat; create a setenv.bat to hold all your local settings. > set CATALINA_OPTS=%CATALINA_O

RE: Tomcat memory allocation

2011-12-09 Thread Daniel Mikusa
onder if memory was to blame although there is nothing in the system > or server logs to say so. > > -Original Message- > From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] > Sent: 09 Dec 2011 14 46 > To: Tomcat Users List > Subject: RE: Tomcat memory

Re: Tomcat memory allocation

2011-12-09 Thread Ronald Klop (Mailing List)
Op vrijdag, 9 december 2011 16:11 schreef Pid : On 09/12/2011 14:52, Martin O'Shea wrote: > -Original Message- > From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] > Sent: 09 Dec 2011 14 46 > To: Tomcat Users List > Subject: RE: Tomcat memory

RE: Tomcat memory allocation

2011-12-09 Thread Martin O'Shea
ading? -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: 09 Dec 2011 15 03 To: Tomcat Users List Subject: RE: Tomcat memory allocation > From: Martin O'Shea [mailto:app...@dsl.pipex.com] > Subject: RE: Tomcat memory allocation > So I could reduce

Re: Tomcat memory allocation

2011-12-09 Thread Pid
On 09/12/2011 14:52, Martin O'Shea wrote: > -Original Message- > From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] > Sent: 09 Dec 2011 14 46 > To: Tomcat Users List > Subject: RE: Tomcat memory allocation > >> From: Martin O'Shea [mailt

RE: Tomcat memory allocation

2011-12-09 Thread Caldarale, Charles R
> From: Martin O'Shea [mailto:app...@dsl.pipex.com] > Subject: RE: Tomcat memory allocation > So I could reduce it below 128Mb if I choose. Is there a > default value? Yes - for each platform and JVM type. Use JConsole on a running JVM to see what it is. > A job hung ear

RE: Tomcat memory allocation

2011-12-09 Thread Martin O'Shea
earlier and I wonder if memory was to blame although there is nothing in the system or server logs to say so. -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: 09 Dec 2011 14 46 To: Tomcat Users List Subject: RE: Tomcat memory allocation > From: Mar

RE: Tomcat memory allocation

2011-12-09 Thread Caldarale, Charles R
> From: Martin O'Shea [mailto:app...@dsl.pipex.com] > Subject: Tomcat memory allocation > Following advice found elsewhere on the internet Always to be taken with large chunks of salt. > set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m -XX:MaxPermSize=128m You would be

Tomcat memory allocation

2011-12-09 Thread Martin O'Shea
Hello Following advice found elsewhere on the internet, I've just added the following line to the catalina.bat file in my installation of tomcat 6.0.26: set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m -XX:MaxPermSize=128m I know that settings: Xms128m -Xmx512m Control the initial heap size and wha

Tomcat Memory Leak

2011-02-20 Thread הילה
Hey, I sent it today but I'm not sure it was sent, so I'm sending again (and that's the last time :)). I work in a company which we use Tomcat (5.5.26 , and recently we've upgraded it to 6.0.29) to run our application. The tomcat is running on servers with OS windows 2008 R2 STD. The probl

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

2010-10-20 Thread Martin O'Shea
Users List Subject: Re: Tomcat memory leak error launching web app in NetBeans 6.9.1 On 20/10/2010 12:41, Martin O'Shea wrote: > And then when I terminate the Quartz application, but leave Tomcat > running, the second dump appears to be show no trace of these messages > at all. So

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

2010-10-20 Thread Pid
On 20/10/2010 12:41, Martin O'Shea wrote: > And then when I terminate the Quartz application, but leave Tomcat running, > the second dump appears to be show no trace of these messages at all. So > does this indicate that Quartz has shut down but only after my application > has stopped within Tomcat

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

2010-10-20 Thread Martin O'Shea
.e. that Tomcat monitors my application's demise and reports the threads as extant because Quartz has not yet ended? Full dumps are available if required. -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: 19 Oct 2010 16 57 To: Tomcat Users List Subje

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

2010-10-19 Thread appy74
Thanks Charles. Quoting "Caldarale, Charles R" : > > From: app...@dsl.pipex.com [mailto:app...@dsl.pipex.com] > > Subject: RE: Tomcat memory leak error launching web app in NetBeans 6.9.1 > > > Are you able to advise how this may be done within > > NetBea

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

2010-10-19 Thread Caldarale, Charles R
> From: app...@dsl.pipex.com [mailto:app...@dsl.pipex.com] > Subject: RE: Tomcat memory leak error launching web app in NetBeans 6.9.1 > Are you able to advise how this may be done within > NetBeans 6.9.1 / Tomcat 6.0.26? Within NetBeans? No idea. (As stated before, I don't

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

2010-10-19 Thread appy74
Are you able to advise how this may be done within NetBeans 6.9.1 / Tomcat 6.0.26? Thanks. Quoting "Caldarale, Charles R" : > > From: app...@dsl.pipex.com [mailto:app...@dsl.pipex.com] > > Subject: Re: Tomcat memory leak error launching web app in NetBeans 6.9.1 >

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

2010-10-19 Thread Caldarale, Charles R
> From: app...@dsl.pipex.com [mailto:app...@dsl.pipex.com] > Subject: Re: Tomcat memory leak error launching web app in NetBeans 6.9.1 > Where there are fewer messages but it still seems as if > Tomcat is detecting Quartz threads after Quartz is shut down. Which means Quartz

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

2010-10-19 Thread appy74
Well, I've tried Mark's code earlier, albeit without using a properties file for Log4J, and the position has improved slightly. The log indicates the following: INFO: Pausing Coyote AJP/1.3 on ajp-8009 Job Job1 unsubmitted at 2010-10-19 15:18:10 24047 [main] INFO org.quartz.core.QuartzScheduler

Heading [OT] Re: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-19 Thread Pid
On 19/10/2010 01:07, Mark Eggers wrote: > Once again, I apologize for the wall of text. However, most of it is > pretty quick and dirty code, so it should be easy to skim. > > I'm guessing the end result is harmless? Well, if the ClassLoader is still extant after it's supposed to have been cleare

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

2010-10-19 Thread Martin O'Shea
Thanks Mark. I will give this a try later on. -Original Message- From: Mark Eggers [mailto:its_toas...@yahoo.com] Sent: 19 Oct 2010 01 08 To: Tomcat Users List Subject: Re: Tomcat memory leak error launching web app in NetBeans 6.9.1 Once again, I apologize for the wall of text. However

  1   2   3   4   >