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: 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: 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: java.lang.OutOfMemoryError: PermGen space

2009-09-16 Thread Caldarale, Charles R
> From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] > Subject: RE: java.lang.OutOfMemoryError: PermGen space > > what good does it do to set this value? Unless I've got extremely predictable behavior from my webapps that never varies with time, load, phase of the moo

RE: java.lang.OutOfMemoryError: PermGen space

2009-09-16 Thread Jeffrey Janner
>> I stated before, I don't think the MaxNewSize option is available >> anymore. You should be using NewRatio instead. >MaxNewSize is still functional in 1.6; haven't looked in 1.7. Chuck, what good does it do to set this value? Is it any better than setting NewRatio? ***

RE: java.lang.OutOfMemoryError: PermGen space

2009-09-16 Thread Jeffrey Janner
sday, September 16, 2009 9:54 AM To: Tomcat Users List Subject: RE: java.lang.OutOfMemoryError: PermGen space > From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] > Subject: RE: java.lang.OutOfMemoryError: PermGen space > > Something else Bruce can look into is if his apps are us

RE: java.lang.OutOfMemoryError: PermGen space

2009-09-16 Thread Caldarale, Charles R
> From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] > Subject: RE: java.lang.OutOfMemoryError: PermGen space > > It appeared each app loaded its own version of the library > into PermGen That is correct, since each webapp has its own classloader. > I stated before,

RE: java.lang.OutOfMemoryError: PermGen space

2009-09-16 Thread Jeffrey Janner
Subject: RE: java.lang.OutOfMemoryError: PermGen space > From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] > Subject: RE: java.lang.OutOfMemoryError: PermGen space > > See my other posts, I did re-read the tuning guide and it specifically > states PermGen is part of Heap.

RE: java.lang.OutOfMemoryError: PermGen space

2009-09-16 Thread Jeffrey Janner
, 2009 9:58 AM To: Tomcat Users List Subject: Re: java.lang.OutOfMemoryError: PermGen space What's "too many classes" ? I have JConsole running, and I see that across my 8 apps on one server, 14,000 classes are loaded. Heap usage is around 1GB.With the settings below, I am not seeing Per

RE: java.lang.OutOfMemoryError: PermGen space

2009-09-16 Thread Caldarale, Charles R
> From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] > Subject: RE: java.lang.OutOfMemoryError: PermGen space > > Here's another Sun doc that specifically states that PermGen is an area > of the Heap. Paper != code. PermGen is logically part of the overall heap,

RE: java.lang.OutOfMemoryError: PermGen space

2009-09-16 Thread Caldarale, Charles R
> From: Bruce Wayne [mailto:chur...@gmail.com] > Subject: Re: java.lang.OutOfMemoryError: PermGen space > > What's "too many classes" ? More than will fit in PermGen. > Heap usage is around 1GB. You need to be more specific; post the sizes for each portion o

RE: java.lang.OutOfMemoryError: PermGen space

2009-09-16 Thread Jeffrey Janner
self. Jeff -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Wednesday, September 16, 2009 9:51 AM To: Tomcat Users List Subject: RE: java.lang.OutOfMemoryError: PermGen space > From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com]

RE: java.lang.OutOfMemoryError: PermGen space

2009-09-16 Thread Caldarale, Charles R
> From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] > Subject: RE: java.lang.OutOfMemoryError: PermGen space > > See my other posts, I did re-read the tuning guide and it specifically > states PermGen is part of Heap. The total heap (NewGen + OldGen + PermGen) is a

RE: java.lang.OutOfMemoryError: PermGen space

2009-09-16 Thread Jeffrey Janner
: Wednesday, September 16, 2009 9:31 AM To: Tomcat Users List Subject: RE: java.lang.OutOfMemoryError: PermGen space Chuck - I couldn't tell from the post if the Architecture line meant hardware, OS, or JVM. And I'm under the impression from multiple re-reads of the Java tuning doc

Re: java.lang.OutOfMemoryError: PermGen space

2009-09-16 Thread Bruce Wayne
sing common jar > files that can be loaded into Shared space. > Jeff > > -Original Message- > From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] > Sent: Wednesday, September 16, 2009 9:31 AM > To: Tomcat Users List > Subject: RE: java.lang.OutOfMemoryError: P

RE: java.lang.OutOfMemoryError: PermGen space

2009-09-16 Thread Caldarale, Charles R
> From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] > Subject: RE: java.lang.OutOfMemoryError: PermGen space > > Something else Bruce can look into is if his apps are using common jar > files that can be loaded into Shared space. That's almost always a bad idea, si

RE: java.lang.OutOfMemoryError: PermGen space

2009-09-16 Thread Caldarale, Charles R
> From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] > Subject: RE: java.lang.OutOfMemoryError: PermGen space > > I couldn't tell from the post if the Architecture line meant hardware, > OS, or JVM. A little experimentation will show that the value is dependent on

RE: java.lang.OutOfMemoryError: PermGen space

2009-09-16 Thread Jeffrey Janner
, September 16, 2009 9:31 AM To: Tomcat Users List Subject: RE: java.lang.OutOfMemoryError: PermGen space Chuck - I couldn't tell from the post if the Architecture line meant hardware, OS, or JVM. And I'm under the impression from multiple re-reads of the Java tuning docs that ALL gener

RE: java.lang.OutOfMemoryError: PermGen space

2009-09-16 Thread Jeffrey Janner
riginal Message- From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Sent: Wednesday, September 16, 2009 9:31 AM To: Tomcat Users List Subject: RE: java.lang.OutOfMemoryError: PermGen space Chuck - I couldn't tell from the post if the Architecture line meant hardware, OS, or JVM. And

RE: java.lang.OutOfMemoryError: PermGen space

2009-09-16 Thread Jeffrey Janner
ubject: RE: java.lang.OutOfMemoryError: PermGen space > From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] > Subject: RE: java.lang.OutOfMemoryError: PermGen space > > You don't say if the JVM is 32-bit or 64-bit Actually, he did: > Architecture: amd64 > JVM Version:1

RE: java.lang.OutOfMemoryError: PermGen space

2009-09-16 Thread Caldarale, Charles R
> From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] > Subject: RE: java.lang.OutOfMemoryError: PermGen space > > You don't say if the JVM is 32-bit or 64-bit Actually, he did: > Architecture: amd64 > JVM Version:1.6.0_16-b01 > JVM Vendor:

RE: java.lang.OutOfMemoryError: PermGen space

2009-09-16 Thread Jeffrey Janner
sday, September 16, 2009 6:49 AM To: users@tomcat.apache.org Subject: java.lang.OutOfMemoryError: PermGen space Hello, I am running Red Hat Linux 2.6.18-164.el5 #1 SMP x86_64 x86_64 x86_64 GNU/Linux with Tomcat 6 as seen below: # /opt/tomcat/bin/version.sh Using CATALINA_BASE: /opt/tomcat Using

RE: java.lang.OutOfMemoryError: PermGen space

2009-09-16 Thread Caldarale, Charles R
> From: Bruce Wayne [mailto:chur...@gmail.com] > Subject: java.lang.OutOfMemoryError: PermGen space > > I keep getting the following error: > java.lang.OutOfMemoryError: PermGen space 1) Use JConsole or equivalent to verify that you are actually using 1G of PermGen. 2) Turn on

java.lang.OutOfMemoryError: PermGen space

2009-09-16 Thread Bruce Wayne
_OPTS -Djava.awt.headless=true -Dfile.encoding=UTF-8 -server -Xms2048m -Xmx2048m -XX:NewSize=1024m -XX:MaxNewSize=1024m -XX:PermSize=1024m -XX:MaxPermSize=1024m -XX:+DisableExplicitGC" My system has 6GB of RAM. I keep getting the following error: java.lang.OutOfMemoryError: Per

Re: java.lang.OutOfMemoryError: PermGen space

2008-06-12 Thread Shashidhar Rampally
Thanks for the quick reply Chuck! I found java5w.exe immediately after I sent the email. Increasing the heap did not solve my issue. I had to increase the PermSize by setting -XX:MaxPermSize=256m Now I am getting some IO and RMI exceptions. However, they are all related to Alfrsco. Thanks again!

RE: java.lang.OutOfMemoryError: PermGen space

2008-06-12 Thread Caldarale, Charles R
> From: Shashidhar Rampally [mailto:[EMAIL PROTECTED] > Subject: java.lang.OutOfMemoryError: PermGen space > > I need to increase the heap space by adding -Xms128m -Xmx512m > to either JAVA_OPTS or CATALINA_OPTS environment variable That won't help if you're running out o

java.lang.OutOfMemoryError: PermGen space

2008-06-12 Thread Shashidhar Rampally
Hey all, I have deployed Alfresco (http://www.alfresco.com) on my Apache2.0+modjk_Tomcat5.5.9 installation running on a Windows XP box. Now, when I start Tomcat I get an OutOfMemoryError. I have searched a lot and almost all posts say that I need to increase the heap space by adding -Xms128m -Xmx5

RE: Tomcat 5.5.26 + JDK 6_05 - java.lang.OutOfMemoryError: PermGen Space

2008-06-12 Thread Caldarale, Charles R
> From: Estevam Henrique Portela Mota e Silva > [mailto:[EMAIL PROTECTED] > Subject: Tomcat 5.5.26 + JDK 6_05 - > java.lang.OutOfMemoryError: PermGen Space > > Good Afternoon, > > Memory (Initial memory pool: 512mb and Maximum memory pool: 1024mb) > Server: >

Tomcat 5.5.26 + JDK 6_05 - java.lang.OutOfMemoryError: PermGen Space

2008-06-12 Thread Estevam Henrique Portela Mota e Silva
ng of request failed with uncaught exception: PermGen space java.lang.OutOfMemoryError: PermGen Space How resolved? -- Regards, Estevam Henrique Portela Mota e Silva Handicapped Auditory = deaf [EMAIL PROTECTED] / [EMAIL PROTECTED] Programmer Java and Tapestry Brazil - Fortaleza / CE

Re: java.lang.OutOfMemoryError: PermGen space

2007-11-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ed, Edward Dowgiallo wrote: > I'm getting this error on a development server as we constantly > redeploy the same app for testing. The problem does not occur until > after several dozen redeployments. This makes sense since each > redeployment conta

RE: java.lang.OutOfMemoryError: PermGen space

2007-11-16 Thread Peter Crowther
> From: loredana loredana [mailto:[EMAIL PROTECTED] > I'm having some problems figuring out what webapp is causing > this problem. It's not simple! However, the main use for PermGen is storage for classes. Do you have any webapps that dynamically generate classes? Is it happening when you red

Re: java.lang.OutOfMemoryError: PermGen space

2007-11-16 Thread Martin Gainty
info available at http://mia.ece.uic.edu/~papers/WWW/MultimediaStandards/Parsers.pdf M- - Original Message - From: "loredana loredana" <[EMAIL PROTECTED]> To: Sent: Friday, November 16, 2007 9:11 AM Subject: java.lang.OutOfMemoryError: PermGen space > I'm havin

Re: java.lang.OutOfMemoryError: PermGen space

2007-11-16 Thread Edward Dowgiallo
I'm getting this error on a development server as we constantly redeploy the same app for testing. The problem does not occur until after several dozen redeployments. This makes sense since each redeployment contains new versions of some of the application's classes. Ed On 11/16/07, Peter Crowt

Re: java.lang.OutOfMemoryError: PermGen space

2007-11-16 Thread loredana loredana
look into the xerces solution. 10x - Original Message From: Martin Gainty <[EMAIL PROTECTED]> To: Tomcat Users List Sent: Friday, November 16, 2007 4:53:42 PM Subject: Re: java.lang.OutOfMemoryError: PermGen space 2 options will help Xerces consume less memory 1)turn OFF va

java.lang.OutOfMemoryError: PermGen space

2007-11-16 Thread loredana loredana
I'm having some problems figuring out what webapp is causing this problem. I figure the cause of this is the fact that garbage collector does not clean up and memory allocated for java object generation is used . Right now i have a hunch on one of the webapps: I have an application which connect

Re: java.lang.OutOfMemoryError: PermGen space .

2007-02-21 Thread Mohan Wickramasinghe
try setting in JVM paramerter MaxPermSize=256m (if using linux) > hi, > > I am using RHEL 4 and Tomcat. I have restarted my tomcat. > > After restarting my Tomcat server i am getting the following error while i > try to view some jsp pages > > > *java.lang.OutO

RE: java.lang.OutOfMemoryError: PermGen space .

2007-02-21 Thread Peter Crowther
> From: Muruganantham [mailto:[EMAIL PROTECTED] > *java.lang.OutOfMemoryError: PermGen space* . http://tomcat.apache.org/faq/memory.html - search for "MaxPermSize". - Peter - To start a new topi

java.lang.OutOfMemoryError: PermGen space .

2007-02-21 Thread Muruganantham
hi, I am using RHEL 4 and Tomcat. I have restarted my tomcat. After restarting my Tomcat server i am getting the following error while i try to view some jsp pages *java.lang.OutOfMemoryError: PermGen space* . Please any one help me. Thanks, M.Muruganantham. -- Regards

Re: AW: java.lang.OutOfMemoryError: PermGen space

2006-06-06 Thread Christian Reichlin
on: Antonio Petrelli [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 6. Juni 2006 15:38 An: Tomcat Users List Betreff: Re: java.lang.OutOfMemoryError: PermGen space Peter Neu ha scritto: Hello, I have many memory consuming apps on my tomcat server. I a lot pdf & excel generation. So every oth

AW: java.lang.OutOfMemoryError: PermGen space

2006-06-06 Thread Peter Neu
Betreff: Re: java.lang.OutOfMemoryError: PermGen space Peter Neu ha scritto: > Hello, > > > > I have many memory consuming apps on my tomcat server. I a lot pdf & excel > generation. So every other week I get this error > > > > java.lang.OutOfMemor

Re: java.lang.OutOfMemoryError: PermGen space

2006-06-06 Thread Antonio Petrelli
Peter Neu ha scritto: Hello, I have many memory consuming apps on my tomcat server. I a lot pdf & excel generation. So every other week I get this error java.lang.OutOfMemoryError: PermGen space http://wiki.apache.org/tomcat/OutOfMemory HTH Ant

Re: java.lang.OutOfMemoryError: PermGen space

2006-06-06 Thread Christian Reichlin
Peter Neu schrieb: Hello, I have many memory consuming apps on my tomcat server. I a lot pdf & excel generation. So every other week I get this error java.lang.OutOfMemoryError: PermGen space I know the root of this error is that the garbage collector does not clean up a

Re: java.lang.OutOfMemoryError: PermGen space

2006-06-06 Thread William Bonnet
Hi > I have many memory consuming apps on my tomcat server. I a lot pdf & excel > generation. So every other week I get this error > > > > java.lang.OutOfMemoryError: PermGen space Try to add more space for PermGen using -XX:MaxPermSize=256m I think default is

Re: java.lang.OutOfMemoryError: PermGen space

2006-06-06 Thread Ingo Rockel
xcel generation. So every other week I get this error java.lang.OutOfMemoryError: PermGen space I know the root of this error is that the garbage collector does not clean up and memory allocated for java object generation is used up. But what can I do about it? If I allocate more memory I&#x

java.lang.OutOfMemoryError: PermGen space

2006-06-06 Thread Peter Neu
Hello, I have many memory consuming apps on my tomcat server. I a lot pdf & excel generation. So every other week I get this error java.lang.OutOfMemoryError: PermGen space I know the root of this error is that the garbage collector does not clean up and memory allocated for

Re: java.lang.OutOfMemoryError: PermGen space

2005-12-28 Thread Rodrigo Ruiz
I guess it does not. Such an action should be considered a responsibility of the web application. Anyway, you could suggest this in the Tomcat bug list as a new feature. Surely, it will not hurt ;-D Regards, Rodrigo Ruiz On 12/23/05, Durfee, Bernard <[EMAIL PROTECTED]> wrote: > > Does Tomcat cal

RE: java.lang.OutOfMemoryError: PermGen space

2005-12-23 Thread Durfee, Bernard
Does Tomcat call releaseAll() when a web-app is undeployed? Bernie > - It is very common to find a declaration like this: > > private static final Log log = LogFactory.getLog(MyClass.class); > > From the commons-logging API documentation: > > "LogFactory needs to keep a static map of L

Re: java.lang.OutOfMemoryError: PermGen space

2005-12-23 Thread Stephen Caine
Chuck, For starters, I'd try -verbose:gc and perhaps -verbose:class to give you a general idea of what's happening when. There are many flavors of profilers out there, a lot of them free. (Our customers tend to go for the premium stuff like Wily Introscope, which definitely isn't free,

RE: java.lang.OutOfMemoryError: PermGen space

2005-12-23 Thread Rodrigo Ruiz
Mike, The PermGen space is the area where classes, methods and the like are stored. There are two possibilities to the cause of this OutOfMemory: - The best case: the application is simply loading too many classes, and they do not fit in the PermGen space. In this case, it will be enough to i

RE: java.lang.OutOfMemoryError: PermGen space

2005-12-22 Thread Caldarale, Charles R
> From: Stephen Caine [mailto:[EMAIL PROTECTED] > Subject: Re: java.lang.OutOfMemoryError: PermGen space > > Thank you for your thoughts. I am using a Quad 4 Mac OS X with a > 1.4.2 JVM. Any recommendations for testing tools so I can monitor > memory allocations, garb

Re: java.lang.OutOfMemoryError: PermGen space

2005-12-22 Thread Wade Chandler
gt; To: Tomcat Users List Sent: Thursday, December 22, 2005 21:55:41 Subject: Re: java.lang.OutOfMemoryError: PermGen space Chuck, > I can only speculate that reducing the size of the NewGen area (due > to the larger value of NewRatio) forced more frequent collections > of recently al

Re: java.lang.OutOfMemoryError: PermGen space

2005-12-22 Thread Wade Chandler
ne <[EMAIL PROTECTED]> To: Tomcat Users List Sent: Thursday, December 22, 2005 20:00:59 Subject: Re: java.lang.OutOfMemoryError: PermGen space Chuck, > > Sorry, but that's wrong. It's the ratio between the size reserved > for newly allocated objects (New Generation) and that

Re: java.lang.OutOfMemoryError: PermGen space

2005-12-22 Thread Stephen Caine
Chuck, I can only speculate that reducing the size of the NewGen area (due to the larger value of NewRatio) forced more frequent collections of recently allocated objects, thereby eliminating some class object references. Without knowing a lot more about your applications and doing some

Re: java.lang.OutOfMemoryError: PermGen space

2005-12-22 Thread Peter Lin
ECTED]> wrote: > > > From: Stephen Caine [mailto:[EMAIL PROTECTED] > > Subject: Re: java.lang.OutOfMemoryError: PermGen space > > > > In either case though, changing the ratio had a dramatic > > effect on our 'out of memory' problems. Any insights as > &g

RE: java.lang.OutOfMemoryError: PermGen space

2005-12-22 Thread Caldarale, Charles R
> From: Stephen Caine [mailto:[EMAIL PROTECTED] > Subject: Re: java.lang.OutOfMemoryError: PermGen space > > In either case though, changing the ratio had a dramatic > effect on our 'out of memory' problems. Any insights as > to why? I can only speculate that red

Re: java.lang.OutOfMemoryError: PermGen space

2005-12-22 Thread Stephen Caine
Chuck, Sorry, but that's wrong. It's the ratio between the size reserved for newly allocated objects (New Generation) and that used for long- lived objects (Tenured or Old Generation)... I stand corrected. In either case though, changing the ratio had a dramatic effect on our 'out of me

RE: java.lang.OutOfMemoryError: PermGen space

2005-12-22 Thread Caldarale, Charles R
> From: Stephen Caine [mailto:[EMAIL PROTECTED] > Subject: Re: java.lang.OutOfMemoryError: PermGen space > > The key setting, "-XX:NewRatio=16" was the trick. This is > the ratio allocation between 'perm' and 'eden' memory. Sorry, but that'

Re: java.lang.OutOfMemoryError: PermGen space

2005-12-22 Thread Stephen Caine
Mike, We are using tomcat 5.5.12 and every couple days the tomcat server goes down hard and the last line in the log is: java.lang.OutOfMemoryError: PermGen space It appears to only happen if we: Update jsp pages Reload Webapp Deploy Webapp If we do not do any of the following the server

RE: java.lang.OutOfMemoryError: PermGen space

2005-12-22 Thread Caldarale, Charles R
> From: Carl Olivier [mailto:[EMAIL PROTECTED] > Subject: RE: java.lang.OutOfMemoryError: PermGen space > > Additionally - AFAIK this PermGenSpace does NOT get cleared > by the Garbage collector - and only a restart of the JVM will > rid you of that used space. Not really tru

RE: java.lang.OutOfMemoryError: PermGen space

2005-12-22 Thread Carl Olivier
[mailto:[EMAIL PROTECTED] Sent: 22 December 2005 20:25 To: Tomcat Users List Subject: RE: java.lang.OutOfMemoryError: PermGen space I've seen the same thing with 5.5.12 running Confluence and JIRA. I needed to bounce Tomcat after making a bunch of changes to the JIRA workflow, which triggered

RE: java.lang.OutOfMemoryError: PermGen space

2005-12-22 Thread Durfee, Bernard
lem since, that was a few days ago. Bernie > -Original Message- > From: Mike Dippold [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 22, 2005 1:57 PM > To: users@tomcat.apache.org > Subject: java.lang.OutOfMemoryError: PermGen space > > > We are using tomcat

RE: java.lang.OutOfMemoryError: PermGen space

2005-12-22 Thread Mike Dippold
probably will need to update the setting of -XX:MaxPermSize= >I believe the default value is 64m. > >cheers - Warren > >-Original Message- >From: Mike Dippold [mailto:[EMAIL PROTECTED] >Sent: Thursday, December 22, 2005 1:57 PM >To: users@tomcat.apache.org >Subj

RE: java.lang.OutOfMemoryError: PermGen space

2005-12-22 Thread Warren Lewis
: java.lang.OutOfMemoryError: PermGen space We are using tomcat 5.5.12 and every couple days the tomcat server goes down hard and the last line in the log is: java.lang.OutOfMemoryError: PermGen space It appears to only happen if we: Update jsp pages Reload Webapp Deploy Webapp If we do not do any of the following

java.lang.OutOfMemoryError: PermGen space

2005-12-22 Thread Mike Dippold
We are using tomcat 5.5.12 and every couple days the tomcat server goes down hard and the last line in the log is: java.lang.OutOfMemoryError: PermGen space It appears to only happen if we: Update jsp pages Reload Webapp Deploy Webapp If we do not do any of the following the server runs