;> 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 space
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 to fix
d 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 any of
rectory 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 gene
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 ,
Prabhu G
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
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
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
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,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Kaushal,
On 11/28/16 1:09 PM, Kaushal Shriyan wrote:
> Hi,
>
> I am seeing the below PermGen space issue in tomcat catalina.out
> file. Currently i am running Apache Tomcat Version 7.0.59 on
> CentOS release 6.8 (Final) java -versi
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
Use Java VisualVM to see PermGen memory allocation and troubleshoot. It
would also let you validate that your sizing parameters are properly set.
On Tue, Nov 29, 2016 at 2:09 AM, Kaushal Shriyan <kaushalshri...@gmail.com>
wrote:
> Hi,
>
> I am seeing the below PermGen space
Hi,
I am seeing the below PermGen space issue in tomcat catalina.out file.
Currently i am running Apache Tomcat Version 7.0.59 on CentOS release 6.8
(Final)
java -version
java version "1.7.0_80"
Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
Java HotSpot(TM) 64-Bit Server VM (b
"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.OutOfMemoryError:
> PermGen space
>
&g
ry..
>
> There may be more to find out searching Google for "java default
> memory settings" or similar.
>
> This link provides an example of a setting for Java 6 / Tomcat 7 :
> http://stackoverflow.com/questions/21104340/increase-windows-installer
- -based-tomcat-permge
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
windows-installer-based-tomcat-permgen-space
I saw something somewhere which mentioned 64 MB as the default PermGen (no
guarantees).
Another proviso : at this point, I am not quite sure if the PermGen is or not a part of
the Heap (Chuck ?).
If it is, and you increase the PermGen, you may need
: 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 th
r 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 appl
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
-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:
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, a
, 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 sti
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
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 -
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
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,
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
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 Log4jServletContextListener
essage-
> From: Berneburg, Cris [mailto:cberneb...@caci.com]
> Sent: Thursday, July 14, 2016 2:27 PM
> To: Tomcat Users List
> Subject: OutOfMemoryError: PermGen space
>
>> Hi Folks
>>
>> I got this error from the Tomcat Web Application Manager after havin
elp. :-)
>
> -- Cris Berneburg CACI Lead Software Engineer
>
> -Original Message- From: Berneburg, Cris
> [mailto:cberneb...@caci.com] Sent: Thursday, July 14, 2016 2:27 PM
> To: Tomcat Users List Subject: OutOfMemoryError: PermGen space
>
>> Hi Folks
>>
&g
, 2016 2:27 PM
To: Tomcat Users List
Subject: OutOfMemoryError: PermGen space
> 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 appli
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
> > hav
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
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
: PermGen space
> On 21/07/2016 18:17, Berneburg, Cris wrote:
> > From: Mark Thomas [mailto:ma...@apache.org]
>
>
>
> >
> > Used the Java Visual VM to pull a heap dump after the app
> > restart and GC. Used Eclipse Memory Analyzer to analyze
> > th
>-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
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
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
, 2016 12:17 PM
To: Tomcat Users List
Subject: Re: OutOfMemoryError: PermGen space
> On 20/07/2016 17:31, Berneburg, Cris wrote:
> > Mark
> >
> > Thanks again for taking the time to educate me and answer my
> > questions. My lengthy replies below. To summarize,
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
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:
>
>
>
> >
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
>> In
: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
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
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
>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
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
JDK.
Second, you can issue some Java parameters to actually enlarge the PermGen
memory allocation upon startup. Please refer to your java version
documentation on Oracle and lookup for the -XX parameters.
You can start by enlarging your PermGen space and the monitor on the Visual
VM the behavior
out of the app folder using file manager, copying the new
> files and folders in, then starting the app from the Tomcat manager.
>
> Here's the error:
>
> FAIL - Application at context path /someapp could not be started
> FAIL - Encountered exception java.lang.OutOfMemoryError: Per
the Tomcat manager.
Here's the error:
FAIL - Application at context path /someapp could not be started
FAIL - Encountered exception java.lang.OutOfMemoryError: PermGen space
Is this likely due to a memory leak in my application? Or does it have
something to do with me doing so many repeated
Thanks for the reply.
do you ever actually run out of
PermGen space, or are you just particularly worried about it happening?
Yes I did ran out of PermGen space.
So I am checking frequently whats the perm gen size and I see its
increasing every day.
Thanks I will try out you suggestion
run out of
PermGen space, or are you just particularly worried about it happening?
- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQIcBAEBCAAGBQJRnNWaAAoJEBzwKT
My application running on tomcat ,every day I see an increase in permgen
space, does this ever garbage collected? how can I see whats in the permgen
space? I guess Heap dump shows whats in the heap memory, how about permgen
space , I want to know why its increasing everyday?
Tomcat 6.35 jdk 1.6
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Fachhoch,
On 5/21/13 10:53 AM, fachhoch wrote:
My application running on tomcat ,every day I see an increase in
permgen space
What was PermGen usage after your webapp reached a steady-state
(usually a few minutes after launch)? How much does
, fachhoch wrote:
My application running on tomcat ,every day I see an increase in
permgen space
What was PermGen usage after your webapp reached a steady-state
(usually a few minutes after launch)? How much does it grow every day?
Have you ever run out of PermGen or are you just concerned that you
.10.x6.nabble.com/permgen-space-increases-every-day-tp4999275p4999284.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail
Leo Donahue - RDSA IT wrote:
...
Since my last post, upgrading to 7.0.37 and to the latest Java 1.6.0_39,
nothing in the logs out of the ordinary. Except for this in catalina. What
are these? Are these attempts to log into manager/html?
Feb 23, 2013 7:37:16 PM
From: Leo Donahue - RDSA IT [mailto:leodona...@mail.maricopa.gov]
Subject: PermGen space errors
Deploying a third party app is causing Out of Memory errors on
our web server.
Will increasing these: -Xms1024m -Xmx1024m -XX:PermSize=256m
-XX:MaxPermSize=356m just delay the inevitable
From: Caldarale, Charles R [chuck.caldar...@unisys.com]
Subject: RE: PermGen space errors
From: Leo Donahue - RDSA IT [mailto:leodona...@mail.maricopa.gov]
Subject: PermGen space errors
Deploying a third party app is causing Out of Memory errors
From: Leo Donahue - RDSA IT [leodona...@mail.maricopa.gov]
Sent: Saturday, February 23, 2013 9:08 PM
To: Tomcat Users List
Subject: RE: PermGen space errors
Since my last post, upgrading to 7.0.37 and to the latest Java 1.6.0_39,
nothing in the logs out
On Sat, Feb 23, 2013 at 11:08 PM, Leo Donahue - RDSA IT
leodona...@mail.maricopa.gov wrote:
From: Caldarale, Charles R [chuck.caldar...@unisys.com]
Subject: RE: PermGen space errors
From: Leo Donahue - RDSA IT [mailto:leodona...@mail.maricopa.gov
On Sat, Feb 23, 2013 at 11:11 PM, Leo Donahue - RDSA IT
leodona...@mail.maricopa.gov wrote:
From: Leo Donahue - RDSA IT [leodona...@mail.maricopa.gov]
Sent: Saturday, February 23, 2013 9:08 PM
To: Tomcat Users List
Subject: RE: PermGen space errors
java.lang.OutOfMemoryError: PermGen space
at java.util.Formatter.parse(Formatter.java:2480)
at java.util.Formatter.format(Formatter.java:2414)
at java.util.Formatter.format(Formatter.java:2367)
at java.lang.String.format(String.java:2769
From: Leo Donahue - RDSA IT [mailto:leodona...@mail.maricopa.gov]
Subject: RE: PermGen space errors
You should start a new thread for a new topic, which this clearly is.
nothing in the logs out of the ordinary. Except for this in catalina.
What are these? Are these attempts to log
Hi all,
While investigating OOM issue I discovered, that Tomcat instantly uses
more and more PermGen space.
At this moment I have access to one environemnt only, this is:
Windows XP
Java 1.6.0_22
Vanilla Tomcat 6.0.21
I use jconsole to monitor PermGen space and I can observe that it
slowly
On 1/3/11 1:48 PM, Mikolaj Rydzewski wrote:
Hi all,
While investigating OOM issue I discovered, that Tomcat instantly uses
more and more PermGen space.
At this moment I have access to one environemnt only, this is:
Windows XP
Java 1.6.0_22
Vanilla Tomcat 6.0.21
Are you sure it's
version is 6.0.29. It runs on JDK
6.0_21. I used apache-tomcat-6.0.29.exe installer bundled by apache
team.
I use jconsole to monitor PermGen space and I can observe that it
slowly
increases. There are no other webapps deployed, nor any requests to
tomcat. Is it normal?
So Tomcat
From: Mikolaj Rydzewski [mailto:m...@ceti.pl]
Subject: Tomcat uses more and more PermGen space
While investigating OOM issue I discovered, that Tomcat instantly
uses more and more PermGen space.
I suspect you're not using the word instantly appropriately here...
PermGen can steadily
On Mon, 3 Jan 2011 08:13:20 -0600, Caldarale, Charles R
chuck.caldar...@unisys.com wrote:
I suspect you're not using the word instantly appropriately here...
You're right, should be constantly rather.
PermGen can steadily increase if there's something in your
environment that creates
From: Mikolaj Rydzewski [mailto:m...@ceti.pl]
Subject: RE: Tomcat uses more and more PermGen space
I thought, that PermGen data cannot be garbage collected...
I don't know what idiot started that rumor, but it has never been true - unless
you change the GC settings to utilize one
On 1/3/11 2:13 PM, Mikolaj Rydzewski wrote:
So Tomcat, with no webapps, uses more PermGen over time?
Yes.
My 6.0.29 doesn't. It just sits there using ~18Mb of PermGen.
No webapps, or just the example webapps? Is there any traffic to the
Tomcat instance?
p
0x62590808.asc
Description:
On 12/13/2010 01:14 PM, Pid wrote:
On 13/12/2010 10:13, Luca Gervasi wrote:
Hello,
I know that my problem is with the application my tomcat 5.5 powered by
5.5.x, where x is what?
Tomcat 5.5.26, i omitted because i'm sure it's a webapp fault.
For instance, JVM Version:1.5.0_17-b04
On 14/12/2010 11:40, Luca Gervasi wrote:
On 12/13/2010 01:14 PM, Pid wrote:
On 13/12/2010 10:13, Luca Gervasi wrote:
Hello,
I know that my problem is with the application my tomcat 5.5 powered by
5.5.x, where x is what?
Tomcat 5.5.26, i omitted because i'm sure it's a webapp fault.
For
Hello,
I know that my problem is with the application my tomcat 5.5 powered by
java 1.5.0_b4 is running.
I have this supposely leeking application that keeps saturating the
permanent generation.
The problem is an out of memory on the permgen.
Studying the JVM, i understand that the permgen is
On 13/12/2010 10:13, Luca Gervasi wrote:
Hello,
I know that my problem is with the application my tomcat 5.5 powered by
5.5.x, where x is what?
java 1.5.0_b4 is running.
That's a really old JVM. Each minor release can contain improvements to
garbage collection algorithms - even new
: Mon, 13 Dec 2010 11:13:53 +0100
From: tom...@ashetic.net
To: users@tomcat.apache.org
Subject: [Mostly OT] Sweeping the permgen space: is that a good thing?
Hello,
I know that my problem is with the application my tomcat 5.5 powered by
java 1.5.0_b4 is running.
I have this supposely
From: Luca Gervasi [mailto:tom...@ashetic.net]
Subject: [Mostly OT] Sweeping the permgen space: is that a good thing?
Studying the JVM, i understand that the permgen is never sweeped by GC.
Not sure whether you mean that GC ignores PermGen, or just that in your
particular situation, GC
On 13.12.2010 14:40, Caldarale, Charles R wrote:
From: Luca Gervasi [mailto:tom...@ashetic.net]
Subject: [Mostly OT] Sweeping the permgen space: is that a good thing?
Studying the JVM, i understand that the permgen is never sweeped by GC.
Not sure whether you mean that GC ignores PermGen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Luca,
On 12/13/2010 5:13 AM, Luca Gervasi wrote:
I have this supposely leeking application that keeps saturating the
permanent generation.
The problem is an out of memory on the permgen.
Studying the JVM, i understand that the permgen is
From: Rainer Jung [mailto:rainer.j...@kippdata.de]
Subject: Re: [Mostly OT] Sweeping the permgen space: is that a good thing?
GC in Perm Gen whenever tenured gets GC'd:
it might depend on the GC algo and JVM version,
but that's off by default at least for CMS and
many JVM
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
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
-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
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. someone help, i have
about 7 applications in struts running
that the content
is fetched dynamically based on the params/etc.. - but since that cannot be
changed as of now - was searching for quick short term alternatives.
- Shivani.
--
View this message in context:
http://old.nabble.com/Class-unloading-in-tomcat---PermGen-Space-tp29707680p29715039.html
Sent
Check the process for java has the correct max perm size set. If you're
using linux do a
ps axf --cols 1000 | grep java
A max PermSize of 1024m is pretty big...
My tomcat 6 instance running several apps returns:-
/usr/java/latest/bin/java
, i have
about 7 applications in struts running on the server, the applications are
in struts 1.2 , mysql, tomcat 5.5, and are not big applications with about
only a few jsps.
I consider the applications written properly, pl. help,
A few things that can fill PermGen space are...
- repeated re
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. someone
custom class loader help - how would we then decide when to
remove classes from the custom classloader and on what basis would we
loading our jsp's from it?.Thanks.
--
View this message in context:
http://old.nabble.com/Class-unloading-in-tomcat---PermGen-Space-tp29707680p29707680.html
Sent from
On 14/09/2010 12:42, shivanic wrote:
In my application there are over a thousands of jsp pages existing. So,
consequently over a period of time we run out of perm gen space. I have read
that classes are only unloaded if there are no references to the classes or
the classloader and both can
to Tomcat 7 (it is still beta but pretty stable for non-Servlet
3.0 functionality) and use the new maxLoadedJsps attribute of the JSP
servlet [1].
Mark
--
View this message in context:
http://old.nabble.com/Class-unloading-in-tomcat---PermGen-Space-tp29707680p29709282.html
Sent from the Tomcat
On Tue, Sep 14, 2010 at 4:36 PM, shivanic shivani.chan...@gmail.com wrote:
3. Is there any way to setup unloading of JSP's in the 5.X versions - either
by using the custom classloader or any other way?.
Thanks.
Shivani
I've heard of people unloading classes via a custom garbage
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Wesley,
On 9/14/2010 10:50 AM, Wesley Acheson wrote:
Also you do know you can increase permGen size. I don't know if that's
an option for you or not.
That seems like the right move given the requirements.
- -chris
-BEGIN PGP SIGNATURE-
[mailto:wesley.ache...@gmail.com]
Sent: Tuesday, September 14, 2010 10:50 AM
To: Tomcat Users List
Subject: Re: Class unloading in tomcat - PermGen Space
On Tue, Sep 14, 2010 at 4:36 PM, shivanic shivani.chan...@gmail.com
wrote:
3. Is there any way to setup unloading of JSP's in the 5.X versions
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Anurag,
On 9/14/2010 11:07 AM, Mehrotra, Anurag wrote:
-XX:MaxPermSize=512M
I can't imagine any of your other proposed settings changing anything at
all about the PermGen space. It doesn't matter what GC you use if your
PermGen space is too small
at
all about the PermGen space. It doesn't matter what GC you use if your
PermGen space is too small.
- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkyPkcMACgkQ9CaO5/Lv0PBAmQCgs
On 14/09/2010 17:21, shivanic wrote:
Hello,
We have already increased the max perm gen size - but that is not a
permanent solution. As in, if the count of jsp's in the application which is
already in a few thousands - increases twicefold - again the same problem
would arise.
Hence, was
application, this
sounds like a need to be able to visit all (or at least majority of)
JSPs included in the application.
One thing to the list, however; would it be possible to have something
in the code to cause a memory leak that would eat up permgen space?
--
..Juha
On Tue, Sep 14, 2010 at 6:21 PM, shivanic shivani.chan...@gmail.com wrote:
Hello,
We have already increased the max perm gen size - but that is not a
permanent solution. As in, if the count of jsp's in the application which is
already in a few thousands - increases twicefold - again the same
1 - 100 of 199 matches
Mail list logo