Re: OutOfMemoryError when Uploading Files

2017-12-22 Thread Mark Thomas
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

Re: OutOfMemoryError: PermGen space - SOLVED

2016-07-25 Thread Mark Eggers
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 -

RE: OutOfMemoryError: PermGen space - SOLVED

2016-07-25 Thread Berneburg, Cris J. - US
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

RE: OutOfMemoryError: PermGen space - SOLVED

2016-07-25 Thread Berneburg, Cris J. - US
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,

RE: OutOfMemoryError: PermGen space - SOLVED

2016-07-25 Thread Berneburg, Cris J. - US
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

Re: OutOfMemoryError: PermGen space - SOLVED

2016-07-23 Thread Guido Jäkel
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

Re: OutOfMemoryError: PermGen space - SOLVED

2016-07-22 Thread Mark Thomas
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

Re: OutOfMemoryError: PermGen space - SOLVED

2016-07-22 Thread Mark Eggers
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

RE: OutOfMemoryError: PermGen space - SOLVED

2016-07-22 Thread Berneburg, Cris J. - US
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

RE: OutOfMemoryError: PermGen space

2016-07-22 Thread Berneburg, Cris J. - US
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

RE: OutOfMemoryError: PermGen space

2016-07-22 Thread Berneburg, Cris J. - US
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

RE: OutOfMemoryError: PermGen space

2016-07-22 Thread Berneburg, Cris J. - US
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

RE: OutOfMemoryError: PermGen space

2016-07-22 Thread Berneburg, Cris J. - US
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

RE: OutOfMemoryError: PermGen space

2016-07-22 Thread Jäkel , Guido
>-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

Re: OutOfMemoryError: PermGen space

2016-07-21 Thread Mark Eggers
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

Re: OutOfMemoryError: PermGen space

2016-07-21 Thread Mark Thomas
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

RE: OutOfMemoryError: PermGen space

2016-07-21 Thread Berneburg, Cris J. - US
, 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

Re: OutOfMemoryError: PermGen space

2016-07-20 Thread Mark Thomas
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

RE: OutOfMemoryError: PermGen space

2016-07-20 Thread Berneburg, Cris J. - US
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: > > > > >

RE: OutOfMemoryError: PermGen space

2016-07-20 Thread Berneburg, Cris J. - US
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

Re: OutOfMemoryError: PermGen space

2016-07-19 Thread Román Valoria
: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

Re: OutOfMemoryError: PermGen space

2016-07-19 Thread Mark Thomas
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

RE: OutOfMemoryError: PermGen space

2016-07-19 Thread Berneburg, Cris J. - US
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

RE: OutOfMemoryError: PermGen space

2016-07-19 Thread Jäkel , Guido
>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

RE: OutOfMemoryError: PermGen space

2016-07-19 Thread Berneburg, Cris J. - US
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

Re: OutOfMemoryError: PermGen space

2016-07-14 Thread Román Valoria
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

Re: OutOfMemoryError: PermGen space

2016-07-14 Thread Mark Thomas
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

Re: OutOfMemoryError some time on some tomcat!!!!1

2010-11-23 Thread Sylvain Laurent
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

RE: OutOfMemoryError some time on some tomcat!!!!1

2010-11-23 Thread Caldarale, Charles R
> 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

Re: OutOfMemoryError some time on some tomcat

2010-11-23 Thread Daniel Baktiar
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

Re: OutOfMemoryError some time on some tomcat!!!!1

2010-11-23 Thread Daniel Baktiar
; > > > 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 -

Re: OutOfMemoryError some time on some tomcat!!!!1

2010-11-23 Thread xu cheng
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

Re: OutOfMemoryError some time on some tomcat

2010-11-23 Thread Mark Thomas
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

Re: OutOfMemoryError some time on some tomcat!!!!1

2010-11-22 Thread Daniel Baktiar
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

Re: OutOfMemoryError some time on some tomcat!!!!1

2010-11-22 Thread xu cheng
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

RE: OutOfMemoryError some time on some tomcat!!!!1

2010-11-22 Thread 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 same app. and when I > undeploy the app, the perm gen didn't clean the

Re: OutOfMemoryError some time on some tomcat!!!!1

2010-11-22 Thread Daniel Baktiar
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

Re: OutOfMemoryError some time on some tomcat!!!!1

2010-11-22 Thread xu cheng
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

Re: OutOfMemoryError some time on some tomcat!!!!1

2010-11-22 Thread xu cheng
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

Re: OutOfMemoryError some time on some tomcat!!!!1

2010-11-22 Thread Daniel Baktiar
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

Re: OutOfMemoryError some time on some tomcat!!!!1

2010-11-21 Thread xu cheng
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

Re: OutOfMemoryError some time on some tomcat!!!!1

2010-11-21 Thread xu cheng
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

Re: OutOfMemoryError some time on some tomcat!!!!1

2010-11-21 Thread 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 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:

RE: OutOfMemoryError some time on some tomcat!!!!1

2010-11-21 Thread Caldarale, Charles R
> 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

Re: OutOfMemoryError: PermGen space!!!! Dont know why?

2010-09-16 Thread Christopher Schultz
-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

Re: OutOfMemoryError: PermGen space!!!! Dont know why?

2010-09-16 Thread André Warnier
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

Re: OutOfMemoryError: PermGen space!!!! Dont know why?

2010-09-16 Thread abhishek jain
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.

Re: OutOfMemoryError: PermGen space!!!! Dont know why?

2010-09-15 Thread Pid
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

Re: OutOfMemoryError: PermGen space!!!! Dont know why?

2010-09-15 Thread Edmund Urbani
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

Re: OutOfMemoryError: PermGen space!!!! Dont know why?

2010-09-15 Thread Peter McNeil
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

Re: OutOfMemoryError happening in embedded instance of Tomcat 6 (Apache OFBiz project)

2008-07-08 Thread Jacopo Cappellato
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

Re: OutOfMemoryError happening in embedded instance of Tomcat 6 (Apache OFBiz project)

2008-07-07 Thread Filip Hanik - Dev Lists
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

Re: OutOfMemoryError while deploying

2008-06-10 Thread Reid Swanson
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

Re: OutOfMemoryError while deploying

2008-06-10 Thread Filip Hanik - Dev Lists
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

RE: OutOfMemoryError: allocLargeObjectOrArray

2008-01-30 Thread Caldarale, Charles R
> 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

Re: OutOfMemoryError: allocLargeObjectOrArray

2008-01-30 Thread David Delbecq
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

Re: OutOfMemoryError

2007-03-21 Thread Haroon Rafique
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>

Re: OutOfMemoryError

2007-03-20 Thread Filip Hanik - Dev Lists
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,

Re: OutOfMemoryError

2007-03-20 Thread Filip Hanik - Dev Lists
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

RE: OutOfMemoryError

2007-03-16 Thread Haroon Rafique
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

RE: OutOfMemoryError

2007-03-16 Thread Rahul Tandon
-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

Re: OutOfMemoryError

2007-03-15 Thread Kevan Miller
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

RE: OutOfMemoryError

2007-03-15 Thread Rahul Tandon
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

RE: OutOfMemoryError

2007-03-14 Thread Rahul Tandon
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

RE: OutOfMemoryError

2007-03-14 Thread Caldarale, Charles R
> 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

RE: OutOfMemoryError

2007-03-14 Thread Rahul Tandon
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

RE: OutOfMemoryError

2007-03-14 Thread Caldarale, Charles R
> 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

Re: OutOfMemoryError (but not really out of memory?) cause tomcat processes to hang

2007-02-19 Thread Ronald Klop
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

RE: OutOfMemoryError (but not really out of memory?) cause tomcat processes to hang

2007-02-09 Thread Nelson, Tracy M.
| 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... ;) - -

Re: OutOfMemoryError (but not really out of memory?) cause tomcat processes to hang

2007-02-09 Thread Tim Funk
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

RE: OutOfMemoryError (but not really out of memory?) cause tomcat processes to hang

2007-02-08 Thread Caldarale, Charles R
> 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

RE: OutOfMemoryError (but not really out of memory?) cause tomcat processes to hang

2007-02-08 Thread Sharon French
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

Re: OutOfMemoryError (but not really out of memory?) cause tomcat processes to hang

2007-02-08 Thread Nikola Milutinovic
> 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

RE: OutOfMemoryError (but not really out of memory?) cause tomcatprocessesto hang

2007-02-07 Thread Caldarale, Charles R
> 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

Re: OutOfMemoryError (but not really out of memory?) cause tomcatprocesses to hang

2007-02-07 Thread Christopher Schultz
-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

RE: OutOfMemoryError (but not really out of memory?) cause tomcatprocesses to hang

2007-02-07 Thread Caldarale, Charles R
> 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

RE: OutOfMemoryError (but not really out of memory?) cause tomcatprocesses to hang

2007-02-07 Thread Sharon French
> 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

Re: OutOfMemoryError (but not really out of memory?) cause tomcatprocesses to hang

2007-02-07 Thread John Hayward
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

RE: OutOfMemoryError (but not really out of memory?) cause tomcatprocesses to hang

2007-02-07 Thread Caldarale, Charles R
> 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

RE: OutOfMemoryError (but not really out of memory?) cause tomcat processes to hang

2007-02-07 Thread Sharon French
> 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

RE: OutOfMemoryError (but not really out of memory?) cause tomcatprocesses to hang

2007-02-07 Thread Sharon French
> 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

RE: OutOfMemoryError (but not really out of memory?) cause tomcatprocesses to hang

2007-02-07 Thread Caldarale, Charles R
> 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

Re: OutOfMemoryError (but not really out of memory?) cause tomcat processes to hang

2007-02-07 Thread Leon Rosenberg
Hello Sharon, just some thoughts On 2/7/07, Sharon French <[EMAIL PROTECTED]> wrote: --- Version Information: --- Red Hat Linux: 2.4.

RE: OutOfMemoryError (but not really out of memory?) cause tomcat processes to hang

2007-02-07 Thread Sharon French
> 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

Re: OutOfMemoryError (but not really out of memory?) cause tomcat processes to hang

2007-02-07 Thread John Hayward
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

Re: OutOfMemoryError (but not really out of memory?) cause tomcat processes to hang

2007-02-07 Thread Christopher Schultz
-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

Re: OutOfMemoryError when jasper (or webappclassloader) tries to read jar files

2007-01-05 Thread Renaud Bruyeron
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

RE: OutOfMemoryError when jasper (or webappclassloader) tries to readjar files

2006-12-21 Thread Caldarale, Charles R
> 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

RE: OutOfMemoryError - how to increase heap size

2006-01-30 Thread Stracchino, Peri
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

RE: OutOfMemoryError - how to increase heap size

2006-01-30 Thread Stracchino, Peri
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

RE: OutOfMemoryError - how to increase heap size

2006-01-30 Thread Caldarale, Charles R
> 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

Re: OutOfMemoryError when starting cluster in 5.5.12

2005-11-01 Thread Zarar Siddiqi
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