Re: memory leak

2010-01-20 Thread Travis Beech
I would make sure that your DAO class is closing any statements, resultsets, and connections that are no longer being used once your method call returns. Since GC does happen immediately your db resources could still be in memory. Travis Beech On Jan 20, 2010, at 3:50 PM, Ken Bowen wrote: > Sh

RE: memory leak

2010-01-20 Thread Caldarale, Charles R
> From: Ken Bowen [mailto:kbo...@als.com] > Subject: memory leak > > Short version: I have a project which gets some simple info from a db > via DWR, and outputs it simply on the page. There is a memory leak on > the java side. First off, do you really have a leak? top is not an appropriate too

Re: memory leak

2010-01-20 Thread Ken Bowen
As I mentioned, the DAO class uses a standard try/catch/finally pattern to ensure that all statements, resultsets, & connections have been closed before a method returns. On Jan 20, 2010, at 9:25 PM, Travis Beech wrote: I would make sure that your DAO class is closing any statements, result

RE: memory leak

2010-01-20 Thread Travis Beech
: Ken Bowen [mailto:kbo...@als.com] Sent: Wednesday, January 20, 2010 7:11 PM To: Tomcat Users List Subject: Re: memory leak As I mentioned, the DAO class uses a standard try/catch/finally pattern to ensure that all statements, resultsets, & connections have been closed before a method ret

Re: memory leak

2010-01-21 Thread Ken Bowen
I take your point about getting realistic heap info. It's also been suggested that I set up & profile a version just executing the Java side without DWR in the loop. Thanks Ken On Jan 20, 2010, at 10:02 PM, Caldarale, Charles R wrote: From: Ken Bowen [mailto:kbo...@als.com] Subject: memor

Re: Memory Leak

2009-01-19 Thread Jose Vicente Nunez Zuleta
Hello Mohit, You can try to check how the process is running using Jconsole or jstack, jmap (granted if you have JDK 6.0). Read the documentation of this tools to figure out the meaning of the output: * http://www.google.com/url?sa=t&source=web&ct=res&cd=8&url=http%3A%2F%2Fweblogs.java.net

Re: Memory Leak

2016-06-28 Thread David Kerber
On 6/28/2016 5:57 PM, Roman Gelfand wrote: I am running a middleware application in the tomcat environment described, below. After rebooting the server, the memory consumption is couple of gigs. Couple of weeks later, I get a message, I am out of memory. Moreover, I need to bounce the whole ser

Re: Memory Leak

2016-06-28 Thread Leo Donahue
On Jun 28, 2016 4:57 PM, "Roman Gelfand" wrote: > > I am running a middleware application in .. tomcat... Ok. This is something you wrote and deployed or it is a third party war file? > > catalina.out.prob:SEVERE: The web application [] appears to have started a > thread named [cluster-ClusterI

Re: Memory Leak

2016-06-28 Thread Roman Gelfand
It is third party REST server named espresso. After looking further into memory leaks message, I realized this is a thread that writes to mongodb. I had also found couple of posts relating to leaks mongodb jdbc drivers. On Jun 28, 2016 8:27 PM, "Leo Donahue" wrote: > On Jun 28, 2016 4:57 PM, "Ro

Re: Memory Leak

2016-06-28 Thread Felix Schumacher
Am 29. Juni 2016 02:26:57 MESZ, schrieb Leo Donahue : >On Jun 28, 2016 4:57 PM, "Roman Gelfand" wrote: >> >> I am running a middleware application in .. tomcat... > >Ok. This is something you wrote and deployed or it is a third party >war >file? > >> >> catalina.out.prob:SEVERE: The web applica

Re: Memory leak detection

2007-04-23 Thread David Smith
Google for a java memory profiler. Lot's of them exist -- some open source, some commercial. --David Marc wrote: Is there any software or technique to detect memory leak on tomcat applications? Thanks Flavio Tobias -

Re: Memory leak in EncodingDetector?

2024-03-19 Thread Christopher Schultz
Simon, On 3/18/24 15:17, Simon Niederberger wrote: I'm analyzing a memory leak reported by Tomcat, and have narrowed it down to org.apache.jasper.compiler.EncodingDetector: private static final XMLInputFactory XML_INPUT_FACTORY; static { XML_INPUT_FACTORY = XMLInputFactory.newInstance(); }

Re: Memory leak in EncodingDetector?

2024-03-20 Thread Simon Niederberger
Hi Chris The whole thing is caused by Maven dependencies which pull in com.fasterxml.woodstox:woodstox-core. The WstxInputFactory has a @ServiceProvider(XMLInputFactory.class) annotation, where ServiceProvider is org.ehcache.spi.service.ServiceProvider. I didn't manage to trace the key code sect

Re: Memory leak in EncodingDetector?

2024-03-20 Thread Christopher Schultz
Simon, On 3/20/24 09:59, Simon Niederberger wrote: The whole thing is caused by Maven dependencies which pull in com.fasterxml.woodstox:woodstox-core. The WstxInputFactory has a @ServiceProvider(XMLInputFactory.class) annotation, where ServiceProvider is org.ehcache.spi.service.ServiceProvider

Re: Memory leak in EncodingDetector?

2024-03-20 Thread Simon Niederberger
Hi Chris Spring's ObservationFilterChainDecorator is ridiculous, isn't it? > What if you create an empty jaxp.properties file and make it available to the > common ClassLoader (e.g. in lib/empty-jaxp.jar:/jaxp.properties) -- does that > prevent the problem? I think that boils down to what I'm a

Re: Memory leak in EncodingDetector?

2024-03-21 Thread Christopher Schultz
Simon, On 3/20/24 15:36, Simon Niederberger wrote: What if you create an empty jaxp.properties file and make it available to the common ClassLoader (e.g. in lib/empty-jaxp.jar:/jaxp.properties) -- does that prevent the problem? > I think that boils down to what I'm already doing with the sys

Re: Memory leak in EncodingDetector?

2024-03-21 Thread Simon Niederberger
Hi Chris Personally I'd go with XML_INPUT_FACTORY = XMLInputFactory.newFactory(XMLInputFactory.class.getName(), EncodingDetector.class.getClassLoader()); allowing me to place my own JAR in common/lib if I really want to (the only scenario I can think of is an edge-case where there's a bug in the

Re: Memory leak in EncodingDetector?

2024-03-22 Thread Christopher Schultz
Simon, On 3/21/24 12:39, Simon Niederberger wrote: Hi Chris Personally I'd go with XML_INPUT_FACTORY = XMLInputFactory.newFactory(XMLInputFactory.class.getName(), EncodingDetector.class.getClassLoader()); allowing me to place my own JAR in common/lib if I really want to (the only scenario I c

Re: Memory leak in EncodingDetector?

2024-03-22 Thread Simon Niederberger
Very cool Chris, thanks for the quick reaction! Simon out On Fri, Mar 22, 2024 at 1:41 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > Simon, > > On 3/21/24 12:39, Simon Niederberger wrote: > > Hi Chris > > > > Personally I'd go with > > > > XML_INPUT_FACTORY = > > XMLInputFacto

Re: memory leak in tomcat?

2011-02-03 Thread maxxe...@gmail.com
oh and here is a screenshot (not sure if attachments are allowed) -m On Thu, Feb 3, 2011 at 9:28 AM, maxxe...@gmail.com wrote: > Hi, > > Tomcat 6.0.26 on a solaris. > > After I unloaded a webapp and asked tomcat to 'find leaks', it > reported a webapp leaked memory. However, when I ran a profile

Re: memory leak in tomcat?

2011-02-03 Thread maxxe...@gmail.com
uploaded the screenshot here: http://i.imgur.com/OqCBv.png On Thu, Feb 3, 2011 at 9:29 AM, maxxe...@gmail.com wrote: > oh and here is a screenshot (not sure if attachments are allowed) > > -m > > On Thu, Feb 3, 2011 at 9:28 AM, maxxe...@gmail.com wrote: >> Hi, >> >> Tomcat 6.0.26 on a solaris. >

Re: memory leak in tomcat?

2011-02-03 Thread Konstantin Kolinko
2011/2/3 maxxe...@gmail.com : > Hi, > > Tomcat 6.0.26 on a solaris. > > After I unloaded a webapp and asked tomcat to 'find leaks', it > reported a webapp leaked memory. However, when I ran a profiler on the > heapdump, there are only 2 references to the webappclassloader. Both > are weak and are t

Re: Memory Leak in Tomcat

2011-02-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 הילה, On 2/20/2011 8:28 AM, הילה wrote: > I work in a company which we use Tomcat (5.5.26 and recently we've upgraded > it to 6.0.29) to run our application. Any chance you can move all the way up to 6.0.32? > since we changed > configuration to use

Re: Memory Leak in Tomcat

2011-02-22 Thread הילה
Hey, I have used JProfiler to monitor the tomcat process, but haven't found anything useful. you can see that the tomcat process is the only one that increasing, and it started to happen since i switched to windows authentication.. so I think it's connected? what is a heap analysis? how can i enab

Re: Memory Leak in Tomcat

2011-02-22 Thread André Warnier
הילה (Interesting: my Thunderbird email client seems unable to remove your name above...) Anyway, hi. Your initial description says : Until now, we used [b]SQL Authentication[/b] for the tomcat service and configuration (user and password for tomcat to access the DB was provided within the xml

Re: Memory Leak in Tomcat

2011-02-22 Thread הילה
Hey, When going to tomcat site, you can download "32-bit/64-bit Windows Service Installer " That's what I have installed. When installing this, it creates the tomcat service in windows + the regular folder under c:\progr

Re: Memory Leak in Tomcat

2011-02-22 Thread André Warnier
הילה wrote: ... The tomcat service (on windows) ran with local system... Ok, now I get it. ... Now the tomcat service is running (as a Windows domain user) and authenticates to the DB with a domain user The above are two entirely distinct matters. 1) the Tomcat service was running as "Lo

Re: Memory Leak in Tomcat

2011-02-22 Thread הילה
I've posted my problem in the sourceforge forums, but no comments have received so far. :( If you have any suggestions to replace this, another way to authenticate the tomcat to the DB with user and password that do not appear in clear text, I'll be glad to hear about it. Thanks Hila 2011/2/23 A

Re: Memory Leak in Tomcat

2011-02-23 Thread André Warnier
הילה wrote: I've posted my problem in the sourceforge forums, but no comments have received so far. :( If you have any suggestions to replace this, another way to authenticate the tomcat to the DB with user and password that do not appear in clear text, I'll be glad to hear about it. Have a lo

Re: Memory Leak in Tomcat

2011-02-23 Thread הילה
Sorry for the sent mail double time thing :] i'll check the Jespa suggestion. thanks :] keep the ideas coming, guys. every little thing could help Thanks Hila 2011/2/23 André Warnier > הילה wrote: > >> I've posted my problem in the sourceforge forums, but no comments have >> received so far.

Re: Memory Leak in Tomcat

2011-02-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, Bah. The OP replied to me directly (and CC'd the list) and so a REPLY went to the OP and not to the list. Re-posting back. On 2/22/2011 4:52 PM, Christopher Schultz wrote: > הילה, > > On 2/22/2011 4:39 PM, הילה wrote: >> I have used JProfiler t

Re: Memory Leak in Tomcat

2011-02-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 הילה, On 2/23/2011 2:06 AM, הילה wrote: > I've posted my problem in the sourceforge forums, but no comments have > received so far. :( > > If you have any suggestions to replace this, another way to authenticate the > tomcat to the DB with user and p

Re: Memory Leak in Tomcat

2011-02-23 Thread הילה
I trust the people in the company, but the company's work is with sites that any user all over the internet can access. so we want to perform a damage control if some hacker would gain access to our web server, so if he can - he won't get access to the DB, at least not with our help of displaying t

Re: Memory Leak in Tomcat

2011-03-06 Thread André Warnier
הילה wrote: Security seems to be always in the hands of the wrong people. No need for insults here, this is a new requirement which I'm not familiar with, and that's why I asked you guys.. Instead of the JTDS, can I use Tomcat Spengo? will it provide same results, as using a domain user for th

Re: Memory Leak in Tomcat

2011-03-06 Thread הילה
Hey, i've posted a message on JTDS forums, but no one answered. I know the memory leak is caused by the dll, since when I don't use it, all is good. i'll open a new thread here, thanks 2011/3/6 André Warnier > הילה wrote: > >> Security seems to be always in the hands of the wrong people. >> >>

Re: Memory Leak with Comet

2007-04-24 Thread Rémy Maucherat
On 4/24/07, Reich, Matthias <[EMAIL PROTECTED]> wrote: If memory allocation of Tomcat continues until I see messages like org.apache.coyote.http11.Http11NioProcessor: Error processing request java.lang.OutOfMemoryError: Java heap space There are leaks that have been fixed in the NIO connector,

RE: Memory Leak with Comet

2007-04-24 Thread Reich, Matthias
bject: Re: Memory Leak with Comet On 4/24/07, Reich, Matthias <[EMAIL PROTECTED]> wrote: > If memory allocation of Tomcat continues until I see messages like > > org.apache.coyote.http11.Http11NioProcessor: Error processing request > java.lang.OutOfMemoryError: Java heap space Th

Re: Memory Leak with Comet

2007-04-24 Thread Rémy Maucherat
On 4/24/07, Reich, Matthias <[EMAIL PROTECTED]> wrote: I did a fresh build this morning from the SVN trunk, and I see the memory leak with both NIO and APR connector. For each browser I run, I have at most 3 active connections at a time. I think, acually there are at most 2 active connections p

Re: Memory Leak with Comet

2007-04-24 Thread Filip Hanik - Dev Lists
4 browser instances for my test, I have at most 12 (or 8) active connections. Matthias -Original Message- From: Rémy Maucherat [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 24, 2007 4:58 PM To: Tomcat Users List Subject: Re: Memory Leak with Comet On 4/24/07, Reich, Matthias <[EM

RE: Memory Leak with Comet

2007-04-25 Thread Reich, Matthias
Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 24, 2007 11:47 PM To: Tomcat Users List Subject: Re: Memory Leak with Comet Why don't you enable -XX:+HeapDumpOnOutOfMemoryError and send us a link where we can download the HPROF files that get gene

Re: Memory Leak with Comet

2007-04-25 Thread Rémy Maucherat
On 4/25/07, Reich, Matthias <[EMAIL PROTECTED]> wrote: First I ran Tomcat with a single connector with attribute maxThreads=20, and started it with -Xmx10m. In the dump I saw 103 instances of class org.apache.coyote.http11.Http11AprProcessor and the same number of all the attached objects like Re

RE: Memory Leak with Comet

2007-04-25 Thread Reich, Matthias
iginal Message- From: Rémy Maucherat [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 25, 2007 3:11 PM To: Tomcat Users List Subject: Re: Memory Leak with Comet On 4/25/07, Reich, Matthias <[EMAIL PROTECTED]> wrote: > First I ran Tomcat with a single connector with attribute maxTh

Re: Memory Leak with Comet

2007-04-25 Thread Rémy Maucherat
On 4/25/07, Reich, Matthias <[EMAIL PROTECTED]> wrote: So far, I have the feeling that I am the only one who has seen these memory leaks with asynchronous Comet responses. I tried with a number of variations, e.g. - let the browser wait for 500 millis before sending the next poll after receivi

Re: Memory Leak with Comet

2007-04-25 Thread Filip Hanik - Dev Lists
ED] Sent: Wednesday, April 25, 2007 3:11 PM To: Tomcat Users List Subject: Re: Memory Leak with Comet On 4/25/07, Reich, Matthias <[EMAIL PROTECTED]> wrote: First I ran Tomcat with a single connector with attribute maxThreads=20, and started it with -Xmx10m. In t

Re: Memory Leak with Comet

2007-04-25 Thread Rémy Maucherat
On 4/25/07, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: Do you have a small test case, if nothing else, your connections should eventually timeout and that should recycle the processors. As long as the comet connection is active, the processor is spoken for. He submitted a test webapp th

Re: Memory Leak with Comet

2007-04-25 Thread Filip Hanik - Dev Lists
Rémy Maucherat wrote: On 4/25/07, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: Do you have a small test case, if nothing else, your connections should eventually timeout and that should recycle the processors. As long as the comet connection is active, the processor is spoken for. He sub

Re: Memory Leak with Comet

2007-04-25 Thread Rémy Maucherat
On 4/25/07, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: then it's normal behavior, he'll just have to wait for a timeout or the client will disconnect I don't know for sure, of course, but it's my theory at the moment. Rémy --

RE: Memory Leak with Comet

2007-04-26 Thread Reich, Matthias
my Maucherat [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 25, 2007 6:42 PM To: Tomcat Users List Subject: Re: Memory Leak with Comet On 4/25/07, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: > then it's normal behavior, he'll just have to wait for a timeout or the &g

Re: Memory Leak with Comet

2007-04-26 Thread Rémy Maucherat
On 4/26/07, Reich, Matthias <[EMAIL PROTECTED]> wrote: The clear semantics of this approach would be: Processing is the same as for synchronous requests , except that the RequestProcessor thread is released from processing early, and another thread (or several threads that synchronize when acc

RE: Memory Leak with Comet

2007-04-26 Thread Reich, Matthias
Tomcat Users List > Subject: Re: Memory Leak with Comet > > On 4/26/07, Reich, Matthias <[EMAIL PROTECTED]> wrote: > > The clear semantics of this approach would be: Processing > is the same as for synchronous requests , except that the > RequestProcessor thread is re

Re: Memory Leak with Comet

2007-04-26 Thread Rémy Maucherat
On 4/26/07, Reich, Matthias <[EMAIL PROTECTED]> wrote: Thanks for the clear statement! As I do see processing objects that are not recycled, I now know that I have to postpone my efforts of using the CometProcessor interface. Maybe I'll retry with Tomcat 6.1 when it is released ;-) If some da

RE: Memory Leak with Comet

2007-04-27 Thread Reich, Matthias
Hello again, I would like to give you another chance to see the situation where the processing objects are not recycled. After all my observations, I had the feeling that the reason for the non-recycled processing objects must be problems with concurrent access to queues or maps that hold these o

Re: Memory Leak with Comet

2007-04-27 Thread Rémy Maucherat
On 4/28/07, Reich, Matthias <[EMAIL PROTECTED]> wrote: The problem is that the socket is added to the poller already within the Http11AprProcessor.event method. Due to this the process method can be invoked before the event method has done it's cleanup. I don't really understand how it can happ

Re: memory leak in tomcat

2012-05-24 Thread André Warnier
Christian Kaufhold wrote: Hi, I have a leaking Tomcat App I checked the heap with the Eclipse Memory Analyser and it says The classloader/component *"org.apache.catalina.loader.WebappClassLoader @ 0x94532f50"* occupies *376.421.152 (79,51%)* bytes. The memory is accumulated in one instance of

Re: memory leak in tomcat

2012-05-24 Thread Konstantin Kolinko
2012/5/24 Christian Kaufhold : > Hi, > > I have a leaking Tomcat App > I checked the heap with the Eclipse Memory Analyser > and it says > > The classloader/component *"org.apache.catalina.loader.WebappClassLoader @ > 0x94532f50"* > occupies *376.421.152 (79,51%)* bytes. The memory is accumulated i

Re: memory leak in tomcat

2012-05-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 5/24/12 8:42 AM, Konstantin Kolinko wrote: > 2012/5/24 Christian Kaufhold : >> Hi, >> >> I have a leaking Tomcat App I checked the heap with the Eclipse >> Memory Analyser and it says >> >> The classloader/component >> *"org.apache.ca

Re: memory leak in tomcat

2012-05-24 Thread Warren Bell
Is this the same server with the Wicket app you posted about earlier ? If so, you have a Wicket app that is storing the SessionFactoryObjectFactory on a page as a class member. Wicket stores each page a user has been to in the user's session. If the page has class members, then it serializes them a

Re: memory leak in tomcat

2012-06-05 Thread Christian Kaufhold
Hi Warren, thanks for the help. I found that the application creates lots of SessionFactoryImpl objects even though one is enough I changed this part of webapp. Now it has only one SessionFactoryImpl and the memory leak is gone. bye 2012/5/24 Warren Bell > Is this the same server with the Wic

Re: Memory leak with Jersey 2.33

2021-01-31 Thread Mark Eggers
On 1/31/2021 9:39 PM, Mark Eggers wrote: Folks, This is probably not a Tomcat issue, but any thoughts on how to resolve this would be greatly appreciated. I am running into an apparent ClassLoader leak with the following configuration: Windows 10 Professional (64 bit, latest updates) OpenJ

Re: Memory leak with Jersey 2.33

2021-02-01 Thread Mark Thomas
On 01/02/2021 06:37, Mark Eggers wrote: > On 1/31/2021 9:39 PM, Mark Eggers wrote: >> GC roots for cplanapi are: >> >> class com.sun.naming.internal.ResourceManager >> '- propertiesCache java.util.WeakHashMap >>     '- table java.util.WeakHashMap$Entry[16] >>    '- java.util.WeakHashMap$Entr

Re: Memory leak with Jersey 2.33

2021-02-01 Thread Mark Eggers
Mark, On 2/1/2021 1:33 AM, Mark Thomas wrote: Is the GC root above the only one? I've seen similar behaviour in the past where weak references appear to be the cause of a leak but closer inspection uncovers a strong reference. Mark Thanks for putting me on the correct track. I'm using log4j2

Re: Memory Leak question - please help

2006-06-29 Thread Darryl Miles
John McClain wrote: How do I know what memory is expected to be retained by Tomcat outside of my application classes There seems to be caches / pools / classloaders as almost every GC root. Is there some list out there that defines valid Catalina GC roots for a running webapplication?? If not

RE: Memory leak in Tomcat 5.5.16

2010-05-04 Thread KT2010
Hello Tom, I am facing a similar issue. Could you please send that piece of code that was causing you this error, just that snippet should be good. Thanks Tom Price-3 wrote: > > Hi all, > > No more help required - I traced back all the references to the Request > objects and it did turn out

Re: Memory leak in Tomcat 5.5.16

2008-03-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tom, Tom Price wrote: | I have analyzed the heap usage on a | system where this memory leak has occurred, and I see that the following | classes take up most of the memory: [snip] | Does anyone know what could trigger the above classes to be leaked

Re: Memory leak in Tomcat 5.5.16

2008-03-27 Thread Filip Hanik - Dev Lists
try to disable the cache in conf/catalina.properties, at the bottom there is a setting you can set to false tomcat.util.buf.StringCache.byte.enabled=true if the problem still exists, use jmap to dump the heap, and analyse the actual dependencies for mem usage Filip Tom Price wrote: Hi, I h

RE: Memory leak in Tomcat 5.5.16

2008-03-27 Thread Tom Price
Christopher, Christopher Schultz wrote: > Have you been able to compare the numbers of those objects after, say, > 100 requests with the same object counts after, say, 1 requests? It > /is/ possible that Tomcat is leaking memory per connection, but very > unlikely given that thousands of serve

Re: Memory leak in Tomcat 5.5.16

2008-03-28 Thread Mark Thomas
Tom Price I'm trying to find a tool that will show me which objects are holding onto references to these Tomcat objects, but haven't had much success so far - any suggestions gratefully received. Not free, but I use YourKit and get on very well with it. Mark -

RE: Memory leak in Tomcat 5.5.16

2008-03-28 Thread hai_vu
" To "Tomcat Users List" cc Subject RE: Memory leak in Tomcat 5.5.16 Christopher, Christopher Schultz wrote: > Have you been able to compare the numbers of those objects after, say, > 100 requests with the same object counts after, say, 1 requests? It > /i

RE: Memory leak in Tomcat 5.5.16

2008-03-29 Thread Tom Price
Hi, I have now managed to do some analysis of the classes that are referencing the leaked objects, can anyone help me interpret these results? I got jmap/jhat working by upgrading to JRE 1.6.0_05, and took a heap dump at a time after a period of stress when all SOAP/XML connections had been close

RE: Memory leak in Tomcat 5.5.16

2008-03-31 Thread Tom Price
Hi all, No more help required - I traced back all the references to the Request objects and it did turn out to be a bug in my application code. One of my tracing classes (written a long time ago, before we used Tomcat) was caching all created Thread objects. So when Tomcat decided to allocate ne

Re: memory leak in Tomcat 8.0.9

2016-05-20 Thread Mark Thomas
First of all, the subject is wrong. There is no memory leak in Tomcat. There is a memory leak in the application you are running on Tomcat. On 20/05/2016 14:21, Sanka, Ambica wrote: > 2016-05-19 14:03:31,161 [localhost-startStop-2] WARN > org.apache.catalina.loader.WebappClassLoader- The web app

RE: memory leak in Tomcat 8.0.9

2016-05-20 Thread Sanka, Ambica
bject: Re: memory leak in Tomcat 8.0.9 First of all, the subject is wrong. There is no memory leak in Tomcat. There is a memory leak in the application you are running on Tomcat. On 20/05/2016 14:21, Sanka, Ambica wrote: > 2016-05-19 14:03:31,161 [localhost-startStop

Re: memory leak in Tomcat 8.0.9

2016-05-20 Thread Mark Thomas
> Thanks > Ambica. > > -Original Message- > From: Mark Thomas [mailto:ma...@apache.org] > Sent: Friday, May 20, 2016 9:34 AM > To: Tomcat Users List > Subject: Re: memory leak in Tomcat 8.0.9 > > First of all, the subject is wrong. There is no memory leak in Tomcat. >

Re: memory-leak in org.apache.jasper.compiler.Mark|Node$TemplateText

2016-06-03 Thread Mark Thomas
On 03/06/2016 17:14, devz...@web.de wrote: You are NOT observing a memory leak. > Regardless we have set "development" to true or false in > conf/web.xml, , whenever i recursively crawl our website with wget > (cleaning work dir before to make sure each page is being compiled > again), i can ea

Re: memory-leak in org.apache.jasper.compiler.Mark|Node$TemplateText

2016-06-04 Thread devzero
thanks for help - but, are you really sure? if i - set development=false - delete everything within work subdir to force recompile of every jsp then for me, the initial crawl makes jvm consume the same amount of memory regardless development true or false - and thats what i'm wondering about.

Re: memory-leak in org.apache.jasper.compiler.Mark|Node$TemplateText

2016-06-05 Thread Mark Thomas
On 04/06/2016 09:22, devz...@web.de wrote: > thanks for help - but, are you really sure? Yes. > if i > > - set development=false > - delete everything within work subdir to force recompile of every jsp > > then for me, the initial crawl makes jvm consume the same amount of memory > regardless

Re: Memory leak from threadlocal for hot deployment

2008-10-16 Thread Leon Rosenberg
Err, why can't you reset the object after usage or at next redeploy? Leon On Thu, Oct 16, 2008 at 7:26 AM, Noble Paul നോബിള്‍ नोब्ळ् <[EMAIL PROTECTED]> wrote: > If I store an application object in ThreadLocal and do hot deployment > it prevents the old classloader from getting GCed . Why can't To

Re: Memory leak from threadlocal for hot deployment

2008-10-16 Thread Noble Paul നോബിള്‍ नोब्ळ्
While it is possible to do so (If I know it) wouldn't it be more elegant if Tomcat handles it automatically. It is hard to educate the users to cleanup their threadlocals Recreating the threads in threadpool once per restart is not really expensive and users must be fine with that On Thu, Oct 1

Re: Memory leak from threadlocal for hot deployment

2008-10-17 Thread Ronald Klop
Tomcat Users List : Subject: Re: Memory leak from threadlocal for hot deployment Date: Fri Oct 17 08:19:11 CEST 2008 From: Noble Paul നോബിള്‍ नोब्ळ् <[EMAIL PROTECTED]> While it is possible to do so (If I know it) wouldn't it be more elegant if Tomcat handles it automatically. It

Re: Memory leak from threadlocal for hot deployment

2008-10-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Noble, Noble Paul നോബിള്‍ नोब्ळ् wrote: > While it is possible to do so (If I know it) wouldn't it be more > elegant if Tomcat handles it automatically. It is hard to educate the > users to cleanup their threadlocals. They must be educated. Un-cared-

RE: Memory (leak) continues to increase (Tomcat5.exe)

2007-03-20 Thread Jayson Enriquez
The issue continues. I have updated to JDK 1.4.2_13 and installed fixes from Documentum. Has anybody come across this issue? Any ideas? Thank you Jayson -Original Message- From: Jayson Enriquez [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 13, 2007 9:52 AM To: users@tomcat.apache.org Su

Re: Memory (leak) continues to increase (Tomcat5.exe)

2007-03-20 Thread Tim Funk
Does this use lots of LARGE jsps where the JSP's use tags which use many BodyContent objects instead of flushing directly to stream? In this case, tomcat will allocate a buffer and keep it, in anticipation that the same buffer size will be used in the future. [Some call this a leak, others an o

RE: Memory (leak) continues to increase (Tomcat5.exe)

2007-03-20 Thread Caldarale, Charles R
> From: Jayson Enriquez [mailto:[EMAIL PROTECTED] > Subject: RE: Memory (leak) continues to increase (Tomcat5.exe) > > The issue continues. I have updated to JDK 1.4.2_13 and > installed fixes from Documentum. The problem is almost 100% guaranteed to be in the application, not i

Aw: Re: memory-leak in org.apache.jasper.compiler.Mark|Node$TemplateText

2016-06-06 Thread devzero
or help and sorry for the noise ! regards roland ps: and indeed this should not be named memory leak, as a memory leak means indefinite ressource grow... > Gesendet: Sonntag, 05. Juni 2016 um 20:14 Uhr > Von: "Mark Thomas" > An: "Tomcat Users L

Re: Memory leak in using SSL with Tomcat 6.0.18

2010-08-04 Thread Mark Thomas
On 04/08/2010 10:49, B. Balakrishna Rao wrote: > Hi, > > We are using Tomcat 6.0.18 on > Linux environment(Red hat Linux) for our production. > We have enabled SSL by deploying SSL certificates. We observed that, over a > period of time, the memory co

RE: Memory leak in using SSL with Tomcat 6.0.18

2010-08-04 Thread B. Balakrishna Rao
[mailto:ma...@apache.org] Sent: Wednesday, August 04, 2010 4:18 PM To: Tomcat Users List Subject: Re: Memory leak in using SSL with Tomcat 6.0.18 On 04/08/2010 10:49, B. Balakrishna Rao wrote: > Hi, > > We are using Tomcat<http://www.coderanch.com/forums/f-56/Tomcat> 6.0.18 on > Lin

Re: Memory leak in using SSL with Tomcat 6.0.18

2010-08-04 Thread Mark Thomas
On 04/08/2010 11:54, B. Balakrishna Rao wrote: > Hi Mark, > > Thanks for your reply. > I tried reading the change log. It appears that in Tomcat 6.0.20 there is a > fix related to memory leak using SSL. > What I am thinking is that if this is the issue with the Tomcat 6.0.18 or an > issue with m

RE: Memory leak in using SSL with Tomcat 6.0.18

2010-08-04 Thread B. Balakrishna Rao
.org] Sent: Wednesday, August 04, 2010 4:28 PM To: Tomcat Users List Subject: Re: Memory leak in using SSL with Tomcat 6.0.18 On 04/08/2010 11:54, B. Balakrishna Rao wrote: > Hi Mark, > > Thanks for your reply. > I tried reading the change log. It appears that in Tomcat 6.0.20 there

Re: Memory leak in using SSL with Tomcat 6.0.18

2010-08-04 Thread Mark Thomas
On 04/08/2010 13:40, B. Balakrishna Rao wrote: > Hi Mark, > > I am trying to apply the patch that is available for the fix below: > https://issues.apache.org/bugzilla/show_bug.cgi?id=47744#c2 Why? What makes you think that is the problem you are seeing? > However, after giving the below command,

RE: Memory leak in using SSL with Tomcat 6.0.18

2010-08-04 Thread B. Balakrishna Rao
org] Sent: Wednesday, August 04, 2010 6:19 PM To: Tomcat Users List Subject: Re: Memory leak in using SSL with Tomcat 6.0.18 On 04/08/2010 13:40, B. Balakrishna Rao wrote: > Hi Mark, > > I am trying to apply the patch that is available for the fix below: > https://issues.apache.org/bugzil

Re: Memory leak in using SSL with Tomcat 6.0.18

2010-08-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/4/2010 10:06 AM, B. Balakrishna Rao wrote: > I have implemented your suggestion. I have deployed my application > in Tomcat 6.0.29 version under the same environment as Tomcat > 6.0.18(test environment). > > After performing the similar operatio

RE: Memory leak in using SSL with Tomcat 6.0.18

2010-08-04 Thread B. Balakrishna Rao
Sent: Wednesday, August 04, 2010 7:43 PM To: Tomcat Users List Subject: Re: Memory leak in using SSL with Tomcat 6.0.18 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/4/2010 10:06 AM, B. Balakrishna Rao wrote: > I have implemented your suggestion. I have deployed my application > in T

Re: Memory leak in using SSL with Tomcat 6.0.18

2010-08-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 B., On 8/4/2010 10:19 AM, B. Balakrishna Rao wrote: > Please note that, the 2,996 count is on production environment. > The counts 7 and 10 are on my local environment. Ok. > Below is the procedure I am following on my local environment to test this

RE: Memory leak in using SSL with Tomcat 6.0.18

2010-08-04 Thread B. Balakrishna Rao
, 2010 10:14 PM To: Tomcat Users List Subject: Re: Memory leak in using SSL with Tomcat 6.0.18 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 B., On 8/4/2010 10:19 AM, B. Balakrishna Rao wrote: > Please note that, the 2,996 count is on production environment. > The counts 7 and 10 are on my

Re: Memory leak in using SSL with Tomcat 6.0.18

2010-08-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 B., On 8/5/2010 12:46 AM, B. Balakrishna Rao wrote: > Attached is the image for incoming references for > com.sun.net.ssl.internal.ssl.SSLSocketImpl objects. Please let me > know if you want any further details. This list strips attachments. Glad th

RE: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-01 Thread saumil shah
Hello there, I recently deployed one of the COTS products SAP Business Objects. When the product was deployed , everything seemed to run fine but yesterday we started experiencing "Service is unavailable" error , upon enabling DEBUG logs in Tomcat , we saw the error below with memory leak messa

Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-02 Thread Ognjen Blagojevic
Saumil, On 2.4.2013 5:01, saumil shah wrote: I recently deployed one of the COTS products SAP Business Objects. When the product was deployed , everything seemed to run fine but yesterday we started experiencing "Service is unavailable" error , upon enabling DEBUG logs in Tomcat , we saw the

Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-02 Thread André Warnier
saumil shah wrote: Hello there, I recently deployed one of the COTS products SAP Business Objects. When the product was deployed , everything seemed to run fine but yesterday we started experiencing "Service is unavailable" error , upon enabling DEBUG logs in Tomcat , we saw the error below w

Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-02 Thread saumil shah
Thanks andre..can we deploy 32 bit web applications on 64 bit tomcat? -Original Message- From: André Warnier Sent: 2 Apr 2013 08:51:00 GMT To: Tomcat Users List Subject: Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit) saumil shah wrote: > Hello there, > > I recently dep

RE: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-02 Thread Caldarale, Charles R
> From: saumil shah [mailto:saumil...@hotmail.com] > Subject: Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit) Don't top post - it's annoying and confusing. > can we deploy 32 bit web applications on 64 bit tomcat? The point being made is that your question doesn't mak

  1   2   >