Hi Pid, et al:
Things are curiouser and curiouser. I decided to deploy the struts blank app
after starting tomcat with startup.sh.
Well there is no memory leak after undeploy and redeploy. If I start tomcat
with jsvc, I get a memory leak.
This is the minimal init script I used to start the
On 17/05/2010 18:36, Mark Shifman wrote:
Hi Pid, et al:
Things are curiouser and curiouser. I decided to deploy the struts blank app
after starting tomcat with startup.sh.
Well there is no memory leak after undeploy and redeploy. If I start tomcat
with jsvc, I get a memory leak.
This is
2010/5/3 Mark Shifman mark.shif...@yale.edu:
Using jmap -histo pid, I can watch
com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl, etc increase in number
(...)
The JAXBContext instance is created with a singleton that is an enum (using
Josh Block's pattern):
The cause might be
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mark,
I know you posted this a while ago, but I have some comments:
On 5/4/2010 9:10 AM, Mark Shifman wrote:
public T T getNextElement(String theElement, String elementAfter,
Class Tclazz) {
String elname = ;
T
On 14/05/2010 19:21, Mark Shifman wrote:
After playing around I don't think the leak is from JAXBContext. My web app
is running under struts 1.3.10. I tested
the blank web apps that comes with struts 1.3.10 and it showed a memory leak
on undeploying and redeploying. (so did the
blank web
After playing around I don't think the leak is from JAXBContext. My web app is
running under struts 1.3.10. I tested
the blank web apps that comes with struts 1.3.10 and it showed a memory leak on
undeploying and redeploying. (so did the
blank web app for the current struts 2). Using Eclipse
jvisualvm is an excellent tool, and so is MAT
(http://www.eclipse.org/mat/downloads.php). If you can figure out
which instances are increasing (as Pid indicated) its very easy to
check the path of those objects to the garbage collector using one of
these tools. From there its usually easy to see
On 05/03/2010 02:53 PM, Pid wrote:
On 03/05/2010 18:30, Mark Shifman wrote:
On 05/03/2010 12:48 PM, Pid wrote:
On 03/05/2010 17:15, Mark Shifman wrote:
I have a web app running under tomcat-6.0.26 with
JreMemoryLeakPreventionListener, java jdk1.6.0_18.
Using jmap -histo pid, I can watch
On 04/05/2010 14:10, Mark Shifman wrote:
On 05/03/2010 02:53 PM, Pid wrote:
On 03/05/2010 18:30, Mark Shifman wrote:
On 05/03/2010 12:48 PM, Pid wrote:
On 03/05/2010 17:15, Mark Shifman wrote:
I have a web app running under tomcat-6.0.26 with
JreMemoryLeakPreventionListener, java
Thanks.
I'll try Jconsole.
mas
On 05/04/2010 12:28 PM, Pid wrote:
On 04/05/2010 14:10, Mark Shifman wrote:
On 05/03/2010 02:53 PM, Pid wrote:
On 03/05/2010 18:30, Mark Shifman wrote:
On 05/03/2010 12:48 PM, Pid wrote:
On 03/05/2010 17:15, Mark Shifman wrote:
I have a web app running under
I have a web app running under tomcat-6.0.26 with
JreMemoryLeakPreventionListener, java jdk1.6.0_18.
Using jmap -histo pid, I can watch
com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl, etc increase in number
after running my unmarshal action, followed by undeploy and redeploy. Find
Leaks
On 03/05/2010 17:15, Mark Shifman wrote:
I have a web app running under tomcat-6.0.26 with
JreMemoryLeakPreventionListener, java jdk1.6.0_18.
Using jmap -histo pid, I can watch
com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl, etc increase in number
after running my unmarshal action,
On 05/03/2010 12:48 PM, Pid wrote:
On 03/05/2010 17:15, Mark Shifman wrote:
I have a web app running under tomcat-6.0.26 with
JreMemoryLeakPreventionListener, java jdk1.6.0_18.
Using jmap -histo pid, I can watch
com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl, etc increase in number
From: Mark Shifman [mailto:mark.shif...@yale.edu]
Subject: Re: JAXBContext leaks memory
This is also in the webapp in WEB-INF/classes/org/blablabla
When you say also, does that mean the class is in more than one place? (That
would be a Bad Thing.)
- Chuck
THIS COMMUNICATION MAY CONTAIN
On 05/03/2010 02:18 PM, Caldarale, Charles R wrote:
From: Mark Shifman [mailto:mark.shif...@yale.edu]
Subject: Re: JAXBContext leaks memory
This is also in the webapp in WEB-INF/classes/org/blablabla
When you say also, does that mean the class is in more than one place?
(That would
On 03/05/2010 18:30, Mark Shifman wrote:
On 05/03/2010 12:48 PM, Pid wrote:
On 03/05/2010 17:15, Mark Shifman wrote:
I have a web app running under tomcat-6.0.26 with
JreMemoryLeakPreventionListener, java jdk1.6.0_18.
Using jmap -histo pid, I can watch
16 matches
Mail list logo