Re: CLOSE_WAIT connections when OutOfMemoryError is thrown

2018-09-04 Thread Mark Thomas
On 04/09/18 03:20, Antonio Rafael Rodrigues wrote: > Hi > In my rest API, everytime time my request generates an OutOfMemoryError the > client doesn't get a response from server and hangs forever. If I kill the > client, I can see by lsof that a CLOSE_WAIT connection remains a

CLOSE_WAIT connections when OutOfMemoryError is thrown

2018-09-03 Thread Antonio Rafael Rodrigues
Hi In my rest API, everytime time my request generates an OutOfMemoryError the client doesn't get a response from server and hangs forever. If I kill the client, I can see by lsof that a CLOSE_WAIT connection remains and it goes away just if I restart the Spring application. I can reprodu

Re: OutOfMemoryError when Uploading Files

2017-12-22 Thread Mark Thomas
On 20/12/17 18:04, Igal @ Lucee.org wrote: > Hello, > > I am troubleshooting a servlet which is used to upload files. Small > files under 25mb are processed properly.  Large files over 50mb are > processed properly.  Files with size in the range of 25mb -- 50mb fail > with OutO

OutOfMemoryError when Uploading Files

2017-12-20 Thread Igal @ Lucee.org
Hello, I am troubleshooting a servlet which is used to upload files. Small files under 25mb are processed properly.  Large files over 50mb are processed properly.  Files with size in the range of 25mb -- 50mb fail with OutOfMemoryError. Unfortunately I do not get a Stack Trace.  Instead of

Re: OutOfMemoryError: PermGen space - SOLVED

2016-07-25 Thread Mark Eggers
Cris, On 7/25/2016 6:17 AM, Berneburg, Cris J. - US wrote: > Mark (Eggers) > > -Original Message- From: Mark Eggers > [mailto:its_toas...@yahoo.com.INVALID] Sent: Friday, July 22, 2016 > 1:28 PM To: Tomcat Users List Subject: Re: OutOfMemoryError: PermGen > space -

RE: OutOfMemoryError: PermGen space - SOLVED

2016-07-25 Thread Berneburg, Cris J. - US
Mark (Eggers) -Original Message- From: Mark Eggers [mailto:its_toas...@yahoo.com.INVALID] Sent: Friday, July 22, 2016 1:28 PM To: Tomcat Users List Subject: Re: OutOfMemoryError: PermGen space - SOLVED > Cris, > > On 7/22/2016 10:15 AM, Berneburg, Cris wrote: > > Mark

RE: OutOfMemoryError: PermGen space - SOLVED

2016-07-25 Thread Berneburg, Cris J. - US
Mark/T, Román, Guido, and Mark/DE -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Friday, July 22, 2016 4:54 PM To: Tomcat Users List Subject: Re: OutOfMemoryError: PermGen space - SOLVED On 22/07/2016 19:15, Berneburg, Cris wrote: > > Mark (Thomas), Román,

RE: OutOfMemoryError: PermGen space - SOLVED

2016-07-25 Thread Berneburg, Cris J. - US
Hi Guido -Original Message- From: Guido Jäkel [mailto:g.jae...@dnb.de] Sent: Saturday, July 23, 2016 8:38 AM To: Tomcat Users List Subject: Re: OutOfMemoryError: PermGen space - SOLVED On 22.07.2016 19:15, Berneburg, Cris wrote: > > The OutOfMemoryError in Tomcat Manager was cau

Re: OutOfMemoryError: PermGen space - SOLVED

2016-07-23 Thread Guido Jäkel
On 22.07.2016 19:15, Berneburg, Cris J. - US wrote: > The OutOfMemoryError in Tomcat Manager was caused by a memory leak when Log4J > did not terminate properly. This was due to my mistake of neglecting to set > up the necessary Log4J shutdown procedures. > > Adding Log4jServlet

Re: OutOfMemoryError: PermGen space - SOLVED

2016-07-22 Thread Mark Thomas
them using Eclipse Memory Analyzer, and follow > instructions. ;-) > > The OutOfMemoryError in Tomcat Manager was caused by a memory leak when Log4J > did not terminate properly. This was due to my mistake of neglecting to set > up the necessary Log4J shutdown procedures. > >

Re: OutOfMemoryError: PermGen space - SOLVED

2016-07-22 Thread Mark Eggers
analyze them using Eclipse Memory Analyzer, and > follow instructions. ;-) > > The OutOfMemoryError in Tomcat Manager was caused by a memory leak > when Log4J did not terminate properly. This was due to my mistake of > neglecting to set up the necessary Log4J shutdown procedures. >

RE: OutOfMemoryError: PermGen space - SOLVED

2016-07-22 Thread Berneburg, Cris J. - US
Mark (Thomas), Román, Guido, and Mark (Eggers) Thank you all for your suggestions, assistance, and patience. With your help and encouragement I learned how to perform heap dumps using Java VisualVM, analyze them using Eclipse Memory Analyzer, and follow instructions. ;-) The OutOfMemoryError

RE: OutOfMemoryError: PermGen space

2016-07-22 Thread Berneburg, Cris J. - US
Subject: Re: OutOfMemoryError: PermGen space > > From the log4j2 web site: > > > > https://logging.apache.org/log4j/2.x/manual/webapp.html [SNIP] > > If you are using Log4j in a Servlet 2.5 web application, or if you > > have disable

RE: OutOfMemoryError: PermGen space

2016-07-22 Thread Berneburg, Cris J. - US
Users List Subject: Re: OutOfMemoryError: PermGen space > Mark and Cris, > > On 7/21/2016 12:47 PM, Mark Thomas wrote: > > On 21/07/2016 18:17, Berneburg, Cris wrote: > >> From: Mark Thomas [mailto:ma...@apache.org] > > > > > > > >> > >&g

RE: OutOfMemoryError: PermGen space

2016-07-22 Thread Berneburg, Cris J. - US
Guido Thanks for following up with me: -Original Message- From: Jäkel, Guido [mailto:g.jae...@dnb.de] Sent: Friday, July 22, 2016 4:31 AM To: Berneburg, Cris Subject: RE: OutOfMemoryError: PermGen space > >-Original Message- > >From: Berneburg, Cris [mailto:cberneb

RE: OutOfMemoryError: PermGen space

2016-07-22 Thread Berneburg, Cris J. - US
Mark BLUF: Thanks for your explanations and assistance. I plan to follow up with the Log4J2 group. My simple responses below. -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Thursday, July 21, 2016 3:47 PM To: Tomcat Users List Subject: Re: OutOfMemoryError

RE: OutOfMemoryError: PermGen space

2016-07-22 Thread Jäkel , Guido
>-Original Message- >From: Berneburg, Cris J. - US [mailto:cberneb...@caci.com] >Sent: Thursday, July 21, 2016 6:18 PM >To: Tomcat Users List >Subject: RE: OutOfMemoryError: PermGen space > >Mark > >Thanks again for taking the time to assist with the OutOfMem

Re: OutOfMemoryError: PermGen space

2016-07-21 Thread Mark Eggers
Mark and Cris, On 7/21/2016 12:47 PM, Mark Thomas wrote: > On 21/07/2016 18:17, Berneburg, Cris J. - US wrote: >> From: Mark Thomas [mailto:ma...@apache.org] > > > >> Using the Find Leaks button on the Tomcat Manager page on old app >> versions to trigger full garbage collection revealed that t

Re: OutOfMemoryError: PermGen space

2016-07-21 Thread Mark Thomas
On 21/07/2016 18:17, Berneburg, Cris J. - US wrote: > From: Mark Thomas [mailto:ma...@apache.org] > Using the Find Leaks button on the Tomcat Manager page on old app versions to > trigger full garbage collection revealed that the memory leak started to > happen in the release when Log4J2 was a

RE: OutOfMemoryError: PermGen space

2016-07-21 Thread Berneburg, Cris J. - US
Mark Thanks again for taking the time to assist with the OutOfMemoryError. BLUF, it looks like Log4J2 is the culprit. Will you please check my work below to see if I have interpreted correctly? -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Wednesday, July 20

Re: OutOfMemoryError: PermGen space

2016-07-20 Thread Mark Thomas
On 20/07/2016 17:31, Berneburg, Cris J. - US wrote: > Mark > > Thanks again for taking the time to educate me and answer my > questions. My lengthy replies below. To summarize, our app does not > seem to commit any egregious memory leak offenses, from what I can > tell so far. I plan to heap du

RE: OutOfMemoryError: PermGen space

2016-07-20 Thread Berneburg, Cris J. - US
libraries for comparison purposes. -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Tuesday, July 19, 2016 3:15 PM To: Tomcat Users List Subject: Re: OutOfMemoryError: PermGen space > On 19/07/2016 17:19, Berneburg, Cris J. - US wrote: > > > > >

RE: OutOfMemoryError: PermGen space

2016-07-20 Thread Berneburg, Cris J. - US
Hi Guido Thanks for taking the time to answer my questions and make suggestions. My replies below. -Original Message- From: Jäkel, Guido [mailto:g.jae...@dnb.de] Sent: Tuesday, July 19, 2016 10:31 AM To: 'Tomcat Users List' Subject: RE: OutOfMemoryError: PermGen space &g

Re: OutOfMemoryError: PermGen space

2016-07-19 Thread Román Valoria
:28 PM > To: Tomcat Users List > Subject: Re: OutOfMemoryError: PermGen space > > > Cris: > > > > Couple of things here. > > > > First, you can use in any Java 6 Update 45 and above the Java Visual VM, > > to monitor in real time the memory utilization done by

Re: OutOfMemoryError: PermGen space

2016-07-19 Thread Mark Thomas
On 19/07/2016 17:19, Berneburg, Cris J. - US wrote: >> This is probably a useful read: >> http://people.apache.org/~markt/presentations/2010-11-04-Memory-Leaks-60mins.pdf >> >> Despite the age, it is still very relevant today. > > > Thanks for reminding me about that document. It does sound r

RE: OutOfMemoryError: PermGen space

2016-07-19 Thread Berneburg, Cris J. - US
Mark Thanks for taking the time to answer my questions. Please see my response and questions below. -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Thursday, July 14, 2016 2:58 PM To: Tomcat Users List Subject: Re: OutOfMemoryError: PermGen space > On 14/07/2

RE: OutOfMemoryError: PermGen space

2016-07-19 Thread Jäkel , Guido
>In Visual VM, under File, Compare Memory Snapshots, it does not see the >snapshots I generated. The snapshots appear to >be extension *.apps, but the compare function looks for files with extension >*.nps. I don't know how to get the compare >function to work. > >Not sure where to go from here

RE: OutOfMemoryError: PermGen space

2016-07-19 Thread Berneburg, Cris J. - US
Román Thanks for taking the time to reply and educate me. :-) Please see my ramblings below. -Original Message- From: Román Valoria [mailto:romanvalo...@gmail.com] Sent: Thursday, July 14, 2016 11:28 PM To: Tomcat Users List Subject: Re: OutOfMemoryError: PermGen space > C

Re: OutOfMemoryError: PermGen space

2016-07-14 Thread Román Valoria
Cris: Couple of things here. First, you can use in any Java 6 Update 45 and above the Java Visual VM, to monitor in real time the memory utilization done by the Java virtual machine. This will show you both the Help and Perm Gen memory graphs. You can find this tool in the bin directory of any JD

Re: OutOfMemoryError: PermGen space

2016-07-14 Thread Mark Thomas
On 14/07/2016 20:26, Berneburg, Cris J. - US wrote: > Hi Folks > > I got this error from the Tomcat Web Application Manager after having stopped > and started one of the applications multiple times. (This was after > repeatedly deploying the application manually to attempt to find a bug that I

OutOfMemoryError: PermGen space

2016-07-14 Thread Berneburg, Cris J. - US
Hi Folks I got this error from the Tomcat Web Application Manager after having stopped and started one of the applications multiple times. (This was after repeatedly deploying the application manually to attempt to find a bug that I could not reproduce in my IDE.) Once the error occurred, the

Re: Notification strategy for OutOfMemoryError

2014-01-24 Thread Bill Davidson
On 1/23/2014 5:21 PM, Christopher Schultz wrote: >If you'd care to post your code to either the list or onto the wiki, I'm >sure it would be useful to someone. Feel free to trim-out huge sections >of the code and say "make this fit your environment", etc. if you don't >want to show everyone how ba

Re: Notification strategy for OutOfMemoryError

2014-01-23 Thread Howard W. Smith, Jr.
On Thu, Jan 23, 2014 at 8:21 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > Glad to see my thoughts were useful. If you'd care to post your code > to either the list or onto the wiki, I'm sure it would be useful to > someone. > +1 I love it when others share code, and thanks for

Re: Notification strategy for OutOfMemoryError

2014-01-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Bill, On 1/23/14, 8:08 PM, Bill Davidson wrote: > On 12/11/2013 11:42 PM, André Warnier wrote: >> The original issue of the OP was to be notified ASAP when an OOM >> occurs. And he indicated that an OOM resulted in a message in the >> logs. So, "som

Re: Notification strategy for OutOfMemoryError

2014-01-23 Thread Bill Davidson
On 12/11/2013 11:42 PM, André Warnier wrote: The original issue of the OP was to be notified ASAP when an OOM occurs. And he indicated that an OOM resulted in a message in the logs. So, "something" is already catching the OOM exception, to write this line in the logs. On the other hand, there i

Re: Notification strategy for OutOfMemoryError

2013-12-12 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 12/12/13, 2:42 AM, André Warnier wrote: The original issue of the OP was to be notified ASAP when an OOM occurs. And he indicated that an OOM resulted in a message in the logs. So, "something" is already catch

Re: Notification strategy for OutOfMemoryError

2013-12-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 12/12/13, 2:42 AM, André Warnier wrote: > The original issue of the OP was to be notified ASAP when an OOM > occurs. And he indicated that an OOM resulted in a message in the > logs. So, "something" is already catching the OOM exception, t

Re: Notification strategy for OutOfMemoryError

2013-12-11 Thread André Warnier
Guys, just wondering.. The original issue of the OP was to be notified ASAP when an OOM occurs. And he indicated that an OOM resulted in a message in the logs. So, "something" is already catching the OOM exception, to write this line in the logs. On the other hand, there is ample literature av

Re: Notification strategy for OutOfMemoryError

2013-12-11 Thread Christopher Schultz
. You may not catch the OOME in that >>>> thread -- it may happen in a background thread that does not >>>> go through the filter. >>> I'm not sure I understand this one. How does an IOException >>> relate to an OOME? >> Sorry, I meant of cours

Re: Notification strategy for OutOfMemoryError

2013-12-11 Thread Christopher Schultz
. You may not catch the OOME in that >>>> thread -- it may happen in a background thread that does not >>>> go through the filter. >>> I'm not sure I understand this one. How does an IOException >>> relate to an OOME? >> Sorry, I meant of cours

Re: Notification strategy for OutOfMemoryError

2013-12-11 Thread Bill Davidson
of course OutOfMemoryError. Just make sure you use as little memory as possible during the exception handler or it will fail itself and possibly mask the original problem. - You can catch an OOME in a fiter? I would not have expected that. Off to the doc

Re: Notification strategy for OutOfMemoryError

2013-12-11 Thread Christopher Schultz
>> >> I've been considering doing this, because I can rig it so that >> the error handler does not actually require any memory to run. >> The problem is that sometimes OOMEs interrupt one thread and not >> another. You may not catch the OOME in that thread -- i

Re: Notification strategy for OutOfMemoryError

2013-12-10 Thread Bill Davidson
On 12/9/2013 5:20 PM, Bill Davidson wrote: On 12/9/2013 3:12 PM, Christopher Schultz wrote: 1. Use -XX:OnOutOfMemoryError="cmd args;cmd args" Rig this to email you, register a passive-check data point with your monitoring server, etc. Just remember that OOMEs happen for a number of reasons. Yo

Re: Notification strategy for OutOfMemoryError

2013-12-10 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Bill, On 12/9/13, 5:38 PM, Bill Davidson wrote: Last week, one of my servers got an OutOfMemoryError at approximately 1:21pm. :( It's worth pointing out that this is not a trivial issue. My monitoring sof

Re: Notification strategy for OutOfMemoryError

2013-12-09 Thread Bill Davidson
On 12/9/2013 3:12 PM, Christopher Schultz wrote: Was it a transient error, or a chronic condition? A single thread can, for instance, spew objects into its stack or eden space exhausting memory but, when that thread hits the OOME, all those objects are freed which basically recovers from the sit

Re: Notification strategy for OutOfMemoryError

2013-12-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Bill, On 12/9/13, 5:38 PM, Bill Davidson wrote: > Last week, one of my servers got an OutOfMemoryError at > approximately 1:21pm. :( It's worth pointing out that this is not a trivial issue. > My monitoring software which does a he

Notification strategy for OutOfMemoryError

2013-12-09 Thread Bill Davidson
Last week, one of my servers got an OutOfMemoryError at approximately 1:21pm. My monitoring software which does a heart beat check once per minute did not notice until 3:01pm. Heart beat kept working for over an hour and a half. During that time my high capacity high availablity 24/7

Re: RE : Tomcat7 OutOFMemoryError

2012-03-06 Thread Rainer Jung
On 06.03.2012 18:21, Pid * wrote: On 6 Mar 2012, at 08:16, "André Warnier" wrote: Pid wrote: On 06/03/2012 07:12, Rainer Frey wrote: On 05.03.2012, at 14:14, Philippe ROUXEL wrote: When I set JAVA_OPTS= -Xmx1024m -Xss75m That means: each thread get a stack of 75MB. One of the following ap

Re: RE : Tomcat7 OutOFMemoryError

2012-03-06 Thread Pid *
On 6 Mar 2012, at 08:16, "André Warnier" wrote: > Pid wrote: >> On 06/03/2012 07:12, Rainer Frey wrote: >>> On 05.03.2012, at 14:14, Philippe ROUXEL wrote: >>> >> When I set JAVA_OPTS= -Xmx1024m -Xss75m > That means: each thread get a stack of 75MB. One of the following applies: > * t

Re: RE : Tomcat7 OutOFMemoryError

2012-03-06 Thread André Warnier
Pid wrote: On 06/03/2012 07:12, Rainer Frey wrote: On 05.03.2012, at 14:14, Philippe ROUXEL wrote: When I set JAVA_OPTS= -Xmx1024m -Xss75m That means: each thread get a stack of 75MB. One of the following applies: * the operating system has a limit on thread stack size * the per process memor

Re: RE : Tomcat7 OutOFMemoryError

2012-03-05 Thread Pid
On 06/03/2012 07:12, Rainer Frey wrote: > > On 05.03.2012, at 14:14, Philippe ROUXEL wrote: > When I set JAVA_OPTS= -Xmx1024m -Xss75m >>> >>> That means: each thread get a stack of 75MB. One of the following applies: >>> * the operating system has a limit on thread stack size >>> * the per p

Re: RE : Tomcat7 OutOFMemoryError

2012-03-05 Thread Rainer Frey
On 05.03.2012, at 14:14, Philippe ROUXEL wrote: >>> When I set JAVA_OPTS= -Xmx1024m -Xss75m >> >> That means: each thread get a stack of 75MB. One of the following applies: >> * the operating system has a limit on thread stack size >> * the per process memory limit is reached before all initial

Re: RE : Tomcat7 OutOFMemoryError

2012-03-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 3/5/12 5:20 PM, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Subject: Re: RE : Tomcat7 OutOFMemoryError > >>> Thread Stack Size (in Kbytes). (0 means use defaul

Re: RE : Tomcat7 OutOFMemoryError

2012-03-05 Thread Pid
On 05/03/2012 22:09, Christopher Schultz wrote: > Pid, > > On 3/5/12 3:54 PM, Pid wrote: >> Varies by OS too. > >> -XX:ThreadStackSize=512 > >> Thread Stack Size (in Kbytes). (0 means use default stack size) >> [Sparc: 512; Solaris x86: 320 (was 256 prior in 5.0 and earlier); >> Sparc 64 bit: 10

RE: RE : Tomcat7 OutOFMemoryError

2012-03-05 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: RE : Tomcat7 OutOFMemoryError > > Thread Stack Size (in Kbytes). (0 means use default stack size) > > [Sparc: 512; Solaris x86: 320 (was 256 prior in 5.0 and earlier); > > Sparc 64 bit: 1024

Re: RE : Tomcat7 OutOFMemoryError

2012-03-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 3/5/12 3:54 PM, Pid wrote: > Varies by OS too. > > -XX:ThreadStackSize=512 > > Thread Stack Size (in Kbytes). (0 means use default stack size) > [Sparc: 512; Solaris x86: 320 (was 256 prior in 5.0 and earlier); > Sparc 64 bit: 1024; Linux am

Re: RE : Tomcat7 OutOFMemoryError

2012-03-05 Thread Pid
On 05/03/2012 20:39, Caldarale, Charles R wrote: >> From: André Warnier [mailto:a...@ice-sa.com] >> Subject: Re: RE : Tomcat7 OutOFMemoryError > >> I found this page which may be of interest : >> http://www.odi.ch/weblog/posting.php?posting=411 > > This one'

RE: RE : Tomcat7 OutOFMemoryError

2012-03-05 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: RE : Tomcat7 OutOFMemoryError > I found this page which may be of interest : > http://www.odi.ch/weblog/posting.php?posting=411 This one's also pretty interesting, especially the link to Cliff C

Re: RE : Tomcat7 OutOFMemoryError

2012-03-05 Thread André Warnier
Brooke Hedrick wrote: On Mar 5, 2012 11:34 AM, "Christopher Schultz" wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Philippe, On 3/5/12 8:14 AM, Philippe ROUXEL wrote: 75MB of stack is needed by hibenate to save the data aka a graph. Philippe, are you confusing stack memory with heap

Re: RE : Tomcat7 OutOFMemoryError

2012-03-05 Thread Brooke Hedrick
On Mar 5, 2012 11:34 AM, "Christopher Schultz" wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Philippe, > > On 3/5/12 8:14 AM, Philippe ROUXEL wrote: > > 75MB of stack is needed by hibenate to save the data aka a graph. > Philippe, are you confusing stack memory with heap memory?

Re: RE : Tomcat7 OutOFMemoryError

2012-03-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Philippe, On 3/5/12 8:14 AM, Philippe ROUXEL wrote: > 75MB of stack is needed by hibenate to save the data aka a graph. What!? Does Hibernate have some kind of method that needs to call itself recursively 100,000 times? - -chris -BEGIN PGP SIGNA

RE : Tomcat7 OutOFMemoryError

2012-03-05 Thread Philippe ROUXEL
75MB of stack is needed by hibenate to save the data aka a graph. Philippe De: Rainer Frey [mailto:rainer.f...@inxmail.de] Date: lun. 05/03/2012 13:19 À: Tomcat Users List Objet : Re: Tomcat7 OutOFMemoryError On 05.03.2012, at 11:30, Philippe ROUXEL wrote

Re: Tomcat7 OutOFMemoryError

2012-03-05 Thread Rainer Frey
On 05.03.2012, at 11:30, Philippe ROUXEL wrote: > When I set JAVA_OPTS= -Xmx1024m -Xss75m That means: each thread get a stack of 75MB. One of the following applies: * the operating system has a limit on thread stack size * the per process memory limit is reached before all initial tomcat threads

Tomcat7 OutOFMemoryError

2012-03-05 Thread Philippe ROUXEL
When I set JAVA_OPTS= -Xmx1024m -Xss75m I got: GRAVE: A child container failed during start java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: unable to c reate new native thread at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222) at java.util.

Re: [OT] OutOfMemoryError: GC overhead limit exceeded

2011-02-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Leon, On 2/17/2011 2:29 AM, Leon Rosenberg wrote: > On Wed, Feb 16, 2011 at 6:16 PM, Christopher Schultz wrote: > >> We're working on some decent instrumentation tools to >> basically log all kinds of stuff like this on a regular interval... say >> ev

Re: [OT] OutOfMemoryError: GC overhead limit exceeded

2011-02-16 Thread Leon Rosenberg
;> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >>>> Subject: Re: [OT] OutOfMemoryError: GC overhead limit exceeded >>> >>>> Here's what jmap reports this morning: >>> >>>> PS Old Generation >>>>    capacity = 134217

Re: [OT] OutOfMemoryError: GC overhead limit exceeded

2011-02-16 Thread Ronald Klop
Op woensdag, 16 februari 2011 19:18 schreef Christopher Schultz : Ronald, On 2/16/2011 12:48 PM, Ronald Klop wrote: > I see the same problem with jstack and friends if a process is gc'ing a > lot. Interesting. I don't have verbose GC enabled (can you enable that after JVM launch using

Re: [OT] OutOfMemoryError: GC overhead limit exceeded

2011-02-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ronald, On 2/16/2011 12:48 PM, Ronald Klop wrote: > I see the same problem with jstack and friends if a process is gc'ing a > lot. Interesting. I don't have verbose GC enabled (can you enable that after JVM launch using JConsole or something like th

Re: [OT] OutOfMemoryError: GC overhead limit exceeded

2011-02-16 Thread Ronald Klop
Op woensdag, 16 februari 2011 18:17 schreef Christopher Schultz : Chuck, On 2/16/2011 11:37 AM, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Subject: Re: [OT] OutOfMemoryError: GC overhead limit exceeded > >> Her

Re: [OT] OutOfMemoryError: GC overhead limit exceeded

2011-02-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 2/16/2011 11:37 AM, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Subject: Re: [OT] OutOfMemoryError: GC overhead limit exceeded > >> Here's what jmap reports

Re: [OT] OutOfMemoryError: GC overhead limit exceeded

2011-02-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Leon, On 2/16/2011 11:53 AM, Leon Rosenberg wrote: > On Wed, Feb 16, 2011 at 5:37 PM, Caldarale, Charles R > wrote: >>> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >>> Subject: Re: [OT] OutOfMemory

Re: [OT] OutOfMemoryError: GC overhead limit exceeded

2011-02-16 Thread Leon Rosenberg
On Wed, Feb 16, 2011 at 5:37 PM, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Subject: Re: [OT] OutOfMemoryError: GC overhead limit exceeded > >> Here's what jmap reports this morning: > >> PS Old Generation

RE: [OT] OutOfMemoryError: GC overhead limit exceeded

2011-02-16 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: [OT] OutOfMemoryError: GC overhead limit exceeded > Here's what jmap reports this morning: > PS Old Generation >capacity = 134217728 (128.0MB) >used = 61911720 (59.04361

Re: [OT] OutOfMemoryError: GC overhead limit exceeded

2011-02-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 2/15/2011 5:57 PM, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Subject: [OT] OutOfMemoryError: GC overhead limit exceeded > >> This error occurred /once/ at 16:

RE: [OT] OutOfMemoryError: GC overhead limit exceeded

2011-02-15 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: [OT] OutOfMemoryError: GC overhead limit exceeded > This error occurred /once/ at 16:39 EDT and it's 17:39 EDT now > Is it likely that this was something acute and that my server is okay? &g

Re: [OT] OutOfMemoryError: GC overhead limit exceeded

2011-02-15 Thread Leon Rosenberg
le search yielded this > StackOverflow thread: > > http://stackoverflow.com/questions/1393486/what-means-the-error-message-java-lang-outofmemoryerror-gc-overhead-limit-excee > > Evidently, when the GC takes a long time to accomplish nothing, you get > this error. > > This error occurre

[OT] OutOfMemoryError: GC overhead limit exceeded

2011-02-15 Thread Christopher Schultz
t exceeded". A quick Google search yielded this StackOverflow thread: http://stackoverflow.com/questions/1393486/what-means-the-error-message-java-lang-outofmemoryerror-gc-overhead-limit-excee Evidently, when the GC takes a long time to accomplish nothing, you get this error. This error occurr

Re: OutOfMemoryError some time on some tomcat!!!!1

2010-11-23 Thread Sylvain Laurent
Don't bother with jhat, try eclipse Memory Analysis Tool instead. It's much more friendly and efficient to find leaks. On 23 nov. 2010, at 12:18, xu cheng wrote: > hi, Chuck.Caldarale > I referenced to these two links > http://blogs.sun.com/fkieviet/entry/classloader_leaks_the_dreaded_java > ht

RE: OutOfMemoryError some time on some tomcat!!!!1

2010-11-23 Thread Caldarale, Charles R
> From: xu cheng [mailto:xcheng@gmail.com] > Subject: Re: OutOfMemoryError some time on some tomcat1 > > hanging onto a reference to an object from your webapp classes, > > preventing the old webapp deployment from being garbage collected. > what kind of object

Re: OutOfMemoryError some time on some tomcat

2010-11-23 Thread Daniel Baktiar
hi mark, thank you for showing my mistake. my apology to chuck also. i will read the article. --- daniel baktiar http://savinggaia.tritiumapps.com - saving the planet is everyone's business! On 23 November 2010 18:50, Mark Thomas wrote: > On 23/11/2010 06:55, Daniel Baktiar wrote: > > hi ch

Re: OutOfMemoryError some time on some tomcat!!!!1

2010-11-23 Thread Daniel Baktiar
saving the planet is everyone's > > business! > > > > > > > > > > On 23 November 2010 14:10, Caldarale, Charles R > > wrote: > > > > > > From: xu cheng [mailto:xcheng@gmail.com] > > > > Subject: Re: OutOfMemoryError some time on

Re: OutOfMemoryError some time on some tomcat!!!!1

2010-11-23 Thread xu cheng
t; http://savinggaia.tritiumapps.com - saving the planet is everyone's > business! > > > > > On 23 November 2010 14:10, Caldarale, Charles R > wrote: > > > > From: xu cheng [mailto:xcheng@gmail.com] > > > Subject: Re: OutOfMemoryError some time on some to

Re: OutOfMemoryError some time on some tomcat

2010-11-23 Thread Mark Thomas
On 23/11/2010 06:55, Daniel Baktiar wrote: > hi charles, > > please allow me to disagree to that "hanging onto reference" as the main > issue. Daniel, You are completely wrong. I suggest you read this: http://wiki.apache.org/tomcat/MemoryLeakProtection and try out some of the sample code with a

Re: OutOfMemoryError some time on some tomcat!!!!1

2010-11-22 Thread Daniel Baktiar
just in time compilation), for example. --- daniel baktiar http://savinggaia.tritiumapps.com - saving the planet is everyone's business! On 23 November 2010 14:10, Caldarale, Charles R wrote: > > From: xu cheng [mailto:xcheng@gmail.com] > > Subject: Re: OutOfMemoryError

Re: OutOfMemoryError some time on some tomcat!!!!1

2010-11-22 Thread xu cheng
else? for example? thanks 2010/11/23 Caldarale, Charles R > > From: xu cheng [mailto:xcheng@gmail.com] > > Subject: Re: OutOfMemoryError some time on some tomcat1 > > > I just kept redeploying apps , and the perm gen keep > > growing each time I deploy the s

RE: OutOfMemoryError some time on some tomcat!!!!1

2010-11-22 Thread Caldarale, Charles R
> From: xu cheng [mailto:xcheng@gmail.com] > Subject: Re: OutOfMemoryError some time on some tomcat1 > I just kept redeploying apps , and the perm gen keep > growing each time I deploy the same app. and when I > undeploy the app, the perm gen didn't clean the

Re: OutOfMemoryError some time on some tomcat!!!!1

2010-11-22 Thread Daniel Baktiar
hi xu cheng, don't mention it. glad you've eventually solved your problem. daniel --- daniel baktiar http://savinggaia.tritiumapps.com - saving the planet is everyone's business! 2010/11/23 xu cheng > hi Daniel > thanks alot for replying. > > I don't know how to figure out how much the par

Re: OutOfMemoryError some time on some tomcat!!!!1

2010-11-22 Thread xu cheng
ter >> > > it is only when the app is deploy on another computer that this >> problem >> > > occur >> > > >> > > 2010/11/22 xu cheng >> > > >> > > hi: >> > >> thanks for replying >> > >> the a

Re: OutOfMemoryError some time on some tomcat!!!!1

2010-11-22 Thread xu cheng
i: > > >> thanks for replying > > >> the app is running on a powerful server and the memory is suppose to > be > > >> enough > > >> I'll check if there is a memory leak,(althouth the app is suppose to > use > > >> only a few memory) > >

Re: OutOfMemoryError some time on some tomcat!!!!1

2010-11-22 Thread Daniel Baktiar
ugh > >> I'll check if there is a memory leak,(althouth the app is suppose to use > >> only a few memory) > >> thanks > >> > >> 2010/11/22 Caldarale, Charles R > >> > >> > From: xu cheng [mailto:xcheng@gmail.com] &g

Re: OutOfMemoryError some time on some tomcat!!!!1

2010-11-21 Thread xu cheng
y) >> thanks >> >> 2010/11/22 Caldarale, Charles R >> >> > From: xu cheng [mailto:xcheng@gmail.com] >>> > Subject: OutOfMemoryError some time on some tomcat1 >>> >>> > the app works pretty well on my pc, and the tomcat >>>

Re: OutOfMemoryError some time on some tomcat!!!!1

2010-11-21 Thread xu cheng
ough > I'll check if there is a memory leak,(althouth the app is suppose to use > only a few memory) > thanks > > 2010/11/22 Caldarale, Charles R > > > From: xu cheng [mailto:xcheng@gmail.com] >> > Subject: OutOfMemoryError some time on some tomcat1 >

Re: OutOfMemoryError some time on some tomcat!!!!1

2010-11-21 Thread xu cheng
> > Subject: OutOfMemoryError some time on some tomcat1 > > > the app works pretty well on my pc, and the tomcat > > is apache-tomcat-6.0.29 > > however , when I put this app on to another computer > > with the same tomcat it throws this exception > > Ja

RE: OutOfMemoryError some time on some tomcat!!!!1

2010-11-21 Thread Caldarale, Charles R
> From: xu cheng [mailto:xcheng@gmail.com] > Subject: OutOfMemoryError some time on some tomcat1 > the app works pretty well on my pc, and the tomcat > is apache-tomcat-6.0.29 > however , when I put this app on to another computer > with the same tomcat it throws thi

OutOfMemoryError some time on some tomcat!!!!1

2010-11-21 Thread xu cheng
hi: I've wrote an app with jsp and servlet, and I used four libs commons.logging common.httpclient jdom commons.codec the app works pretty well on my pc, and the tomcat is apache-tomcat-6.0.29 however , when I put this app on to another computer with the same tomcat it throws this exception Java

Re: OutOfMemoryError: PermGen space!!!! Dont know why?

2010-09-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 abhi, On 9/16/2010 3:21 AM, abhishek jain wrote: > hi > ps axf --cols 1000 | grep java returns > > 29807 pts/2S+ 0:00 \_ grep java > 19511 ?Ss 0:00 jsvc.exec -user tomcat -cp ./bootstrap.jar > -Djava.endorsed.dirs=../comm

Re: OutOfMemoryError: PermGen space!!!! Dont know why?

2010-09-16 Thread André Warnier
abhishek jain wrote: hi ps axf --cols 1000 | grep java returns 29807 pts/2S+ 0:00 \_ grep java 19511 ?Ss 0:00 jsvc.exec -user tomcat -cp ./bootstrap.jar -Djava.endorsed.dirs=../common/endorsed -outfile ../logs/catalina.out -errfile ../logs/catalina.err -verbose org.a

Re: OutOfMemoryError: PermGen space!!!! Dont know why?

2010-09-16 Thread abhishek jain
hi ps axf --cols 1000 | grep java returns 29807 pts/2S+ 0:00 \_ grep java 19511 ?Ss 0:00 jsvc.exec -user tomcat -cp ./bootstrap.jar -Djava.endorsed.dirs=../common/endorsed -outfile ../logs/catalina.out -errfile ../logs/catalina.err -verbose org.apache.catalina.startup.

Re: OutOfMemoryError: PermGen space!!!! Dont know why?

2010-09-15 Thread Pid
On 15/09/2010 07:28, abhishek jain wrote: > Hi, > i have the following in bin/catalina.sh > > JAVA_OPTS="$JAVA_OPTS -server -Xms512M -Xmx1024M -XX:MaxPermSize=1024M > -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager" > > still i get the permgen error exception everyday, pl. som

Re: OutOfMemoryError: PermGen space!!!! Dont know why?

2010-09-15 Thread Edmund Urbani
On 09/15/10 08:28, abhishek jain wrote: > Hi, > i have the following in bin/catalina.sh > > JAVA_OPTS="$JAVA_OPTS -server -Xms512M -Xmx1024M -XX:MaxPermSize=1024M > -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager" > > still i get the permgen error exception everyday, pl. someon

  1   2   3   >