On 04/09/18 03:20, Antonio Rafael Rodrigues wrote:
> Hi
> In my rest API, everytime time my request generates an OutOfMemoryError the
> client doesn't get a response from server and hangs forever. If I kill the
> client, I can see by lsof that a CLOSE_WAIT connection remains and it
Hi
In my rest API, everytime time my request generates an OutOfMemoryError the
client doesn't get a response from server and hangs forever. If I kill the
client, I can see by lsof that a CLOSE_WAIT connection remains and it goes
away just if I restart the Spring application.
I can reproduce
On 20/12/17 18:04, Igal @ Lucee.org wrote:
> Hello,
>
> I am troubleshooting a servlet which is used to upload files. Small
> files under 25mb are processed properly. Large files over 50mb are
> processed properly. Files with size in the range of 25mb -- 50mb fail
> with OutO
Hello,
I am troubleshooting a servlet which is used to upload files. Small
files under 25mb are processed properly. Large files over 50mb are
processed properly. Files with size in the range of 25mb -- 50mb fail
with OutOfMemoryError.
Unfortunately I do not get a Stack Trace. Instead
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 Log4jServlet
them using Eclipse Memory Analyzer, and follow
> instructions. ;-)
>
> The OutOfMemoryError in Tomcat Manager was caused by a memory leak when Log4J
> did not terminate properly. This was due to my mistake of neglecting to set
> up the necessary Log4J shutdown procedures.
>
analyze them using Eclipse Memory Analyzer, and
> follow instructions. ;-)
>
> The OutOfMemoryError in Tomcat Manager was caused by a memory leak
> when Log4J did not terminate properly. This was due to my mistake of
> neglecting to set up the necessary Log4J shutdown procedures.
>
Mark (Thomas), Román, Guido, and Mark (Eggers)
Thank you all for your suggestions, assistance, and patience.
With your help and encouragement I learned how to perform heap dumps using Java
VisualVM, analyze them using Eclipse Memory Analyzer, and follow instructions.
;-)
The OutOfMemoryError
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
Mark
BLUF: Thanks for your explanations and assistance. I plan to follow up with
the Log4J2 group. My simple responses below.
-Original Message-
From: Mark Thomas [mailto:ma...@apache.org]
Sent: Thursday, July 21, 2016 3:47 PM
To: Tomcat Users List
Subject: Re: OutOfMemoryError
>-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
Mark
Thanks again for taking the time to assist with the OutOfMemoryError. BLUF, it
looks like Log4J2 is the culprit. Will you please check my work below to see
if I have interpreted correctly?
-Original Message-
From: Mark Thomas [mailto:ma...@apache.org]
Sent: Wednesday, July 20
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
Cris:
Couple of things here.
First, you can use in any Java 6 Update 45 and above the Java Visual VM, to
monitor in real time the memory utilization done by the Java virtual
machine. This will show you both the Help and Perm Gen memory graphs. You
can find this tool in the bin directory of any
On 14/07/2016 20:26, Berneburg, Cris J. - US wrote:
> Hi Folks
>
> I got this error from the Tomcat Web Application Manager after having stopped
> and started one of the applications multiple times. (This was after
> repeatedly deploying the application manually to attempt to find a bug that I
Hi Folks
I got this error from the Tomcat Web Application Manager after having stopped
and started one of the applications multiple times. (This was after repeatedly
deploying the application manually to attempt to find a bug that I could not
reproduce in my IDE.) Once the error occurred,
On 1/23/2014 5:21 PM, Christopher Schultz wrote:
If you'd care to post your code to either the list or onto the wiki, I'm
sure it would be useful to someone. Feel free to trim-out huge sections
of the code and say make this fit your environment, etc. if you don't
want to show everyone how bad
On 12/11/2013 11:42 PM, André Warnier wrote:
The original issue of the OP was to be notified ASAP when an OOM occurs.
And he indicated that an OOM resulted in a message in the logs.
So, something is already catching the OOM exception, to write this line in
the logs.
On the other hand, there is
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Bill,
On 1/23/14, 8:08 PM, Bill Davidson wrote:
On 12/11/2013 11:42 PM, André Warnier wrote:
The original issue of the OP was to be notified ASAP when an OOM
occurs. And he indicated that an OOM resulted in a message in the
logs. So, something
On Thu, Jan 23, 2014 at 8:21 PM, Christopher Schultz
ch...@christopherschultz.net wrote:
Glad to see my thoughts were useful. If you'd care to post your code
to either the list or onto the wiki, I'm sure it would be useful to
someone.
+1 I love it when others share code, and thanks for
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
André,
On 12/12/13, 2:42 AM, André Warnier wrote:
The original issue of the OP was to be notified ASAP when an OOM
occurs. And he indicated that an OOM resulted in a message in the
logs. So, something is already catching the OOM exception, to
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
André,
On 12/12/13, 2:42 AM, André Warnier wrote:
The original issue of the OP was to be notified ASAP when an OOM
occurs. And he indicated that an OOM resulted in a message in the
logs. So, something is already
to an OOME?
Sorry, I meant of course OutOfMemoryError. Just make sure you use as
little memory as possible during the exception handler or it will fail
itself and possibly mask the original problem.
- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.15 (Darwin)
Comment: GPGTools - http
OutOfMemoryError. Just make sure you use as
little memory as possible during the exception handler or it will fail
itself and possibly mask the original problem.
-
You can catch an OOME in a fiter? I would not have expected that.
Off to the documentation
not sure I understand this one. How does an IOException
relate to an OOME?
Sorry, I meant of course OutOfMemoryError. Just make sure you use
as little memory as possible during the exception handler or it
will fail itself and possibly mask the original problem.
-
You can catch an OOME
not sure I understand this one. How does an IOException
relate to an OOME?
Sorry, I meant of course OutOfMemoryError. Just make sure you use
as little memory as possible during the exception handler or it
will fail itself and possibly mask the original problem.
-
You can catch an OOME
Guys,
just wondering..
The original issue of the OP was to be notified ASAP when an OOM occurs.
And he indicated that an OOM resulted in a message in the logs.
So, something is already catching the OOM exception, to write this line in
the logs.
On the other hand, there is ample literature
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Bill,
On 12/9/13, 5:38 PM, Bill Davidson wrote:
Last week, one of my servers got an OutOfMemoryError at
approximately 1:21pm.
:(
It's worth pointing out that this is not a trivial issue.
My monitoring software
On 12/9/2013 5:20 PM, Bill Davidson wrote:
On 12/9/2013 3:12 PM, Christopher Schultz wrote:
1. Use -XX:OnOutOfMemoryError=cmd args;cmd args
Rig this to email you, register a passive-check data point with your
monitoring server, etc. Just remember that OOMEs happen for a number
of reasons. You
Last week, one of my servers got an OutOfMemoryError at approximately
1:21pm.
My monitoring software which does a heart beat check once per minute
did not notice until 3:01pm. Heart beat kept working for over an hour
and a half.
During that time my high capacity high availablity 24/7
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Bill,
On 12/9/13, 5:38 PM, Bill Davidson wrote:
Last week, one of my servers got an OutOfMemoryError at
approximately 1:21pm.
:(
It's worth pointing out that this is not a trivial issue.
My monitoring software which does a heart beat check
On 12/9/2013 3:12 PM, Christopher Schultz wrote:
Was it a transient error, or a chronic condition? A single thread can,
for instance, spew objects into its stack or eden space exhausting
memory but, when that thread hits the OOME, all those objects are
freed which basically recovers from the
Pid wrote:
On 06/03/2012 07:12, Rainer Frey wrote:
On 05.03.2012, at 14:14, Philippe ROUXEL wrote:
When I set JAVA_OPTS= -Xmx1024m -Xss75m
That means: each thread get a stack of 75MB. One of the following applies:
* the operating system has a limit on thread stack size
* the per process
On 6 Mar 2012, at 08:16, André Warnier a...@ice-sa.com wrote:
Pid wrote:
On 06/03/2012 07:12, Rainer Frey wrote:
On 05.03.2012, at 14:14, Philippe ROUXEL wrote:
When I set JAVA_OPTS= -Xmx1024m -Xss75m
That means: each thread get a stack of 75MB. One of the following applies:
* the
On 06.03.2012 18:21, Pid * wrote:
On 6 Mar 2012, at 08:16, André Warniera...@ice-sa.com wrote:
Pid wrote:
On 06/03/2012 07:12, Rainer Frey wrote:
On 05.03.2012, at 14:14, Philippe ROUXEL wrote:
When I set JAVA_OPTS= -Xmx1024m -Xss75m
That means: each thread get a stack of 75MB. One of
When I set JAVA_OPTS= -Xmx1024m -Xss75m
I got:
GRAVE: A child container failed during start
java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: unable to c
reate new native thread
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
at
On 05.03.2012, at 11:30, Philippe ROUXEL wrote:
When I set JAVA_OPTS= -Xmx1024m -Xss75m
That means: each thread get a stack of 75MB. One of the following applies:
* the operating system has a limit on thread stack size
* the per process memory limit is reached before all initial tomcat threads
75MB of stack is needed by hibenate to save the data aka a graph.
Philippe
De: Rainer Frey [mailto:rainer.f...@inxmail.de]
Date: lun. 05/03/2012 13:19
À: Tomcat Users List
Objet : Re: Tomcat7 OutOFMemoryError
On 05.03.2012, at 11:30, Philippe ROUXEL wrote
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Philippe,
On 3/5/12 8:14 AM, Philippe ROUXEL wrote:
75MB of stack is needed by hibenate to save the data aka a graph.
What!? Does Hibernate have some kind of method that needs to call itself
recursively 100,000 times?
- -chris
-BEGIN PGP
On Mar 5, 2012 11:34 AM, Christopher Schultz ch...@christopherschultz.net
wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Philippe,
On 3/5/12 8:14 AM, Philippe ROUXEL wrote:
75MB of stack is needed by hibenate to save the data aka a graph.
Philippe, are you confusing stack memory
Brooke Hedrick wrote:
On Mar 5, 2012 11:34 AM, Christopher Schultz ch...@christopherschultz.net
wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Philippe,
On 3/5/12 8:14 AM, Philippe ROUXEL wrote:
75MB of stack is needed by hibenate to save the data aka a graph.
Philippe, are you
From: André Warnier [mailto:a...@ice-sa.com]
Subject: Re: RE : Tomcat7 OutOFMemoryError
I found this page which may be of interest :
http://www.odi.ch/weblog/posting.php?posting=411
This one's also pretty interesting, especially the link to Cliff Click's blog:
http://mail.openjdk.java.net
On 05/03/2012 20:39, Caldarale, Charles R wrote:
From: André Warnier [mailto:a...@ice-sa.com]
Subject: Re: RE : Tomcat7 OutOFMemoryError
I found this page which may be of interest :
http://www.odi.ch/weblog/posting.php?posting=411
This one's also pretty interesting, especially the link
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pid,
On 3/5/12 3:54 PM, Pid wrote:
Varies by OS too.
-XX:ThreadStackSize=512
Thread Stack Size (in Kbytes). (0 means use default stack size)
[Sparc: 512; Solaris x86: 320 (was 256 prior in 5.0 and earlier);
Sparc 64 bit: 1024; Linux amd64:
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: Re: RE : Tomcat7 OutOFMemoryError
Thread Stack Size (in Kbytes). (0 means use default stack size)
[Sparc: 512; Solaris x86: 320 (was 256 prior in 5.0 and earlier);
Sparc 64 bit: 1024; Linux amd64: 1024 (was 0 in 5.0
On 05/03/2012 22:09, Christopher Schultz wrote:
Pid,
On 3/5/12 3:54 PM, Pid wrote:
Varies by OS too.
-XX:ThreadStackSize=512
Thread Stack Size (in Kbytes). (0 means use default stack size)
[Sparc: 512; Solaris x86: 320 (was 256 prior in 5.0 and earlier);
Sparc 64 bit: 1024; Linux
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 3/5/12 5:20 PM, Caldarale, Charles R wrote:
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: Re: RE : Tomcat7 OutOFMemoryError
Thread Stack Size (in Kbytes). (0 means use default stack
size) [Sparc: 512
On 05.03.2012, at 14:14, Philippe ROUXEL wrote:
When I set JAVA_OPTS= -Xmx1024m -Xss75m
That means: each thread get a stack of 75MB. One of the following applies:
* the operating system has a limit on thread stack size
* the per process memory limit is reached before all initial tomcat
On 06/03/2012 07:12, Rainer Frey wrote:
On 05.03.2012, at 14:14, Philippe ROUXEL wrote:
When I set JAVA_OPTS= -Xmx1024m -Xss75m
That means: each thread get a stack of 75MB. One of the following applies:
* the operating system has a limit on thread stack size
* the per process memory
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Leon,
On 2/17/2011 2:29 AM, Leon Rosenberg wrote:
On Wed, Feb 16, 2011 at 6:16 PM, Christopher Schultz wrote:
We're working on some decent instrumentation tools to
basically log all kinds of stuff like this on a regular interval... say
every
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 2/15/2011 5:57 PM, Caldarale, Charles R wrote:
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: [OT] OutOfMemoryError: GC overhead limit exceeded
This error occurred /once/ at 16:39 EDT and it's 17:39 EDT now
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: Re: [OT] OutOfMemoryError: GC overhead limit exceeded
Here's what jmap reports this morning:
PS Old Generation
capacity = 134217728 (128.0MB)
used = 61911720 (59.043617248535156MB)
free = 72306008
On Wed, Feb 16, 2011 at 5:37 PM, Caldarale, Charles R
chuck.caldar...@unisys.com wrote:
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: Re: [OT] OutOfMemoryError: GC overhead limit exceeded
Here's what jmap reports this morning:
PS Old Generation
capacity
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Leon,
On 2/16/2011 11:53 AM, Leon Rosenberg wrote:
On Wed, Feb 16, 2011 at 5:37 PM, Caldarale, Charles R
chuck.caldar...@unisys.com wrote:
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: Re: [OT] OutOfMemoryError: GC
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 2/16/2011 11:37 AM, Caldarale, Charles R wrote:
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: Re: [OT] OutOfMemoryError: GC overhead limit exceeded
Here's what jmap reports this morning:
PS Old Generation
Op woensdag, 16 februari 2011 18:17 schreef Christopher Schultz
ch...@christopherschultz.net:
Chuck,
On 2/16/2011 11:37 AM, Caldarale, Charles R wrote:
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: Re: [OT] OutOfMemoryError: GC overhead limit exceeded
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ronald,
On 2/16/2011 12:48 PM, Ronald Klop wrote:
I see the same problem with jstack and friends if a process is gc'ing a
lot.
Interesting.
I don't have verbose GC enabled (can you enable that after JVM launch
using JConsole or something like
Op woensdag, 16 februari 2011 19:18 schreef Christopher Schultz
ch...@christopherschultz.net:
Ronald,
On 2/16/2011 12:48 PM, Ronald Klop wrote:
I see the same problem with jstack and friends if a process is gc'ing a
lot.
Interesting.
I don't have verbose GC enabled (can you enable
: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: Re: [OT] OutOfMemoryError: GC overhead limit exceeded
Here's what jmap reports this morning:
PS Old Generation
capacity = 134217728 (128.0MB)
used = 61911720 (59.043617248535156MB)
free = 72306008 (68.95638275146484MB
. A quick Google search yielded this
StackOverflow thread:
http://stackoverflow.com/questions/1393486/what-means-the-error-message-java-lang-outofmemoryerror-gc-overhead-limit-excee
Evidently, when the GC takes a long time to accomplish nothing, you get
this error.
This error occurred /once/ at 16:39
://stackoverflow.com/questions/1393486/what-means-the-error-message-java-lang-outofmemoryerror-gc-overhead-limit-excee
Evidently, when the GC takes a long time to accomplish nothing, you get
this error.
This error occurred /once/ at 16:39 EDT and it's 17:39 EDT now and I can
see the following heap
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: [OT] OutOfMemoryError: GC overhead limit exceeded
This error occurred /once/ at 16:39 EDT and it's 17:39 EDT now
Is it likely that this was something acute and that my server is okay?
PS Old Generation
capacity
On 23/11/2010 06:55, Daniel Baktiar wrote:
hi charles,
please allow me to disagree to that hanging onto reference as the main
issue.
Daniel,
You are completely wrong. I suggest you read this:
http://wiki.apache.org/tomcat/MemoryLeakProtection
and try out some of the sample code with a
!
On 23 November 2010 14:10, Caldarale, Charles R
chuck.caldar...@unisys.comwrote:
From: xu cheng [mailto:xcheng@gmail.com]
Subject: Re: OutOfMemoryError some time on some tomcat1
I just kept redeploying apps , and the perm gen keep
growing each time I deploy the same app. and when
),
for example.
---
daniel baktiar
http://savinggaia.tritiumapps.com - saving the planet is everyone's
business!
On 23 November 2010 14:10, Caldarale, Charles R
chuck.caldar...@unisys.comwrote:
From: xu cheng [mailto:xcheng@gmail.com]
Subject: Re: OutOfMemoryError some time
hi mark,
thank you for showing my mistake. my apology to chuck also.
i will read the article.
---
daniel baktiar
http://savinggaia.tritiumapps.com - saving the planet is everyone's
business!
On 23 November 2010 18:50, Mark Thomas ma...@apache.org wrote:
On 23/11/2010 06:55, Daniel Baktiar
From: xu cheng [mailto:xcheng@gmail.com]
Subject: Re: OutOfMemoryError some time on some tomcat1
hanging onto a reference to an object from your webapp classes,
preventing the old webapp deployment from being garbage collected.
what kind of object do you mean by saying
Don't bother with jhat, try eclipse Memory Analysis Tool instead. It's much
more friendly and efficient to find leaks.
On 23 nov. 2010, at 12:18, xu cheng wrote:
hi, Chuck.Caldarale
I referenced to these two links
http://blogs.sun.com/fkieviet/entry/classloader_leaks_the_dreaded_java
Caldarale, Charles R chuck.caldar...@unisys.com
From: xu cheng [mailto:xcheng@gmail.com]
Subject: OutOfMemoryError some time on some tomcat1
the app works pretty well on my pc, and the tomcat
is apache-tomcat-6.0.29
however , when I put this app on to another computer
cheng [mailto:xcheng@gmail.com]
Subject: OutOfMemoryError some time on some tomcat1
the app works pretty well on my pc, and the tomcat
is apache-tomcat-6.0.29
however , when I put this app on to another computer
with the same tomcat it throws this exception
Java
and the memory is suppose to
be
enough
I'll check if there is a memory leak,(althouth the app is suppose to
use
only a few memory)
thanks
2010/11/22 Caldarale, Charles R chuck.caldar...@unisys.com
From: xu cheng [mailto:xcheng@gmail.com]
Subject: OutOfMemoryError
hi xu cheng,
don't mention it.
glad you've eventually solved your problem.
daniel
---
daniel baktiar
http://savinggaia.tritiumapps.com - saving the planet is everyone's
business!
2010/11/23 xu cheng xcheng@gmail.com
hi Daniel
thanks alot for replying.
I don't know how to figure out
From: xu cheng [mailto:xcheng@gmail.com]
Subject: Re: OutOfMemoryError some time on some tomcat1
I just kept redeploying apps , and the perm gen keep
growing each time I deploy the same app. and when I
undeploy the app, the perm gen didn't clean the garbage
Exactly the situation
? for example?
thanks
2010/11/23 Caldarale, Charles R chuck.caldar...@unisys.com
From: xu cheng [mailto:xcheng@gmail.com]
Subject: Re: OutOfMemoryError some time on some tomcat1
I just kept redeploying apps , and the perm gen keep
growing each time I deploy the same app. and when
),
for example.
---
daniel baktiar
http://savinggaia.tritiumapps.com - saving the planet is everyone's
business!
On 23 November 2010 14:10, Caldarale, Charles R
chuck.caldar...@unisys.comwrote:
From: xu cheng [mailto:xcheng@gmail.com]
Subject: Re: OutOfMemoryError some time on some tomcat1
hi:
I've wrote an app with jsp and servlet, and I used four libs
commons.logging
common.httpclient
jdom
commons.codec
the app works pretty well on my pc, and the tomcat is apache-tomcat-6.0.29
however , when I put this app on to another computer with the same tomcat
it throws this exception
From: xu cheng [mailto:xcheng@gmail.com]
Subject: OutOfMemoryError some time on some tomcat1
the app works pretty well on my pc, and the tomcat
is apache-tomcat-6.0.29
however , when I put this app on to another computer
with the same tomcat it throws this exception
Java HotSpot
@gmail.com]
Subject: OutOfMemoryError some time on some tomcat1
the app works pretty well on my pc, and the tomcat
is apache-tomcat-6.0.29
however , when I put this app on to another computer
with the same tomcat it throws this exception
Java HotSpot(TM) 64-Bit Server VM warning
to be
enough
I'll check if there is a memory leak,(althouth the app is suppose to use
only a few memory)
thanks
2010/11/22 Caldarale, Charles R chuck.caldar...@unisys.com
From: xu cheng [mailto:xcheng@gmail.com]
Subject: OutOfMemoryError some time on some tomcat1
the app works pretty
...@unisys.com
From: xu cheng [mailto:xcheng@gmail.com]
Subject: OutOfMemoryError some time on some tomcat1
the app works pretty well on my pc, and the tomcat
is apache-tomcat-6.0.29
however , when I put this app on to another computer
with the same tomcat it throws
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
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
1 - 100 of 247 matches
Mail list logo