Thanks Manuel Dominguez
On Mon, Oct 12, 2020 at 5:51 PM Manuel Dominguez Sarmiento
wrote:
>
> The articles in this page will be helpful:
> https://java.jiderhamn.se/category/classloader-leaks/
>
> On 12/10/2020 04:19, Mark Thomas wrote:
> > On 11/10/2020 02:39, Prabhu Gurunathan wrote:
> >> Hi Al
The articles in this page will be helpful:
https://java.jiderhamn.se/category/classloader-leaks/
On 12/10/2020 04:19, Mark Thomas wrote:
On 11/10/2020 02:39, Prabhu Gurunathan wrote:
Hi All,
We have an setup where we are using OpenJDK 1.7 and Tomcat 7.0.100 ,
in CentOs 7 Env . and we have many
Thanks Mark , for your thoughts , will explore more and get back .
On Mon, Oct 12, 2020 at 12:49 PM Mark Thomas wrote:
>
> On 11/10/2020 02:39, Prabhu Gurunathan wrote:
> > Hi All,
> >
> > We have an setup where we are using OpenJDK 1.7 and Tomcat 7.0.100 ,
> > in CentOs 7 Env . and we have many
On 11/10/2020 02:39, Prabhu Gurunathan wrote:
> Hi All,
>
> We have an setup where we are using OpenJDK 1.7 and Tomcat 7.0.100 ,
> in CentOs 7 Env . and we have many application deployed in
> Tomcat/webapps and the common lib's needed for those apps are kept in
> Tomcat/lib directory like log4j ,
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.
>>
>> 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é
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
> working interm
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)
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
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
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
-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: PermGen space" but
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 we have to rest
1. Bad memory settings or a java class having a memory leak.
2. The place to setup the values will depend if you run Tomcat as a Windows
Service, from the tomcat7.exe or from the startup.bat.
BTW, those are super outdated releases of OS, Java and Tomcat.
On Thu, Oct 20, 2016 at 6:00 PM, Moore, J
> 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 are consuming the Perm
> 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
>> 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?
***
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
> 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,
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.
, 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
> 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,
> 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
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]
> 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
: 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
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
> 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
> 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
, 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
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
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
> 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:
Bruce -
You don't say if the JVM is 32-bit or 64-bit, but assuming the latter:
1) By splitting the Heap in half between NewGen and PermGen, you are
leaving no room for OldGen, and I'm sure java is going to want to set
aside some space for OldGen. So you are probably getting the error
because there
> 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 -verbose:class ju
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!
> 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 of PermGen space.
> In my
-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
> 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
2 options will help Xerces consume less memory
1)turn OFF validation for any Documents created from the
DocumentBuilderFactory e.g.
factory.setValidating(false);
2)turn OFF namespace awareness for any Documents created from the
DocumentBuilderFactory e.g.
factory.setNamespaceAware(false);
More in
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
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
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.OutOfMemoryError: PermGen space* .
>
>
>
> 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 topic, e-mail: users@
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
Antonio
--
hi,
if you have a lot of different webapps with the same third party libs in
the WEB-INF/lib folder it might help if you move them to the shared/lib
folder. i recommend to put only the third party libs there, who are
definitely the same for all webapps, for example jdbc-driver and similar
thi
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 64 megs
Kind regards,
--
Willi
Hi,
Your Permanent Generation is running out of memory, this is a special
space in the vm memory, where the vm stores all of its internal data
(classes, etc.). You should pass -XX:+PrintGCDetails to the VM to see
how much perm-space is used. If you have a lot of third-party-libraries
etc. you
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
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
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,
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
> 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
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
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
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
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
> 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
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
> 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'
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 ru
> 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
[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
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 lot's of processing. I assumed it was a JIRA
problem, but maybe it is related to Tomcat 5.5.12? I haven't had the
problem since, that was
Wont that just give me more time between having to restart? Is it normal to
have permgen space fill up and never get it back?
-- Original Message --
From: "Warren Lewis" <[EMAIL PROTECTED]>
Date: Thu, 22 Dec 2005 14:07:40 -0500
>You probably will need t
You 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
Subject: java.lang.OutOfMemoryError
66 matches
Mail list logo