Re: java.lang.OutOfMemoryError: Metaspace while deploying application

2022-03-01 Thread Christopher Schultz
success and next deploy is throwing like "Exception in thread "_Worker-3" java.lang.OutOfMemoryError: Metaspace" Do you get this error when you deploy the application the first time, re-deploying an existing (already-deployed) application? Based on our investigation,

Re: java.lang.OutOfMemoryError: Metaspace while deploying application

2022-03-01 Thread Mark Thomas
success and next deploy is throwing like "Exception in thread "_Worker-3" java.lang.OutOfMemoryError: Metaspace" Based on our investigation, heap dump shows _3_ instances of the ParallelWebappClassLoader consuming more memory which is causing this issue. Currently we are

RE: java.lang.OutOfMemoryError: Metaspace while deploying application

2022-03-01 Thread Rengaswamy, Nagarajan
when we deploy the any one of the application while running tomcat, first deploy get success and next deploy is throwing like "Exception in thread "_Worker-3" java.lang.OutOfMemoryError: Metaspace" Based on our investigation, heap dump shows _3_ instances of the Paral

Re: java.lang.OutOfMemoryError: PermGen space when we redeploy same application multiple times

2020-10-12 Thread Prabhu Gurunathan
; >> Tomcat/lib directory like log4j , commons-fileupload ,xerces , Xalan > >> .. etc > >> > >> The problem here is When we try to undeploy and deploy same > >> applications multiple time we are getting into > >> java.lang.OutOfMemoryError: PermGen s

Re: java.lang.OutOfMemoryError: PermGen space when we redeploy same application multiple times

2020-10-12 Thread Manuel Dominguez Sarmiento
into java.lang.OutOfMemoryError: PermGen space very quickly . Want to know is it very generic problem on this deployment model or is this can be fixed anyway ? The memory leak could be in any of: - the application code - a library the application depends on - the JVM - Tomcat In all cases, it should be possible t

Re: java.lang.OutOfMemoryError: PermGen space when we redeploy same application multiple times

2020-10-12 Thread Prabhu Gurunathan
oy and deploy same > > applications multiple time we are getting into > > java.lang.OutOfMemoryError: PermGen space very quickly . Want to know > > is it very generic problem on this deployment model or is this can be > > fixed anyway ? > > The memory leak could be in a

Re: java.lang.OutOfMemoryError: PermGen space when we redeploy same application multiple times

2020-10-12 Thread Mark Thomas
ib directory like log4j , commons-fileupload ,xerces , Xalan > .. etc > > The problem here is When we try to undeploy and deploy same > applications multiple time we are getting into > java.lang.OutOfMemoryError: PermGen space very quickly . Want to know > is it very generic pr

java.lang.OutOfMemoryError: PermGen space when we redeploy same application multiple times

2020-10-10 Thread Prabhu Gurunathan
The problem here is When we try to undeploy and deploy same applications multiple time we are getting into java.lang.OutOfMemoryError: PermGen space very quickly . Want to know is it very generic problem on this deployment model or is this can be fixed anyway ? Thanks , Pra

Re: Memmory leak java.lang.OutOfMemoryError: GC overhead limit exceeded

2019-07-18 Thread Mozgo Andrei
aced with a memory > > leak issue. The application failed after some hours with the next > > exception: > > > > > > > > *Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded* > > > > > > The memory was completely consumed and the garba

Re: [OT] Memmory leak java.lang.OutOfMemoryError: GC overhead limit exceeded

2019-07-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mozgo, On 7/17/19 09:19, Mozgo Andrei wrote: > Working on Update Tomcat 8.0.30 to Tomcat 9.0.14 I faced with a > memory leak issue. The application failed after some hours with the > next exception: > > > /Caused by: java.lan

Re: Memmory leak java.lang.OutOfMemoryError: GC overhead limit exceeded

2019-07-17 Thread Rémy Maucherat
On Wed, Jul 17, 2019 at 3:19 PM Mozgo Andrei wrote: > Hi all. > > Working on Update Tomcat 8.0.30 to Tomcat 9.0.14 I faced with a memory > leak issue. The application failed after some hours with the next > exception: > > > > *Caused by: java.lang.OutOfMemoryError:

Memmory leak java.lang.OutOfMemoryError: GC overhead limit exceeded

2019-07-17 Thread Mozgo Andrei
Hi all. Working on Update Tomcat 8.0.30 to Tomcat 9.0.14 I faced with a memory leak issue. The application failed after some hours with the next exception: *Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded* The memory was completely consumed and the garbage collector was

Re: Tomcat 7 giving java.lang.OutOfMemoryError: unable to create new native thread Exception in Catalina.out after upgrading to RHEL 7.4

2017-09-19 Thread Coty Sutherland
our application we are seeing below error in >> catalina.out. >> >> java.lang.OutOfMemoryError: unable to create new native thread Exception in >> Catalina.out after upgrading to RHEL 7.4 As stated before, this is a limitation on the number of threads spawned by the process i

Re: Tomcat 7 giving java.lang.OutOfMemoryError: unable to create new native thread Exception in Catalina.out after upgrading to RHEL 7.4

2017-09-19 Thread Suvendu Sekhar Mondal
Radhika, On Tue, Sep 19, 2017 at 2:21 PM, Peddi, Radhika (Radhika) wrote: > Hi, > > We have upgraded RHEL 7.2 to RHEL 7.4. After upgrade when we are running > performance testing of our application we are seeing below error in > catalina.out. > > java.lang.OutOfMemoryEr

Re: Tomcat 7 giving java.lang.OutOfMemoryError: unable to create new native thread Exception in Catalina.out after upgrading to RHEL 7.4

2017-09-19 Thread Mark Thomas
On 19/09/17 09:51, Peddi, Radhika (Radhika) wrote: > Hi, > > We have upgraded RHEL 7.2 to RHEL 7.4. After upgrade when we are running > performance testing of our application we are seeing below error in > catalina.out. > > java.lang.OutOfMemoryError: unable to cre

RE: Tomcat 7 giving java.lang.OutOfMemoryError: unable to create new native thread Exception in Catalina.out after upgrading to RHEL 7.4

2017-09-19 Thread Peddi, Radhika (Radhika)
Thanks for the response we will try this. Regards, Radhika -Original Message- From: Zdeněk Henek [mailto:vrab...@gmail.com] Sent: Tuesday, September 19, 2017 2:27 PM To: users@tomcat.apache.org Subject: Re: Tomcat 7 giving java.lang.OutOfMemoryError: unable to create new native thread

Re: Tomcat 7 giving java.lang.OutOfMemoryError: unable to create new native thread Exception in Catalina.out after upgrading to RHEL 7.4

2017-09-19 Thread Zdeněk Henek
f our application we are seeing below error in > catalina.out. > > java.lang.OutOfMemoryError: unable to create new native thread Exception > in Catalina.out after upgrading to RHEL 7.4 > > Attached is the thread dump. > > We are using Tomcat 7.0.69. > > As per REDHAT w

Tomcat 7 giving java.lang.OutOfMemoryError: unable to create new native thread Exception in Catalina.out after upgrading to RHEL 7.4

2017-09-19 Thread Peddi, Radhika (Radhika)
Hi, We have upgraded RHEL 7.2 to RHEL 7.4. After upgrade when we are running performance testing of our application we are seeing below error in catalina.out. java.lang.OutOfMemoryError: unable to create new native thread Exception in Catalina.out after upgrading to RHEL 7.4 Attached is the

Re: Exception in thread "http-bio-8080-exec-120" java.lang.OutOfMemoryError: PermGen space

2016-12-03 Thread 侯树成
Hi, Kaushal If you want to view the classes loaded in memory, the Visualvm as Chris mentioned above. It don't need download separeately. In Oracle JDK, the jvisualVm is already present. you can click second button [memory] and click stop after a few seconds. Then all classes loaded will display

Re: Exception in thread "http-bio-8080-exec-120" java.lang.OutOfMemoryError: PermGen space

2016-11-28 Thread Román Valoria
Get the JDK launch the tool and look it up yourself. It has tons of issues, am I sure it has that. On Tue, Nov 29, 2016 at 2:56 PM, Kaushal Shriyan wrote: > Thanks Roman and Chris for the detailed explanation. Is there a way to find > out what all java classes are loaded during runtime? > > Than

Re: Exception in thread "http-bio-8080-exec-120" java.lang.OutOfMemoryError: PermGen space

2016-11-28 Thread Kaushal Shriyan
Thanks Roman and Chris for the detailed explanation. Is there a way to find out what all java classes are loaded during runtime? Thanks in Advance. Regards, Kaushal On Tue, Nov 29, 2016 at 10:47 AM, Román Valoria wrote: > Sun, or should I say Oracle now, seems to be including the exact same t

Re: Exception in thread "http-bio-8080-exec-120" java.lang.OutOfMemoryError: PermGen space

2016-11-28 Thread Román Valoria
Sun, or should I say Oracle now, seems to be including the exact same tool on the JDK. It is already pre-packaged, so it may be customized by Oracle. It has the same look and feel as in the screenshot. On Tue, Nov 29, 2016 at 11:17 AM, Kaushal Shriyan wrote: > On Tue, Nov 29, 2016 at 7:40 AM, Ro

Re: Exception in thread "http-bio-8080-exec-120" java.lang.OutOfMemoryError: PermGen space

2016-11-28 Thread Christopher Schultz
on java version "1.7.0_80" > Java(TM) SE Runtime Environment (build 1.7.0_80-b15) Java > HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode) > > Exception in thread "http-bio-8080-exec-120" > java.lang.OutOfMemoryError: PermGen sp

Re: Exception in thread "http-bio-8080-exec-120" java.lang.OutOfMemoryError: PermGen space

2016-11-28 Thread Kaushal Shriyan
On Tue, Nov 29, 2016 at 7:40 AM, Román Valoria wrote: > Use Java VisualVM to see PermGen memory allocation and troubleshoot. It > would also let you validate that your sizing parameters are properly set. > > Hi Roman, Thanks for your reply. Are you referring to https://visualvm.github.io/? Pleas

Re: Exception in thread "http-bio-8080-exec-120" java.lang.OutOfMemoryError: PermGen space

2016-11-28 Thread Román Valoria
Exception in thread "http-bio-8080-exec-120" java.lang.OutOfMemoryError: > PermGen space > Exception in thread "http-bio-8080-exec-165" java.lang.OutOfMemoryError: > PermGen space > > 2016-11-28 13:40:30.543 ERROR 19011 --- [o-8080-exec-110] > o.s.boot.context.web.ErrorPage

Exception in thread "http-bio-8080-exec-120" java.lang.OutOfMemoryError: PermGen space

2016-11-28 Thread Kaushal Shriyan
uild 24.80-b11, mixed mode) Exception in thread "http-bio-8080-exec-120" java.lang.OutOfMemoryError: PermGen space Exception in thread "http-bio-8080-exec-165" java.lang.OutOfMemoryError: PermGen space 2016-11-28 13:40:30.543 ERROR 19011 --- [o-8080-exec-110] o.s.bo

Re: java.lang.OutOfMemoryError: PermGen space

2016-10-21 Thread Christopher Schultz
garbage compared to a proper "grep". I had never even heard of FINDSTR before. - -chris > -Original Message- From: Christopher Schultz > [mailto:ch...@christopherschultz.net] Sent: 20 October 2016 17:40 > To: Tomcat Users List Subject: Re: java.lang.OutOfMemoryErro

Re: java.lang.OutOfMemoryError: PermGen space

2016-10-21 Thread Christopher Schultz
re. >> >> When I open up tomcat6w.exe the fields are all blank, hence >> trying to find out what the defaults are before I enter anything >> in them as I don't want to put in a lesser value then the >> defaults. >> >> -Original Message- From: André

RE: java.lang.OutOfMemoryError: PermGen space

2016-10-21 Thread Berneburg, Cris J. - US
Hi Jon -Original Message- From: Moore, Jon, Vodafone UK [mailto:jon.mo...@vodafone.com] Sent: Thursday, October 20, 2016 6:00 AM To: users@tomcat.apache.org Subject: java.lang.OutOfMemoryError: PermGen space > I have a problem where our customers application server stops > w

Re: java.lang.OutOfMemoryError: PermGen space

2016-10-21 Thread tomcat
lts. -Original Message- From: André Warnier (tomcat) [mailto:a...@ice-sa.com] Sent: 21 October 2016 09:34 To: users@tomcat.apache.org Subject: Re: java.lang.OutOfMemoryError: PermGen space On 21.10.2016 09:46, Moore, Jon, Vodafone UK wrote: Thanks Chris. (and to everyone else who has replied)

RE: java.lang.OutOfMemoryError: PermGen space

2016-10-21 Thread Moore, Jon, Vodafone UK
Sent: 21 October 2016 09:34 To: users@tomcat.apache.org Subject: Re: java.lang.OutOfMemoryError: PermGen space On 21.10.2016 09:46, Moore, Jon, Vodafone UK wrote: > Thanks Chris. (and to everyone else who has replied) > > Yes I am a novice at Java as well. I support the IVR system that po

Re: java.lang.OutOfMemoryError: PermGen space

2016-10-21 Thread tomcat
topher Schultz [mailto:ch...@christopherschultz.net] Sent: 20 October 2016 17:40 To: Tomcat Users List Subject: Re: java.lang.OutOfMemoryError: PermGen space -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jon, On 10/20/16 6:00 AM, Moore, Jon, Vodafone UK wrote: I have a problem where our customers

RE: java.lang.OutOfMemoryError: PermGen space

2016-10-21 Thread Moore, Jon, Vodafone UK
List Subject: Re: java.lang.OutOfMemoryError: PermGen space -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jon, On 10/20/16 6:00 AM, Moore, Jon, Vodafone UK wrote: > I have a problem where our customers application server stops working > intermittently and when we check the Tomcat logs

Re: java.lang.OutOfMemoryError: PermGen space

2016-10-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jon, On 10/20/16 6:00 AM, Moore, Jon, Vodafone UK wrote: > I have a problem where our customers application server stops > working intermittently and when we check the Tomcat logs we get the > message " java.lang.OutOfMemoryError:

Re: java.lang.OutOfMemoryError: PermGen space

2016-10-20 Thread tomcat
On 20.10.2016 12:00, Moore, Jon, Vodafone UK wrote: I have a problem where our customers application server stops working intermittently and when we check the Tomcat logs we get the message " java.lang.OutOfMemoryError: PermGen space" but the Tomcat service is still running, and

Re: java.lang.OutOfMemoryError: PermGen space

2016-10-20 Thread Román Valoria
, Jon, Vodafone UK < jon.mo...@vodafone.com> wrote: > I have a problem where our customers application server stops working > intermittently and when we check the Tomcat logs we get the message " > java.lang.OutOfMemoryError: PermGen space" but the Tomcat service is still

java.lang.OutOfMemoryError: PermGen space

2016-10-20 Thread Moore, Jon, Vodafone UK
I have a problem where our customers application server stops working intermittently and when we check the Tomcat logs we get the message " java.lang.OutOfMemoryError: PermGen space" but the Tomcat service is still running, and we have to restart the Tomcat service. I am a complete n

Re: Exception in thread ""http-bio-8080"-exec-9" java.lang.OutOfMemoryError: Java heap space

2011-05-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 5/30/2011 12:24 PM, André Warnier wrote: > Note also that running out of Heap space does not necessarily mean that > your classes have leaks. It can also mean that they are just using > memory to a point where your allocated Heap space is s

Re: Exception in thread ""http-bio-8080"-exec-9" java.lang.OutOfMemoryError: Java heap space

2011-05-30 Thread André Warnier
my objects are not leaking memory. I am guessing that this is a bug in tomcat 7. Let me know in case you can make any sense out of the trace. === Exception in thread ""http-bio-8080"-exec-12"

RE: Exception in thread ""http-bio-8080"-exec-9" java.lang.OutOfMemoryError: Java heap space

2011-05-30 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: Exception in thread ""http-bio-8080"-exec-9" > java.lang.OutOfMemoryError: Java heap space > I apologise (a little bit) for my original answer You shouldn't apologize; the OP has still not p

Re: Exception in thread ""http-bio-8080"-exec-9" java.lang.OutOfMemoryError: Java heap space

2011-05-30 Thread André Warnier
that this is a bug in tomcat 7. Let me know in case you can make any sense out of the trace. === Exception in thread ""http-bio-8080"-exec-12" java.lang.OutOfMemor

Re: Exception in thread ""http-bio-8080"-exec-9" java.lang.OutOfMemoryError: Java heap space

2011-05-30 Thread André Warnier
You are kidding us, right ? But just in case you are not, what is the part which you do not understand in "java.lang.OutOfMemoryError: Java heap space". ? http://lmgtfy.com/?q=java.lang.OutOfMemoryError:%20Java%20heap%20space sunil.sheva...@wipro.com wrote: Hi, I am gettin

Exception in thread ""http-bio-8080"-exec-9" java.lang.OutOfMemoryError: Java heap space

2011-05-30 Thread sunil.shevante
Hi, I am getting an error as follows "Exception in thread ""http-bio-8080"-exec-9" java.lang.OutOfMemoryError: Java heap space". I am running my jsp application on a windows machine with Tomcat 7.0.8 Any pointers? Thanks in advance, Sunil. Please do

RE: java.lang.OutOfMemoryError: PermGen space

2010-07-16 Thread Caldarale, Charles R
> From: Mehrotra, Anurag [mailto:amehro...@telebright.com] > Subject: java.lang.OutOfMemoryError: PermGen space > > Off lately I have been running into PermGenSpace Out > of memory errors. Are you reloading any webapps? Have you looked inside the heap to see what classes ar

java.lang.OutOfMemoryError: PermGen space

2010-07-16 Thread Mehrotra, Anurag
Off lately I have been running into PermGenSpace Out of memory errors. 07/15/2010 20.08.12 java.lang.OutOfMemoryError: PermGen space After reading few posts I even start the tomcat using the following parameter: -Djava.awt.headless=true -Dfile.encoding=UTF-8 -server -XX:NewSize

Re: Tomcat died on "java.lang.OutOfMemoryError: requested 2147483664 bytes for Chunk::new. Out of swap space?" message

2010-05-28 Thread Rainer Jung
On 28.05.2010 05:12, Leon Kolchinsky wrote: Hello Jung, Thanks for your insights. Learning some new stuff about Java every day ;) I've read this nice blog - http://www.talkingtree.com/blog/index.cfm/2006/4/28/Understanding-HotSpot-in-Plain-English ( UNDERSTANDING HOTSPOT IN PLAIN ENGLISH

Re: Tomcat died on "java.lang.OutOfMemoryError: requested 2147483664 bytes for Chunk::new. Out of swap space?" message

2010-05-28 Thread Kees Jan Koster
Dear Leon, > > It'd be nice to see some speed comparisons between "-client" "-server" and > "-Xint" options and not only "-server" vs "-Xint". > I did some benchmarks with these settings. I was actually exploring hyperthreading in P4 hardware when I found -server to be twice as fast for even simp

Re: Tomcat died on "java.lang.OutOfMemoryError: requested 2147483664 bytes for Chunk::new. Out of swap space?" message

2010-05-27 Thread Leon Kolchinsky
uot;-Xint". Regards, Leon On Fri, May 28, 2010 at 15:28, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Leon Kolchinsky [mailto:lkolc...@gmail.com] > > Subject: Re: Tomcat died on "java.lang.OutOfMemoryError: requested > > 2147483664 bytes

RE: Tomcat died on "java.lang.OutOfMemoryError: requested 2147483664 bytes for Chunk::new. Out of swap space?" message

2010-05-27 Thread Caldarale, Charles R
> From: Leon Kolchinsky [mailto:lkolc...@gmail.com] > Subject: Re: Tomcat died on "java.lang.OutOfMemoryError: requested > 2147483664 bytes for Chunk::new. Out of swap space?" message > > My understanding that the difference between "-client" > and "

Re: Tomcat died on "java.lang.OutOfMemoryError: requested 2147483664 bytes for Chunk::new. Out of swap space?" message

2010-05-27 Thread Leon Kolchinsky
, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Leon Kolchinsky [mailto:lkolc...@gmail.com] > > Subject: Re: Tomcat died on "java.lang.OutOfMemoryError: requested > > 2147483664 bytes for Chunk::new. Out of swap space?" message > > > > I've

RE: Tomcat died on "java.lang.OutOfMemoryError: requested 2147483664 bytes for Chunk::new. Out of swap space?" message

2010-05-27 Thread Caldarale, Charles R
> From: Leon Kolchinsky [mailto:lkolc...@gmail.com] > Subject: Re: Tomcat died on "java.lang.OutOfMemoryError: requested > 2147483664 bytes for Chunk::new. Out of swap space?" message > > I've read this nice blog - > http://www.talkingtree.com/blog/index.cfm/2006

Re: Tomcat died on "java.lang.OutOfMemoryError: requested 2147483664 bytes for Chunk::new. Out of swap space?" message

2010-05-27 Thread Leon Kolchinsky
Caldarale, Charles R wrote: > >> From: Leon Kolchinsky [mailto:lkolc...@gmail.com] >>> Subject: Tomcat died on "java.lang.OutOfMemoryError: requested >>> 2147483664 bytes for Chunk::new. Out of swap space?" message >>> >>> Yesterday I've got this

Re: Tomcat died on "java.lang.OutOfMemoryError: requested 2147483664 bytes for Chunk::new. Out of swap space?" message

2010-05-26 Thread Leon Kolchinsky
le, Charles R" < > chuck.caldar...@unisys.com> > To: "Tomcat Users List" > Sent: Wednesday, May 26, 2010 8:00 AM > > Subject: RE: Tomcat died on "java.lang.OutOfMemoryError: requested > 2147483664 bytes for Chunk::new. Out of swap space?" mes

Re: Tomcat died on "java.lang.OutOfMemoryError: requested 2147483664 bytes for Chunk::new. Out of swap space?" message

2010-05-26 Thread Rainer Jung
On 26.05.2010 16:38, Rainer Jung wrote: On 26.05.2010 14:49, Caldarale, Charles R wrote: From: Leon Kolchinsky [mailto:lkolc...@gmail.com] Subject: Tomcat died on "java.lang.OutOfMemoryError: requested 2147483664 bytes for Chunk::new. Out of swap space?" message Yesterday I've

RE: Tomcat died on "java.lang.OutOfMemoryError: requested 2147483664 bytes for Chunk::new. Out of swap space?" message

2010-05-26 Thread Caldarale, Charles R
> From: Rainer Jung [mailto:rainer.j...@kippdata.de] > Subject: Re: Tomcat died on "java.lang.OutOfMemoryError: requested > 2147483664 bytes for Chunk::new. Out of swap space?" message > > Option 1: Use the client Hot Sopt compiler (Add "-client" when > sta

Re: Tomcat died on "java.lang.OutOfMemoryError: requested 2147483664 bytes for Chunk::new. Out of swap space?" message

2010-05-26 Thread Rainer Jung
On 26.05.2010 14:49, Caldarale, Charles R wrote: From: Leon Kolchinsky [mailto:lkolc...@gmail.com] Subject: Tomcat died on "java.lang.OutOfMemoryError: requested 2147483664 bytes for Chunk::new. Out of swap space?" message Yesterday I've got this error in catalina.out and T

Re: Tomcat died on "java.lang.OutOfMemoryError: requested 2147483664 bytes for Chunk::new. Out of swap space?" message

2010-05-26 Thread Carl
testing 6u20 as I would like to keep current so I don't have any security issues hanging out. Thanks, Carl - Original Message - From: "Caldarale, Charles R" To: "Tomcat Users List" Sent: Wednesday, May 26, 2010 8:00 AM Subject: RE: Tomcat died on "java.la

RE: Tomcat died on "java.lang.OutOfMemoryError: requested 2147483664 bytes for Chunk::new. Out of swap space?" message

2010-05-26 Thread Caldarale, Charles R
> From: Caldarale, Charles R > Subject: RE: Tomcat died on "java.lang.OutOfMemoryError: requested > 2147483664 bytes for Chunk::new. Out of swap space?" message > > The current JVM version is 6u20, so you might want to try running with > that before filing a bug repor

Re: Tomcat died on "java.lang.OutOfMemoryError: requested 2147483664 bytes for Chunk::new. Out of swap space?" message

2010-05-26 Thread Pid
oncurrent users using this application in at >>> this stage (testing now). >>> >>> >>> Yesterday I've got this error in catalina.out and Tomcat died (I'm >>> attaching hs_err_pid5460.log file): >>> # >>> # A fatal error

RE: Tomcat died on "java.lang.OutOfMemoryError: requested 2147483664 bytes for Chunk::new. Out of swap space?" message

2010-05-26 Thread Caldarale, Charles R
> From: Leon Kolchinsky [mailto:lkolc...@gmail.com] > Subject: Tomcat died on "java.lang.OutOfMemoryError: requested > 2147483664 bytes for Chunk::new. Out of swap space?" message > > Yesterday I've got this error in catalina.out and Tomcat died (I'm > attach

Re: Tomcat died on "java.lang.OutOfMemoryError: requested 2147483664 bytes for Chunk::new. Out of swap space?" message

2010-05-26 Thread Rainer Jung
talina.out and Tomcat died (I'm attaching hs_err_pid5460.log file): # # A fatal error has been detected by the Java Runtime Environment: # # java.lang.OutOfMemoryError: requested 2147483664 bytes for Chunk::new. Out of swap space? What was the last task that it was doing before requesting

Re: Tomcat died on "java.lang.OutOfMemoryError: requested 2147483664 bytes for Chunk::new. Out of swap space?" message

2010-05-26 Thread Tobias Crefeld
Am Wed, 26 May 2010 13:08:23 +1000 schrieb Leon Kolchinsky : > # A fatal error has been detected by the Java Runtime Environment: > # > # java.lang.OutOfMemoryError: requested 2147483664 bytes for > Chunk::new. Out of swap space? Without knowing the application I would strongly esti

Re: Tomcat died on "java.lang.OutOfMemoryError: requested 2147483664 bytes for Chunk::new. Out of swap space?" message

2010-05-26 Thread Pid
error in catalina.out and Tomcat died (I'm > attaching hs_err_pid5460.log file): > # > # A fatal error has been detected by the Java Runtime Environment: > # > # java.lang.OutOfMemoryError: requested 2147483664 bytes for Chunk::new. > Out of swap space? What was the last task

Re: How to solve the problem "java.lang.OutOfMemoryError: unable to create new native thread" in Tomcat5.5.26

2009-12-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter, On 12/1/2009 1:51 AM, Peter Chen wrote: > The memory given to the JVM is $JAVA_OPTS -Xms512m -Xmx1024m > The memory of the Solaris system is: Memory size: 4096 Megabytes > > The result of executing command ulimit -a is as follows: > -bash-3.00

RE: How to solve the problem "java.lang.OutOfMemoryError: unable to create new native thread" in Tomcat5.5.26

2009-11-30 Thread Peter Chen
-3.00$ -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: 2009年11月30日 18:38 To: Tomcat Users List Subject: Re: How to solve the problem "java.lang.OutOfMemoryError: unable to create new native thread" in Tomcat5.5.26 Peter Chen wrote: > Hi, > > >

Re: How to solve the problem "java.lang.OutOfMemoryError: unable to create new native thread" in Tomcat5.5.26

2009-11-30 Thread Christopher Schultz
ersion is >> 1.5.0.12, and following is the detail of stack information. > ... > >> >> SEVERE: Caught exception (java.lang.OutOfMemoryError: unable to create >> new native thread) executing >> org.apache.tomcat.util.net.leaderfollowerworkerthr...@958b36, >

Re: How to solve the problem "java.lang.OutOfMemoryError: unable to create new native thread" in Tomcat5.5.26

2009-11-30 Thread Rainer Frey (Inxmail GmbH)
29, 2009 12:41:16 AM > > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable run > > SEVERE: Caught exception (java.lang.OutOfMemoryError: unable to create > new native thread) executing > org.apache.tomcat.util.net.leaderfollowerworkerthr...@958b36, While Andre is right that system memor

RE: How to solve the problem "java.lang.OutOfMemoryError: unable to create new native thread" in Tomcat5.5.26

2009-11-30 Thread Looijmans, Mike
> > SEVERE: Caught exception (java.lang.OutOfMemoryError: > unable to create > > new native thread) executing > > org.apache.tomcat.util.net.leaderfollowerworkerthr...@958b36, > > > ... > > Has anyone met this problem? Please give me some advice, thanks i

Re: How to solve the problem "java.lang.OutOfMemoryError: unable to create new native thread" in Tomcat5.5.26

2009-11-30 Thread Peter Crowther
2009/11/30 Peter Chen : > I meet one problem of OutOfMemoryError when I am running the > Tomcat5.5.26. The OS is Solaris 10 sparc, and the JVM version is > 1.5.0.12, and following is the detail of stack information. > > SEVERE: Caught exception (java.lang.OutOfMemoryError: unable

Re: How to solve the problem "java.lang.OutOfMemoryError: unable to create new native thread" in Tomcat5.5.26

2009-11-30 Thread André Warnier
Peter Chen wrote: Hi, I meet one problem of OutOfMemoryError when I am running the Tomcat5.5.26. The OS is Solaris 10 sparc, and the JVM version is 1.5.0.12, and following is the detail of stack information. ... SEVERE: Caught exception (java.lang.OutOfMemoryError: unable to create

How to solve the problem "java.lang.OutOfMemoryError: unable to create new native thread" in Tomcat5.5.26

2009-11-30 Thread Peter Chen
: Caught exception (java.lang.OutOfMemoryError: unable to create new native thread) executing org.apache.tomcat.util.net.leaderfollowerworkerthr...@958b36, terminating thread Exception in thread "SIGTERM handler" java.lang.OutOfMemoryError: unable to create new native thread

Re: Call for help about the problem "java.lang.OutOfMemoryError: unable to create new native thread" in Tomcat5.5.26

2009-11-30 Thread André Warnier
Pid wrote: On 30/11/2009 09:39, Peter Chen wrote: Hi everyone, ... Please stop replying to Andre's message in the "Tomcat 5.17 crashes too often" thread and just deleting the subject line & contents of the message. You may well be completely ignored after this. Peter, on a list server s

Re: Call for help about the problem "java.lang.OutOfMemoryError: unable to create new native thread" in Tomcat5.5.26

2009-11-30 Thread Pid
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable run SEVERE: Caught exception (java.lang.OutOfMemoryError: unable to create new native thread) executing org.apache.tomcat.util.net.leaderfollowerworkerthr...@958b36, terminating thread Exception in thread "SIGTERM handler" java.lang.OutOfMemoryError: unable to

Call for help about the problem "java.lang.OutOfMemoryError: unable to create new native thread" in Tomcat5.5.26

2009-11-30 Thread Peter Chen
: Caught exception (java.lang.OutOfMemoryError: unable to create new native thread) executing org.apache.tomcat.util.net.leaderfollowerworkerthr...@958b36, terminating thread Exception in thread "SIGTERM handler" java.lang.OutOfMemoryError: unable to create new native thread

Re: Call for help about the problem "java.lang.OutOfMemoryError: unable to create new native thread" in Tomcat5.5.26

2009-11-30 Thread Pid
(java.lang.OutOfMemoryError: unable to create new native thread) executing org.apache.tomcat.util.net.leaderfollowerworkerthr...@958b36, terminating thread Exception in thread "SIGTERM handler" java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thr

Call for help about the problem "java.lang.OutOfMemoryError: unable to create new native thread" in Tomcat5.5.26

2009-11-30 Thread Peter Chen
Hello everyone, I meet one problem of OutOfMemoryError when I am running the Tomcat5.5.26, the following is the detail of stack information. Nov 29, 2009 12:41:16 AM org.apache.tomcat.util.threads.ThreadPool$ControlRunnable run SEVERE: Caught exception (java.lang.OutOfMemoryError: unable to

Re: java.lang.OutOfMemoryError: Java heap space

2009-10-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, Another correction to the code: On 10/8/2009 4:22 PM, Christopher Schultz wrote: > public static class SoftReferenceSessionWrapper > implements HttpSession > { Remember to implement getValue and putValue to call getAttribute and setAttr

Re: java.lang.OutOfMemoryError: Java heap space

2009-10-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, A correction to my code: On 10/8/2009 4:22 PM, Christopher Schultz wrote: > public class SoftReferenceFilter > implements Filter > { This class needs two additional methods: public void init(FilterChain chain) { } public void des

Re: java.lang.OutOfMemoryError: Java heap space

2009-10-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joe, On 10/8/2009 12:12 PM, Joe Hansen wrote: > I will now think twice before I store anything in the session and > will make sure I remove no longer used objects from the HTTP > Session. It's always a good goal to limit your session size, but it's n

RE: java.lang.OutOfMemoryError: Java heap space

2009-10-08 Thread Caldarale, Charles R
> From: Joe Hansen [mailto:joe.hansen...@gmail.com] > Subject: Re: java.lang.OutOfMemoryError: Java heap space > > Is the use of SoftReference popular? You'll find it as the underlying mechanism of many cache managers, since it automatically adapts reasonably well to whate

Re: java.lang.OutOfMemoryError: Java heap space

2009-10-08 Thread Joe Hansen
> Yup, it looks like you have more of your application objects taking up > memory than the tickets you were worried about. So True! We are right now designing and developing our next generation of websites and this experience will surely come handy. I will now think twice before I store anything i

RE: java.lang.OutOfMemoryError: Java heap space

2009-10-07 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: java.lang.OutOfMemoryError: Java heap space > > There are even techniques that will allow your session objects to > expire when memory gets tight (which is super cool IMO). To put a name on the above

Re: java.lang.OutOfMemoryError: Java heap space

2009-10-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joe, On 10/7/2009 8:40 PM, Joe Hansen wrote: > WoW! "jmap" was a great command to learn Chris! Thank you so much! Yeah, it's great as a poor-man's memory profiler. On the other hand, I haven't seen a big-time memory profiler offer such a simple view

Re: java.lang.OutOfMemoryError: Java heap space

2009-10-07 Thread Joe Hansen
WoW! "jmap" was a great command to learn Chris! Thank you so much! I generated a histogram of the Objects in the java heap (while things were stable) and here's what I got: Object Histogram: SizeCount Class description --- 149989048

Re: java.lang.OutOfMemoryError: Java heap space

2009-10-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joe, On 10/6/2009 3:44 PM, Joe Hansen wrote: > I did not check the CPU usage when the issue happened. I just checked > the web application logs and found that first there was an > OutOfMemoryError, followed by MySQL errors when > TWFotoSetListDAO.get

Re: java.lang.OutOfMemoryError: Java heap space

2009-10-06 Thread Peter Crowther
2009/10/6 Joe Hansen : > Andre, you are right. Memory is cheap. However, the machine has 8GB of > memory already. I am thinking that it should be sufficient. You might wish to dedicate more of that 8 Gbyte to Java, though. It depends on the performance characteristics of your application - looks

Re: java.lang.OutOfMemoryError: Java heap space

2009-10-06 Thread Joe Hansen
I changed the session-timeout for the CAS webapp to 1 hour and restarted Apache/Tomcat to see if that changes anything. If the issue manifests again, I will surely check the memory and cpu usage using the top command. Rainer, I somewhat doubt that getAllFotosets() is causing the problem. Because I

Re: java.lang.OutOfMemoryError: Java heap space

2009-10-06 Thread André Warnier
Rainer Jung wrote: On 06.10.2009 21:44, Joe Hansen wrote: ... It seems your application is CPU heavy. Either the data objects handled are to heavy weight (maybe some user having huge Fotoset or Email list) or the request rate is simply to large. Is the CPU saturated during the problems? I wou

Re: java.lang.OutOfMemoryError: Java heap space

2009-10-06 Thread Rainer Jung
s having extremely large social data. So once they hit the server it went OOME. > Thanks, > Joe Regards, Rainer > 2009 Oct 06 / 10:48:43 ERROR - > [org.apache.catalina.core.ContainerBase] : Exception invoking periodic > operation: > java.lang.OutOfMemoryError: Java heap space &

Re: java.lang.OutOfMemoryError: Java heap space

2009-10-06 Thread Joe Hansen
ation: java.lang.OutOfMemoryError: Java heap space 2009 Oct 06 / 10:48:43 FATAL - [tw.conn.TWConnectionManager] : com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION ** java.io.EOFException STACKTRACE: java.io.EOFException

Re: java.lang.OutOfMemoryError: Java heap space

2009-10-06 Thread Rainer Jung
On 06.10.2009 19:44, Joe Hansen wrote: I will only comment the threads for the AJP pool. Everything else seems not relevant: Dump 1: 20 threads connected to Apache, waiting for the next request 3 threads idle in the pool 1 thread waiting for the next connection 0 threads working on requests D

Re: java.lang.OutOfMemoryError: Java heap space

2009-10-06 Thread Joe Hansen
There were 29 httpd processes running when the websites crashed. One thing that was clear from the thread dumps was there were lots of entries for org.jasig.cas.ticket.registry.support.DefaultTicketRegistryCleaner: Starting cleaning of expired tickets from ticket registry at ... Does that indicat

Re: java.lang.OutOfMemoryError: Java heap space

2009-10-06 Thread Joe Hansen
Rainer, I spoke to soon! As I suspected, the problem isn't fixed yet and the websites crashed again. This time I took three thread dumps at the time tomcat was down. Here they are: http://pastebin.com/m2a7e1198 I will learn from your previous analysis of the thread dumps and I try to understand w

Re: java.lang.OutOfMemoryError: Java heap space

2009-10-06 Thread Joe Hansen
Rainer, Thanks for looking at those long thread dumps for me!! I am sorry. I did NOT take these dumps at the right time (i.e. when Tomcat was inundated with requests and couldn't cope with the load). After I increased the heap size to 512MB (from 64MB default), I am not getting the OutOfMemoryErr

Re: java.lang.OutOfMemoryError: Java heap space

2009-10-06 Thread Rainer Jung
On 05.10.2009 18:58, Joe Hansen wrote: > Thank you so much for your tips, Rainer! > > The websites went down yet again. Increasing the java heap size took > care of the OutOfMemoryError, but the number of httpd processes keep > increasing until the websites crash. I haven't added any new code in >

Re: java.lang.OutOfMemoryError: Java heap space

2009-10-06 Thread Rainer Jung
public web server yourself. >> >> If you don't want to post in public, you can also mail it to me, I will >> post the result, in case I find something relevant. >> >> Regards, >> >> Rainer >> >>> On Sat, Oct 3, 2009 at 12:24 PM, Rainer Jung

Re: java.lang.OutOfMemoryError: Java heap space

2009-10-06 Thread Rainer Jung
On 05.10.2009 22:04, André Warnier wrote: > André Warnier wrote: > ... > and still wants to add something : > > - a new KeepAlive connection is made from the browser to Apache (httpd). > - then a request comes in on that connection, and it happens to be one > that gets forwarded to Tomcat. So a m

Re: java.lang.OutOfMemoryError: Java heap space

2009-10-05 Thread Joe Hansen
Andre, Thanks for pointing out the high KeepAliveTimeout value in the config file. I have read the docs and have changed it to 5 seconds (which is the default). I am hoping that Rainer could find out from the thread dump where the requests are getting stuck, so that I can put this issue to bed. T

RE: java.lang.OutOfMemoryError: Java heap space

2009-10-05 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: java.lang.OutOfMemoryError: Java heap space > > The bottleneck would be in Tomcat, but it would show up at the > httpd level. The bottleneck might also be in something external to Tomcat, such as a database or so

Re: java.lang.OutOfMemoryError: Java heap space

2009-10-05 Thread André Warnier
André Warnier wrote: ... and still wants to add something : - a new KeepAlive connection is made from the browser to Apache (httpd). - then a request comes in on that connection, and it happens to be one that gets forwarded to Tomcat. So a mod_jk connection is made to Tomcat, Tomcat allocates

  1   2   3   >