ovember 2006 23:37
To: Tomcat Users List
Subject: Re: Memory leaks on webapp redeploy
On 11/28/06, Mike Quilleash <[EMAIL PROTECTED]> wrote:
> As a brief aside I found the following code in the
> WebAppClassLoader.releaseResources() of Tomcat 6, so it looks like
> some of the well-
On 11/28/06, Mike Quilleash <[EMAIL PROTECTED]> wrote:
As a brief aside I found the following code in the
WebAppClassLoader.releaseResources() of Tomcat 6, so it looks like some
of the well-known caches are being cleared out by Tomcat itself.
Are you using 5.5 or 6.0 ? If you're using 5.5, then
- Original Message -
From: "Christopher Schultz" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Tuesday, November 28, 2006 11:46 AM
Subject: Re: Memory leaks on webapp redeploy
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jon,
Jon Miller wrote:
If things have
changed in the last year and someone could recommend a good profiler
please let me know.
Cheers.
-Original Message-----
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: 28 November 2006 18:09
To: Tomcat Users List
Subject: RE: Memory leaks on webapp redeploy
> From: M
> From: Mike Quilleash [mailto:[EMAIL PROTECTED]
> Subject: RE: Memory leaks on webapp redeploy
>
> Looks like during the WebappClassLoader cleanup the logging is being
> reinitialised.
You may well have found the problem. Must be some context-specific
logging going on after c
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jon,
Jon Miller wrote:
> I'm getting ready to try NetBeans profiler right now. I tried it awhile
> back before it was released, but, there was something wrong with the
> Solaris library, so, I couldn't get it to work. I'm hoping I'll have
> better luc
I'm not sure if this
definitely my problem, maybe someone who's more familiar with
ClassLoading issues can make something of this.
Cheers.
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: 28 November 2006 16:43
To: Tomcat Users List
Subject: RE
Thanks for the info Remy. I've been using Sun's JVM, but, I think I'm going
to try IBM's to see if that makes a difference.
Jon
- Original Message -
From: <[EMAIL PROTECTED]>
To:
Sent: Tuesday, November 28, 2006 3:30 AM
Subject: RE: Memory leaks on we
n
- Original Message -
From: "anjan bacchu" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Monday, November 27, 2006 8:08 PM
Subject: Re: Memory leaks on webapp redeploy
Hi Mark,
Does anyone on the tomcat dev list use Netbeans profiler at all ? OR do
you guy
Currently I'm using 5.5.17, but, it's happened with every other version that
I've used for the past several years as well.
Jon
- Original Message -
From: "Mark Thomas" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Monday, November 27,
http://wiki.apache.org/tomcat/OutOfMemory : Another link which deals
about OOM and singleton.
Have you ever tried to do some inspections with decent profiler
(OptimiseIt, Jprofiler, Yourkit, ...) ?
RC
---
"C
> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
> Subject: Re: Memory leaks on webapp redeploy
>
> Maybe this issue has been fixed in recent VMs (IIRC, older
> VMs -- maybe 1.3-era -- would never discard java.lang.Class
> objects.
Not true either. I've been portin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
Caldarale, Charles R wrote:
>> Subject: Re: Memory leaks on webapp redeploy
>>
>> The only thing I can think of is perhaps Java is keeping introspection
>> information around and never releasing it.
>
> Q
> It's been a while since I profiled any of my apps, but that
> used to be the case... after a few days in development of
> auto-re-loading the webapps, we'd get an OOM. We could watch
> the heap fill up with useless Class objects (for instance,
> my.package.Class showed up 10 times after 9 re
> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
> Subject: Re: Memory leaks on webapp redeploy
>
> This wasn't the case some time ago. A cleanly written webapp would
> double the number of Class objects kept around after a re-deploy
> (actually, after an automa
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
Caldarale, Charles R wrote:
>> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
>> Subject: Re: Memory leaks on webapp redeploy
>>
>> Last time I checked, Class objects basically never get GC'd,
>> so a
> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
> Subject: Re: Memory leaks on webapp redeploy
>
> Last time I checked, Class objects basically never get GC'd,
> so any static data stays around forever. You have to shut
> down the VM in order to free that memory.
No
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Remy,
[EMAIL PROTECTED] wrote:
>> That means, that hibernate apps will always generate OOM...
>
> Not always. But some hibernate/cglib/tomcat uses seems to generate
> classloader memory leak:
> http://opensource.atlassian.com/confluence/spring/pages/
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jon,
Jon Miller wrote:
> Is anyone running into issues with memory leaks occuring whenever a
> webapp is redeployed?
This is probably not Tomcat's fault it's Java's fault.
When Tomcat reloads a webapp, it discards the ClassLoader (or
ClassLoader
> > The problems seems to be located with Cglib classloaders
> referencing
> > policy. There is a lot of topic on the Net, which may be
> interessing
> > to read, but noone seems to have found a valuable solution.
> > (Increasing the PermGenspace is NOT a reasonable solution)
> >
> That me
[EMAIL PROTECTED] wrote:
The problems seems to be located with Cglib classloaders referencing policy.
There is a lot of topic on the Net, which may be interessing to read, but noone
seems to have found a valuable solution. (Increasing the PermGenspace is NOT a
reasonable solution)
That mea
error and that any review, disclosure, dissemination,
distribution or copying of it or its
contents
- Original Message -
From: "Mark Thomas" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Monday, November 27, 2006 8:37 PM
Subject: Re: Memory leaks on webap
> Is anyone running into issues with memory leaks occuring
> whenever a webapp is redeployed? I've been having a lot of
> problems with this. I think what's exacerbating the problem
> is that I'm using Hibernate and JAX-WS which I have bundled
> with my application which use a lot of memory.
Y
On Monday 27 November 2006 19:37, Jon Miller wrote:
> Is anyone running into issues with memory leaks occuring whenever a
> webapp is redeployed?
Yes ... :)
> I've been having a lot of problems with this. I
> think what's exacerbating the problem is that I'm using Hibernate and
> JAX-WS which
Hi Mark,
Does anyone on the tomcat dev list use Netbeans profiler at all ? OR do
you guys
exclusively use YourKit ?
Thank you,
BR,
~A
On 11/27/06, Mark Thomas <[EMAIL PROTECTED]> wrote:
Jon Miller wrote:
> Hi all,
>
> Is anyone running into issues with memory leaks occuring whenever a
> web
Jon Miller wrote:
> Hi all,
>
> Is anyone running into issues with memory leaks occuring whenever a
> webapp is redeployed?
Tomcat version? There have been issues with older releases.
> I think I read in a FAQ that even using a singleton in your app will
> cause memory leaks? Does anyone know if
26 matches
Mail list logo