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 OutOfMemoryError.
How c
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 cau
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
On 22/07/2016 19:15, Berneburg, Cris J. - US wrote:
> 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
Cris,
On 7/22/2016 10:15 AM, Berneburg, Cris J. - US wrote:
> 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 Eclips
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
> > have disable
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 t
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 a
, 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, ou
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 du
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
&g
: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 r
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 here
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 JD
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
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
> ht
> 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
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 wrote:
> On 23/11/2010 06:55, Daniel Baktiar wrote:
> > hi ch
; >
> > permgen is oracle hotspot specific implementation issue. you won't get it
> > when you run on oracle jrockit (which performs just in time compilation),
> > for example.
> > ---
> > daniel baktiar
> > http://savinggaia.tritiumapps.com -
t; http://savinggaia.tritiumapps.com - saving the planet is everyone's
> business!
>
>
>
>
> On 23 November 2010 14:10, Caldarale, Charles R
> wrote:
>
> > > From: xu cheng [mailto:xcheng@gmail.com]
> > > Subject: Re: OutOfMemoryError some time on some to
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
just in time compilation),
for example.
---
daniel baktiar
http://savinggaia.tritiumapps.com - saving the planet is everyone's
business!
On 23 November 2010 14:10, Caldarale, Charles R
wrote:
> > From: xu cheng [mailto:xcheng@gmail.com]
> > Subject: Re: OutOfMemoryError
else? for example?
thanks
2010/11/23 Caldarale, Charles R
> > 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 s
> 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
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
> hi Daniel
> thanks alot for replying.
>
> I don't know how to figure out how much the par
ps:
after several times of redeployment,
java.lang.OutOfMemoryError: PermGen space comes up.
I always redeploy the apps *without* shutting down the server
在 2010年11月23日 下午1:50,xu cheng 写道:
> hi Daniel
> thanks alot for replying.
>
> I don't know how to figure out how much the param MaxPermSize i
hi Daniel
thanks alot for replying.
I don't know how to figure out how much the param MaxPermSize is set to. may
be it's set to be default. I just set the xmx and xms, so I thought that the
memory will absolutely enough, I didn't
notice this param, my fault.
I did an experiment on tomcat , I just
hi xu cheng,
having a powerful machine with big memory is good. but don't assume that
everything will be used automatically.
the jvm doesn't automatically use all the resources in your memory when you
start tomcat. you need to configure it.
try to add something like this:
*CATALINA_OPTS="-XX:MaxPe
after tracing the app with jprofiler for several hours , I still cannot
figure the problem.
it seems that the app doesn't use a lot of memory.
and it still run pretty well in my computer.and after it is deployed in the
server, it crash
the problem of the environment? but the tomcat on the serv
by the way,
it doesn't throws this exception while running on my computer
it is only when the app is deploy on another computer that this problem
occur
2010/11/22 xu cheng
> hi:
> thanks for replying
> the app is running on a powerful server and the memory is suppose to be
> enough
> I'll check
hi:
thanks for replying
the app is running on a powerful server 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
> > From: xu cheng [mailto:xcheng@gmail.com]
> > Subject:
> 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 Ho
-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
> -Djava.endorsed.dirs=../comm
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 org.a
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 org.apache.catalina.startup.
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. som
On 09/15/10 08: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. someon
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
-Djava.util.logging.config.file=/home/pmcneil/apps/to
Filip,
thank you for your help.
Your suggestion actually helped to identify the root of our issues: it
was not related to Tomcat 6 but instead it was an issue in the version
of DBCP we were using (a snapshot of November 2007); we have upgraded
it to the HEAD and the errors seem gone away (w
just use the -XX:+HeapDumpOnOutOfMemoryError and see what is causing the
OOME
Filip
Jacopo Cappellato wrote:
Hi all,
I am one of the committers and PMC member of the Apache OFBiz project
(ofbiz.apache.org).
Our project is using an embedded instance of Tomcat to run the web
applications that
It's possible. Unfortunately it's not really practical to upgrade the JVM on the
machine. As a work around I've found I can manually unzip the war and set the
directory and context path in the html manager.
On Tue 06/10/08 9:43 AM , Filip Hanik - Dev Lists [EMAIL PROTECTED] sent:
> could you be r
could you be running into
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6280693
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6332094
so an upgrade to the JVM might fix it
Filip
Reid Swanson wrote:
Hi,
I have a web app that includes a large amount of data and I am having trouble
dep
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Subject: OutOfMemoryError: allocLargeObjectOrArray
>
> JDK: jrockit-R27.4.0-jdk1.5.0_12
> java.lang.OutOfMemoryError: allocLargeObjectOrArray - Object size:
> 75333648, Num elements: 37666816
1) Try increasing your heap size.
2) Try
This is an internal jvm error. It seems you activated swallowoutput on
your context which makes tomcat reidrect stdout and stderr to an
internal buffer during servlet excecution and later pass it to a logger.
Your servlet is making lots of outputs (75Megs of data) according to
your error, and t
On Yesterday at 2:54pm, FHDL=>Filip Hanik - Dev Lists <[EMAIL PROTECTED]>...:
FHDL> >java.lang.OutOfMemoryError: unable to create new native thread
FHDL>
FHDL> There is not enough space to create a new thread. Threads(stacks).
FHDL> if -Xmx solves your problem, then set it and be happy :)
FHDL>
addendum to my previous post,
Unable to create new native thread errors can also depend on heap
fragmentation, since thread stacks are in the process heap, there might
not be enough continuous space there.
Filip
Rahul Tandon wrote:
Hi All,
If I don't give -Xmx option in CATALINA_OPTS,
java.lang.OutOfMemoryError: unable to create new native thread
There is not enough space to create a new thread. Threads(stacks).
if -Xmx solves your problem, then set it and be happy :)
another tip is to decrease the value of your thread stack size using the -Xss
parameter, for example
-Xss32
On Today at 3:40pm, RT=>Rahul Tandon <[EMAIL PROTECTED]> wrote:
RT> Thanks Kevan.
RT>
RT> I tried changing stack size (ulimit -s 8192) to 8 MB and thought it should
RT> sovle the problem, but it did not..rather it gave error:
RT> Previous stack size was 10240 kbytes when the application works wit
-Original Message-
From: Kevan Miller [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 15, 2007 10:05 PM
To: Tomcat Users List
Subject: Re: OutOfMemoryError
Rahul,
There's an inverse relationship between your maximum heap size and
the number of threads that can be allocated within
Rahul,
There's an inverse relationship between your maximum heap size and
the number of threads that can be allocated within your process. Your
OS (and Java) will allocate memory for each Thread you create. By
increasing your max heap, you're actually reducing the amount of
memory availab
PM
To: Tomcat Users List
Subject: RE: OutOfMemoryError
> From: Rahul Tandon [mailto:[EMAIL PROTECTED]
> Subject: RE: OutOfMemoryError
>
> maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
Doesn't seem excessive. What does ulimit say abo
to be free of viruses and
accept no liability for any damage caused thereof.
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 14, 2007 12:09 PM
To: Tomcat Users List
Subject: RE: OutOfMemoryError
> From: Rahul Tandon [mailto:[EMAIL P
> From: Rahul Tandon [mailto:[EMAIL PROTECTED]
> Subject: RE: OutOfMemoryError
>
> maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
Doesn't seem excessive. What does ulimit say about your user process
virtual memory limit?
- Chuck
I am using:
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
Thanks,
Rahul Tandon
[EMAIL PROTECTED]
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 14, 2007 11:52 AM
To: Tomcat Users List
> From: Rahul Tandon [mailto:[EMAIL PROTECTED]
> Subject: OutOfMemoryError
>
> Caused by: java.lang.OutOfMemoryError: unable to create new
> native thread
>
> I am checking vmstat at this time and see 3GB free memory.
You appear to have hit a limitiation on the number of threads you can
create
It helped us to upgrade to java 1.5.0_10. There are fixes for memory leaks in
native memory. They do not show up in the java heap.
Ronald.
On Wed Feb 07 23:34:45 CET 2007 Tomcat Users List
wrote:
---
Version Informa
| From: Tim Funk [mailto:[EMAIL PROTECTED]
| Sent: Friday, 09 February, 2007 06:30
|
| Pardon the bad math in the faq since 64*2!=256 ;)
Obviously you were thinking "64 << 2" -- happens to everybody... ;)
-
-
http://tomcat.apache.org/faq/memory.html
"If you have a lot of servlets or JSP's, you may need to increase your
permanent generation. By default, it is 64MB. Doubling it to be
-XX:MaxPermSize=256m might be a good start."
Pardon the bad math in the faq since 64*2!=256 ;)
-Tim
Nikola Milutin
> From: Sharon French [mailto:[EMAIL PROTECTED]
> Subject: RE: OutOfMemoryError (but not really out of memory?)
> cause tomcat processes to hang
>
> Given this information at the top of the jmap -heap output:
> Heap Configuration:
> ...
> Per
rather than a "perm space" message.
Can this message be trusted? Or could this be a PermGen issue?
Thank you for your help,
Sharon French
-Original Message-
From: Nikola Milutinovic [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 08, 2007 5:05 PM
To: Tomcat Users List
> You have quite a bit of memory in your 'Old Generation'. You need to
> determine what you're allocating that isn't being released.
Not true, see below.
> > Heap Usage:
> > PS Young Generation
> > Eden Space:
> >capacity = 10223616 (9.75MB)
> >use
> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
> Subject: Re: OutOfMemoryError (but not really out of memory?)
> cause tomcatprocessesto hang
>
> The collector itself requires the creation of Java objects on
> the heap.
Not really. The generational HotSpot collec
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
Caldarale, Charles R wrote:
>> In fact, this is often when OOMs occur, since the JVM is trying
>> hard to avoid the OOM in the first place.
>
> Uhhh - no. The JVM will not return an OOME until the GC is completely
> finished and the request s
> From: Sharon French [mailto:[EMAIL PROTECTED]
> Subject: RE: OutOfMemoryError (but not really out of memory?)
> cause tomcatprocesses to hang
>
> Nope - no stack trace :(.
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4753347
> seems to indicate that this wa
> You should have stack traces to go with the OOME reports; where do these
show the execution to be?
Nope - no stack trace :(.
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4753347 seems to indicate
that this was missed in the 1.5.0 release and came in with 1.5.1.
> It should be in 1.5; 1
We've seen errors where individual queries are improperly bounded or
unbounded allowing requests to attempt to retrieve unreasonable amounts of
data. A single request like this can take an otherwise stable system and
throw it into all sorts of bad behaviors and error conditions.
To assist with t
> From: Sharon French [mailto:[EMAIL PROTECTED]
> Subject: RE: OutOfMemoryError (but not really out of memory?)
> cause tomcatprocesses to hang
>
> I'm assuming that whomever was sucking up the memory has
> either given it back or died off - right?
Not necessarily. T
> I assume the Xms value is set to the same value as Xmx?
> If not, at least earlier jdks tendered to through outofmemory
> during heap resize.
I will give this a shot. Thanks.
> The changes in Xmx values, did they had any impact on the duration
> of the servers "good state" under load?
Nope
> Uhhh - no. The JVM will not return an OOME until the GC
> is completely finished and the request still cannot be
> satisfied. Even with concurrent GC, failing allocation
> requests are suspended until a full GC has completed.
> The exception to the above is if a request is made that
> co
> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
> Subject: Re: OutOfMemoryError (but not really out of memory?)
> cause tomcatprocesses to hang
>
> Sharon French wrote:
> > Is it possible that the initial OutOfMemory error occurs
> > when a large garbage collec
Hello Sharon,
just some thoughts
On 2/7/07, Sharon French <[EMAIL PROTECTED]> wrote:
---
Version Information:
---
Red Hat Linux: 2.4.
> You have quite a bit of memory in your 'Old Generation'. You need to
determine
> what you're allocating that isn't being released.
We have a fairly substantial amount of data that is loaded on startup and
remains for the duration. This probably accounts for part of the old-gen
usage.
I also
Sharon,
You have quite a bit of memory in your 'Old Generation'. You need to
determine what you're allocating that isn't being released.
How many sessions do you have active when the problem occurs? What is your
session timeout?
What are you putting into your sessions (how much is held by each
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Sharon,
Sharon French wrote:
> Is it possible that the initial OutOfMemory error occurs when a large
> garbage collection is taking place and an OutOfMemoryError is thrown
> before the memory can be reclaimed
Yes. In fact, this is often when OOMs occ
I am following up on my own thread because I found the culprit!
I turns out that the JVM was leaking native memory (that's why profiling
the heap usage did not show anything, nor tracking file descriptors).
The process virtual size (VSZ in top) was growing slowly but surely,
until the OS start
> From: Renaud Bruyeron [mailto:[EMAIL PROTECTED]
> Subject: OutOfMemoryError when jasper (or webappclassloader)
> tries to readjar files
>
> This is an example of the top of the stacktraces we
> experience *after a while* (i.e. after a couple of
> days of operation, sometimes more):
> java.lan
ch on the net. Its free.
-Original Message-
From: Stracchino, Peri
Sent: 30 January 2006 17:55
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: RE: OutOfMemoryError - how to increase heap size
Not sure about when using init.d and/or running from netbeans, but
generaly you need to us
Not sure about when using init.d and/or running from netbeans, but
generaly you need to use the catalina.bat file if starting tomcat from
the startup.bat (add the line 'set CATALINA_OPTS=-msxxxm -mm' where
xxx represents the minimum and maximum values you want) or, if you are
running it as a wi
> From: Aparna Ramakrishnan [mailto:[EMAIL PROTECTED]
> Subject: OutOfMemoryError - how to increase heap size
>
> Since I am completely new to both JAVA and tomcat, I would
> like to know how I need to proceed. I believe I must increase
> the maxMemory -- but how and where?
Actually, you prob
So it turns out that we were using a 5.5.12 and a 5.5.9 installation. Once
I changed the 5.5.9 to 5.5.12, it worked fine.
- Original Message -
From: "Zarar Siddiqi" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, November 01, 2005 12:59 PM
Subject: OutOfMemoryError when starting cluster in
92 matches
Mail list logo