--- Ingrid Morterud Rosvall [EMAIL PROTECTED] wrote:
Hello.
We are running an application on Tomcat 4.1.30, and
java 1.4.2.
Our application is using the struts framework with
jsp's, and cocoon to
render the xml's.
There seems to be a major memory leak at startup -
the application
Ingrid,
I am not on the tomcat developer committer list so my reply is just an FYI
from my own experience.
I saw unstable performance myself in a very similar deployment of Struts
applications similar to yours. I too thought there was a memory leak and
there may be, but I don't think it is in
Hi,
Can you share how much memory do you have and how much used by tomcat
and what JAVA_OPTs do you have.
Thanks a lot,
Mark.
--- Michael Oliver [EMAIL PROTECTED] wrote:
Ingrid,
I am not on the tomcat developer committer list so my reply is just
an FYI
from my own experience.
I saw
. :-)
Ingrid and Tommy
-Original Message-
From: Mark [mailto:[EMAIL PROTECTED]
Sent: 12. september 2005 22:36
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: RE: Memory leak in Tomcat
Hi,
Can you share how much memory do you have and how much used by tomcat
and what JAVA_OPTs do you have
--- Ingrid Morterud [EMAIL PROTECTED] wrote:
Thanks for the quick reply.
You might be right in us not understanding the java
heap. Still - then
we are even more at a loss on how to fix the problem
than if we really
had understood how it works.
We are running on a test server with
I'm sorry, ignorance here...
We've been using Tomcat 5.0.28 for more than a few months using
Jetspeed1.5. Our production server probably has gone down once every
week to 2 weeks, and we haven't experienced a memory leak. I thought
that was one of the fixes when using Java 1.4.2 ?
-Zach
Hi,
don't know if you are using it, but there's also a known issue with
5.0.28 and 'swallowOutput' in the Context element. After I turned it
off, I haven't gotten any out of memory errors...
Trond
sysdba wrote:
We have struggled with a memory leak in 5.0.28/5.0.30 for months. There have
been
Marx, Mitchell E (Mitch), ALABS wrote:
I see the bugzilla ID:
http://issues.apache.org/bugzilla/show_bug.cgi?id=33368
Anyone know if this is present in Tomcat 4.1.30?
This is now fixed in CVS for TC4.
Mark
-
To unsubscribe,
Marx, Mitchell E (Mitch), ALABS wrote:
I see the bugzilla ID:
http://issues.apache.org/bugzilla/show_bug.cgi?id=33368
Anyone know if this is present in Tomcat 4.1.30?
Yes.
http://issues.apache.org/bugzilla/show_bug.cgi?id=20758 is also present
but is fixed in 4.1.31
Mark
Thank you Robert!!
Just wanna say thanks alot for sharing all your findings with the rest
of us. I start my tomcat 5.0.28 server with -ms252m -mx512m and it was
running for about 3-4 days before i got the OutOfMemoryError. Since i
removed the swallowOutput from my context, my server has'nt been
: Memory leak in tomcat 5.0.28
I've figured out my problem. I'm posting what I've discovered for the
benefit of others. The SystemLogHandler uses a map called logs where the
key
is a ThreadWithAttributes and the value is a stack of CaptureLogs. The
problem is that when a thread dies
I've figured out my problem. I'm posting what I've discovered for the
benefit of others. The SystemLogHandler uses a map called logs where the key
is a ThreadWithAttributes and the value is a stack of CaptureLogs. The
problem is that when a thread dies, the ThreadWithAttributes object lives
feel free to open a bug report, so that this issue can be tracked.
- Original Message -
From: Robert Wille [EMAIL PROTECTED]
To: tomcat-user@jakarta.apache.org
Sent: Wednesday, February 02, 2005 1:25 PM
Subject: RE: Memory leak in tomcat 5.0.28
I've figured out my problem. I'm posting
Possibly. If you are using a connection pool and do not close the
connection, it will not be released back to the pool, so subsequent
calls to the pool will create new connections.
There's a simple procedure to help you avoid this problem, even when errors
occur during your JDBC calls, and
Another (simpler) solution is to let someone else write that code. ;-)
I know there are times when you need JDBC directly, but tools like
iBATIS make it darn easy to handle the other 99% of the cases.
Here is a tutorial on using struts with iBATIS that could be helpful
if people are interested.
how are you monitoring tomcat?
peter
On Wed, 12 Jan 2005 14:59:39 +1100, Rolf Zelder
[EMAIL PROTECTED] wrote:
Hi
I have got a simple web application containing a html page with a link to a
jsp page, which prints the memory status to the
console(Runtime.getRuntime().totalMemory()) . Now I
From: Rolf Zelder [mailto:[EMAIL PROTECTED]
Subject: Memory leak
I don't want to believe that this little web app is leaking memory.
Therefore I must do something wrong how I monitor the memory usage.
I suspect the real issue is understanding how the JVM uses memory. Object
allocation can
R [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 12, 2005 9:49 AM
To: Tomcat Users List
Subject: RE: Memory leak
From: Rolf Zelder [mailto:[EMAIL PROTECTED]
Subject: Memory leak
I don't want to believe that this little web app is leaking memory.
Therefore I must do something wrong how I
From: Rajaneesh [mailto:[EMAIL PROTECTED]
Subject: RE: Memory leak
Taking the context of nullifying the object in Java, when we do not
nullify the database connections, statements and result set, does these
objects just fill the momory or even cause the database connection
bottleneck
Possibly. If you are using a connection pool and do not close the
connection, it will not be released back to the pool, so subsequent
calls to the pool will create new connections.
In addition, as if that were not bad enough, any resources created
that are referenced by that connection
Dakota Jack wrote:
I was going to update my Tomcat from 4.0.19 because it says there is a
javac leak in the RELEASE-NOTES. However, I noticed that 4.0.28 says
the same thing. Is it fixed/
Jack
AFAIK this is no Tomcat issue but a JDK/Javac issue which was fixed in
Sun JDK 1.4.
See:
From: Dakota Jack [mailto:[EMAIL PROTECTED]
Subject: Memory Leak with Javac and Tomcat v. 4.0.28
I was going to update my Tomcat from 4.0.19 because it says there is a
javac leak in the RELEASE-NOTES. However, I noticed that 4.0.28 says
the same thing. Is it fixed/
The memory leak is in
Thanks, all!
Jack
--
You can lead a horse to water but you cannot make it float on its back.
~Dakota Jack~
You can't wake a person who is pretending to be asleep.
~Native Proverb~
Each man is good in His sight. It is not necessary for eagles to be crows.
~Hunkesni (Sitting Bull), Hunkpapa
On 20-05-2004 11:58, wsedio wrote:
On 19-05-2004 23:15, Michiel Toneman wrote:
We were having severe memory problems too with 5.0.19.
Does Tomcat 5.0.24 fix this problem?
We added this to the jk2.properties:
request.registerRequests=false
and the memory usage was normal again. Somewhat
wsedio wrote:
On 20-05-2004 11:58, wsedio wrote:
On 19-05-2004 23:15, Michiel Toneman wrote:
We were having severe memory problems too with 5.0.19.
Does Tomcat 5.0.24 fix this problem?
I have no idea, haven't tried it out yet. No plans as yet to
test/roll-out 5.0.24, so it will be a while before
-Original Message-
From: Emerson Cargnin [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 20, 2004 1:09 PM
To: Tomcat Users List
Subject: Re: Memory leak with Tomcat 5.0.19
wsedio wrote:
On 19-05-2004 23:15, Michiel Toneman wrote:
We were having severe memory problems too with 5.0.19
21, 2004 8:53 AM
To: Tomcat Users List
Subject: RE: Memory leak with Tomcat 5.0.19
I added the request.registerRequests=false to jk2.properties yesterday,
but I still do not have a definite confirmation on whether this problem
is fixed. The JVM did grow to over 600MB, which is more that my Tomcat
Brian Beckham wrote:
Ok, after adding that setting in jk2.properties I have had 2 lockups of
tomcat on my production siteany help!!?!!?
lockup doesn't mean anything to me. Details please :)
Also, this property cannot possibly cause that (look in the code if in
doubt).
--
.
Brian Beckham
[EMAIL PROTECTED]
Office: 770.924.6444 ext. 203
Mobile: 404.406.8355
-Original Message-
From: Remy Maucherat [mailto:[EMAIL PROTECTED]
Sent: Friday, May 21, 2004 10:21 AM
To: Tomcat Users List
Subject: Re: Memory leak with Tomcat 5.0.19
Brian Beckham wrote:
Ok, after adding
:[EMAIL PROTECTED]
Sent: Friday, May 21, 2004 10:21 AM
To: Tomcat Users List
Subject: Re: Memory leak with Tomcat 5.0.19
Brian Beckham wrote:
Ok, after adding that setting in jk2.properties I have had 2 lockups of
tomcat on my production siteany help!!?!!?
lockup doesn't mean anything
Brian Beckham wrote:
Sorry bout that...got a little flustered :)
I don't have any answers but I'd just like to chime in to say that I've
had nearly identical problems when I was using 5.0.19. I've moved on to
5.0.24 now, but I found some error logs in one of my backups so I'm
attaching them in
PROTECTED]
Sent: Friday, May 21, 2004 10:54 AM
To: Tomcat Users List
Subject: Re: Memory leak with Tomcat 5.0.19
Brian Beckham wrote:
Sorry bout that...got a little flustered :)
I don't have any answers but I'd just like to chime in to say that I've
had nearly identical problems when I was using
Brian Beckham wrote:
Jeff,
Can you tell me more about your sitation? Did 5.0.24 help?
So far I haven't had any problems with 5.0.24, although I've only been
running it a couple of days. When I had the problem with 5.0.19, I
jumped back to 5.0.16 until a couple of days ago when I went up to
On 19-05-2004 23:15, Michiel Toneman wrote:
We were having severe memory problems too with 5.0.19.
Does Tomcat 5.0.24 fix this problem?
We added this to the jk2.properties:
request.registerRequests=false
and the memory usage was normal again. Somewhat non-obvious, I agree. It
also gets rid of
wsedio wrote:
On 19-05-2004 23:15, Michiel Toneman wrote:
We were having severe memory problems too with 5.0.19.
Does Tomcat 5.0.24 fix this problem?
We added this to the jk2.properties:
request.registerRequests=false
and the memory usage was normal again. Somewhat non-obvious, I agree.
It also
Someone could answer this question, please? Becouse my available memory
is going down from 120 to 50 and to 10 megabytes to fast. And I'm not
finding any leak in my apps...
Sorry if I looked rude, didn't mean that :P
Maybe this leak is solved in tomcat 5.0.24??
Emerson Cargnin wrote:
wsedio
Hi,
What if your webapp actually requires more than 120MB of memory under
your load?
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Emerson Cargnin [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 20, 2004 1:09 PM
To: Tomcat Users List
Subject: Re: Memory leak
actually requires more than 120MB of memory under
your load?
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Emerson Cargnin [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 20, 2004 1:09 PM
To: Tomcat Users List
Subject: Re: Memory leak with Tomcat 5.0.19
wsedio wrote:
On 19
We were having severe memory problems too with 5.0.19.
We added this to the jk2.properties:
request.registerRequests=false
and the memory usage was normal again. Somewhat non-obvious, I agree. It
also gets rid of Error registering request messages in catalina.out.
We are using mod_jk (1.2) with
http://marc.theaimsgroup.com/?l=tomcat-userm=108304447126396w=2
?
-Original Message-
From: Brian Beckham [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 19, 2004 3:36 PM
To: Tomcat Users List
Subject: Memory leak with Tomcat 5.0.19
I have a site that gets a fair amount of
We are runnning Tomcat 5.0.19 and experiencing the same
problems. This is what we defined for the memory. Our
tomcat is crawling at this point. We have to restart it
everyday.
CATALINA_OPTS=$CATALINA_OPTS -server -Xms1152M -Xmx1536M -
Xincgc
Thanks, Tom
I think I've seen back posts indicating that the JMX option will do
this, try removing..
Listener
className=org.apache.catalina.mbeans.ServerLifecycleListener
debug=0/
Listener
className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener
debug=0/
From your
In your profiler rather than looking at the type of object taking the memory look at
the accumulated memory consumed by your classes. This will show you which classes are
taking up the most memory and if you have a leak you might expect this accumulated
value to be a high percentage of the
I don't think so. I have one class that access the database for the whole
webapp. And it closes the result sets, statements and connection each in a
try/catch. Also, I have the log abandoned turned on.
I will try to turn off the jmx as suggested by Arthur, cannot hurt as I
don't use the admin app
From your description it is not shure that you have a
memory leak at all.
The vm is not returning free memory to the os. So the
memory as seen by the os will alway be the maximum value
that the jvm ever needed during the runtime.
The other option that explains your observertion is that
you
: Allistair Crossley [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 15, 2004 11:10 AM
To: Tomcat Users List
Subject: RE: Memory Leak
In your profiler rather than looking at the type of object taking the memory
look at the accumulated memory consumed by your classes. This will show you
which
the
memory doesn't go down.
Chanan Braunstein
Knovel Corp.
Web Development Manager
607-773-1840 x672
http://www.knovel.com
-Original Message-
From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 15, 2004 11:11 AM
To: Tomcat Users List
Subject: RE: Memory Leak
From your
: Thursday, April 15, 2004 10:20 AM
To: 'Tomcat Users List'
Subject: RE: Memory Leak
I am not sure I understand, my classes i.e. stuff I created under
com.knovel.* take up almost nothing of the heap, I have the view sorted by
size in memory and they are way down there. Most of the heap is taken up by
char
with that.
- OS Memory as reported by the task manager
This will never ever go down until restart.
-Original Message-
From: Chanan Braunstein [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 15, 2004 5:24 PM
To: 'Tomcat Users List'
Subject: RE: Memory Leak
Well, I am not sure why
To: Tomcat Users List
Subject: RE: Memory Leak
Which memory are you talking about:
- Java Heap
If this doesn't go down after a load peak
where the load of the heap was near the limit
you have a problem. (In your test it did get down)
To solve that, you have to find a reproducable test
: Ralph Einfeldt [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 15, 2004 11:32 AM
To: Tomcat Users List
Subject: RE: Memory Leak
Which memory are you talking about:
- Java Heap
If this doesn't go down after a load peak
where the load of the heap was near the limit
you have a problem. (In your
PROTECTED]
Sent: 15 April 2004 16:42
To: 'Tomcat Users List'
Subject: RE: Memory Leak
Yes, the heap memory does go down, my problem is the OS memory.
Why will it never go down? Won't that cause over time in tomcat (as indeed
is what I am seeing)?
Chanan Braunstein
Knovel Corp.
Web Development
15, 2004 5:38 PM
To: Tomcat Users List
Subject: RE: Memory Leak
this is what I have heard before but it is not true. our
Tomcat 5.0.19 under load in the task manager view goes up to
about 150MB and overnight or under light load goes back down to 95MB
To: Tomcat Users List
Subject: RE: Memory Leak
Which vm and os do you use ?
That behaviour is jvm and os dependend. (This is the first
time I hear of an implementation that returns memory to the
os, although I knew that it could be done)
-Original Message-
From: Allistair Crossley
[mailto:[EMAIL PROTECTED]
Sent: Thursday, April 15, 2004 11:44 AM
To: Tomcat Users List
Subject: RE: Memory Leak
the only time my task manager memory went up and never came down came from
the classloader having to reload classes because I had dynamic reloading
switched on ... are you deploying
Sun 1.4.2_02 on win2k
Chanan Braunstein
Knovel Corp.
Web Development Manager
607-773-1840 x672
http://www.knovel.com
-Original Message-
From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 15, 2004 11:47 AM
To: Tomcat Users List
Subject: RE: Memory Leak
Which vm
To: 'Tomcat Users List'
Subject: RE: Memory Leak
Sun 1.4.2_02 on win2k
Chanan Braunstein
Knovel Corp.
Web Development Manager
607-773-1840 x672
http://www.knovel.com
-Original Message-
From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 15, 2004 11:47 AM
To: Tomcat
. You can search the archives for more details.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Chanan Braunstein [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 15, 2004 1:04 PM
To: 'Tomcat Users List'
Subject: RE: Memory Leak
Another thing I don't understand
.
Web Development Manager
607-773-1840 x672
http://www.knovel.com
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 15, 2004 1:22 PM
To: Tomcat Users List
Subject: RE: Memory Leak
Hi,
sigh /
I and others have explained many times on this list
I've been fighting a similar symptom. I downloaded the eval copy of
JProfiler and found the problem pretty quickly. I had some static classes
that kept allocating memory that never got de-referenced.
John
-Original Message-
From: LILES, DAVID (CONTRACTOR) [mailto:[EMAIL PROTECTED]
I'd be very interested to hear how one can allocate memory without it
being de-referenced.
It's obviously something to avoid. Can you give a bit of detail?
Thanks.
On Fri, 2 Apr 2004 10:28:22 -0600, John Thompson
[EMAIL PROTECTED] wrote:
I've been fighting a similar symptom. I downloaded the
Subject: Re: Memory Leak Solution?
I'd be very interested to hear how one can allocate memory without it
being de-referenced.
It's obviously something to avoid. Can you give a bit of detail?
Thanks.
On Fri, 2 Apr 2004 10:28:22 -0600, John Thompson
[EMAIL PROTECTED] wrote:
I've been fighting
from submitted forms.
-Original Message-
From: John Thompson [mailto:[EMAIL PROTECTED]
Sent: Friday, April 02, 2004 10:28 AM
To: 'Tomcat Users List'
Subject: RE: Memory Leak Solution?
I've been fighting a similar symptom. I downloaded the eval copy of
JProfiler and found the problem
[mailto:[EMAIL PROTECTED]
Sent: Friday, April 02, 2004 10:53 AM
To: Tomcat Users List
Subject: Re: Memory Leak Solution?
I'd be very interested to hear how one can allocate memory without it
being de-referenced.
It's obviously something to avoid. Can you give a bit of detail?
Thanks.
On Fri, 2 Apr
: LILES, DAVID (CONTRACTOR) [mailto:[EMAIL PROTECTED]
Sent: Friday, April 02, 2004 12:07 PM
To: Tomcat Users List
Subject: RE: Memory Leak Solution?
I'm wondering if the leak isn't maybe in Tomcat. I have an environment
that
has only be configured for about a week and there are only two java
projects
Subject: RE: Memory Leak Solution?
I'm wondering if the leak isn't maybe in Tomcat. I have an environment
that
has only be configured for about a week and there are only two java
projects that have been deployed. One is nothing more then a simple
Struts
site with no heavy code. The other site only uses
public interface MemoryLeak {
public void leak();
}
-
import java.util.Vector;
public class C implements MemoryLeak {
Vector v = new Vector();
public void leak() {
v.add(new Object());
}
}
-
public class MyLeakerServlet extends
SMTP
messages from submitted forms.
-Original Message-
From: John Thompson [mailto:[EMAIL PROTECTED]
Sent: Friday, April 02, 2004 10:28 AM
To: 'Tomcat Users List'
Subject: RE: Memory Leak Solution?
I've been fighting a similar symptom. I downloaded the eval copy of
JProfiler and found
1) Try using a memory profiler.
2) Or install 4 tomcat instances each with its own webapp and see if all 4
die or just one becomes bad. If only one dies- then its webapp code issue.
If all four die - it is probably still a webapp issue but its consistent
across all 4 of your webapps
-Tim
Thanks,
I will upgrade to 5.0.18 and see if it works !
/Torstein
-Original Message-
From: Allistair Crossley
[mailto:[EMAIL PROTECTED]
Sent: 22. januar 2004 11:44
To: Tomcat Users List
Subject: RE: memory leak in tomcat 5.0.16 ?
We had exactly the same problem. 2 users on 5.0.16
after
There is a known memory leak in 5.0.16, I'd upgrade to 5.0.18 and see if this fixes
your problem.
Ta
Matt
-Original Message-
From: Torstein Nilsen [mailto:[EMAIL PROTECTED]
Sent: 22 January 2004 10:01
To: [EMAIL PROTECTED]
Subject: memory leak in tomcat 5.0.16 ?
I am developing an
Dale, Matt wrote:
There is a known memory leak in 5.0.16, I'd upgrade to 5.0.18 and see
if this fixes your problem.
You should read his report.
1) I don't see how he would be affected, since he seems to have a rather
small server; you need large variations in traffic to get the leak (and
the
-Original Message-
From: Dale, Matt [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 11:05 AM
To: Tomcat Users List
Subject: RE: memory leak in tomcat 5.0.16 ?
There is a known memory leak in 5.0.16, I'd upgrade to 5.0.18 and see if
this fixes your problem.
Note
PROTECTED]
Sent: 22 January 2004 10:19
To: Tomcat Users List
Subject: RE: memory leak in tomcat 5.0.16 ?
-Original Message-
From: Dale, Matt [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 11:05 AM
To: Tomcat Users List
Subject: RE: memory leak in tomcat 5.0.16
Francois JEANMOUGIN wrote:
There is a known memory leak in 5.0.16, I'd upgrade to 5.0.18 and
see if this fixes your problem.
Note that the download page on Jakarta.apache.org is not updated with
this new release. You need to figure the good URL by yourself (not so
hard).
Before announcing
[mailto:[EMAIL PROTECTED]
Sent: January 22, 2004 5:44 AM
To: Tomcat Users List
Subject: RE: memory leak in tomcat 5.0.16 ?
We had exactly the same problem. 2 users on 5.0.16 after 20 minutes the RAM consumed
was 158MB and then it crashed.
Upgraded to 5.0.18 yesterday and RAM is a steady 30MB.
I
January 2004 14:58
To: Tomcat Users List
Cc: [EMAIL PROTECTED]
Subject: RE: memory leak in tomcat 5.0.16 ?
Out of curiosity, which JVM do you run? I run Tomcat 5.0.18, JVM 1.4.2_03 for Linux
on Red Hat, and two instances of JSPWiki serving no more than 200 users. This
combination consumes
: Thursday, January 22, 2004 4:06 PM
To: Tomcat Users List
Subject: RE: memory leak in tomcat 5.0.16 ?
What puzzles me is the Windows task manager process memory as
this never ever matches anywhere near the JProfiler reported
memory. I know there may be some system overheads but the
30MB
try setting maxSpareThreads==minSpareThreads==maxThreads in your connector,
Filip
- Original Message -
From: Ralph Einfeldt [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 7:18 AM
Subject: RE: memory leak in tomcat 5.0.16 ?
The heap size has
]
Sent: 22. januar 2004 18:58
To: Tomcat Users List
Subject: Re: memory leak in tomcat 5.0.16 ?
try setting
maxSpareThreads==minSpareThreads==maxThreads in
your connector,
Filip
- Original Message -
From: Ralph Einfeldt
[EMAIL PROTECTED]
To: Tomcat Users List
[EMAIL PROTECTED]
Sent
On Thu, January 22, 2004 1at 0:25 am, Torstein Nilsen wrote:
I have now upgraded to the latest tomcat release 5.0.18 but I'm
afraid this didn't solve the problem - the tomcat-process is still
growing.
I have monitored the ressources used very closely with 5.0.18 and it
shows a slow grow in
Message -
From: Nikolaos Giannopoulos [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, September 12, 2003 6:04 PM
Subject: RE: Memory Leak with static content
Seth,
Have you tried JDK 1.4.2? 1.4.0 has been known to have a memory leak in
the
StringBuffer implementation
.
-Seth.
- Original Message -
From: Nikolaos Giannopoulos [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, September 12, 2003 6:04 PM
Subject: RE: Memory Leak with static content
Seth,
Have you tried JDK 1.4.2? 1.4.0 has been known to have a memory leak
15, 2003 1:40 PM
Subject: RE: Memory Leak with static content
Howdy,
Run your app with a profiler and a stress tool and see when and where
memory is allocated.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Seth Newton [mailto:[EMAIL PROTECTED]
Sent: Monday
$$$ servers to tomcat and have been exceedingly happy with
the results.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Seth Newton [mailto:[EMAIL PROTECTED]
Sent: Monday, September 15, 2003 2:01 PM
To: Tomcat Users List
Subject: Re: Memory Leak with static content
Yoav
]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, September 15, 2003 2:01 PM
Subject: Re: Memory Leak with static content
Yoav,
Thanks for the response. I've used what you've suggested in the past on
development servers, but I'm saving your suggestion for a last ditch
possibility. The length
Howdy,
Here's what's happened on the server since 12:40 today
Virtual Size: 112592
Real Size: 61880
Time Up(days-hours:minutes:seconds): 01:05:20
snip
You realize these numbers are meaningless to anyone except you, as we
don't know what you're measuring, how you're measuring it, what the
: Memory Leak with static content
Howdy,
Here's what's happened on the server since 12:40 today
Virtual Size: 112592
Real Size: 61880
Time Up(days-hours:minutes:seconds): 01:05:20
snip
You realize these numbers are meaningless to anyone except you, as we
don't know what you're
Howdy,
You realize these numbers are meaningless to anyone except you, as we
don't know what you're measuring, how you're measuring it, what the
proper results / proper behavior is, etc.
No, I didn't realize my numbers meant nothing. I figured them to be
self-explanatory. The numbers
a
couple hundred bytes. I will try later though, as it hasn't been long since
last restart.
- Original Message -
From: Shapira, Yoav [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, September 15, 2003 3:04 PM
Subject: RE: Memory Leak with static content
Howdy
Howdy,
RESPONSE: Yeah, that's what I want for now. I want to see what happens
when
the garbage collector is called normally.
Don't forget to enable verbose GC.
On a side note, I just called System.gc() manually and it only cleared
a
couple hundred bytes. I will try later though, as it hasn't
Hello Seth!
SN All,
SN OS: Sparc-Solaris 9
SN JDK: 1.4.0_02
SN Tomcat: 4.1.27
SN Problem:
SN I start tomcat and it takes up about 45MB of RAM. I wrote a script to email me
every ten minutes the amount of memory it's taking up. The results are showing me
that it gains about 1MB every 10
SN
you sure it is not the operating system itself.
- Original Message -
From: Seth Newton [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, September 12, 2003 4:57 PM
Subject: Memory Leak with static content
All,
OS: Sparc-Solaris 9
JDK: 1.4.0_02
Tomcat: 4.1.27
Problem:
I start
Seth,
Have you tried JDK 1.4.2? 1.4.0 has been known to have a memory leak in the
StringBuffer implementation w.r.t. re-using StringBuffers but you mention
that your only serving static content so this may not be it.
However, I believe that I read that something like 2000 bugs have been fixed
Seth,
As you mentioned taht the jsp page is not the problem I hope that you
have looked to make sure that you are closing off any input/ouput
streams and other resources involved in sending the email right?
James
Seth Newton wrote:
-I'm using Tomcat to feed about 6 sites with static content.
read up on the production configuration of the tomcat jasper engine
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jasper-howto.html
Filip
-Original Message-
From: John Coonrod [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 7:27 PM
To: [EMAIL PROTECTED]
Subject: Memory
Users List
Subject: RE: Memory leak on compile
read up on the production configuration of the tomcat jasper engine
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jasper-howto.html
Filip
-Original Message-
From: John Coonrod [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May
This is interesting. Can you post a bug on this to
http://nagoya.apache.org/bugzilla/ and then report back here as to what the
link to that bug is?Also, it would be ideal if you could post your
testcase (Foo.java) to that bug so people can easily reproduce the issue.
later,
Jake
At
created via such factory
methods...)
- Chris
- Original Message -
From: Craig R. McClanahan [EMAIL PROTECTED]
Sent: Friday, January 24, 2003 1:49 AM
Subject: RE: Memory leak with ThreadGroups
If your application is well behaved (i.e. it doesn't have classes in
common/lib or shared/lib
-Original Message-
From: Chris Brown [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 24, 2003 4:55 AM
To: Tomcat Users List
Subject: Re: Memory leak with ThreadGroups - and other stuff
Quick follow-on question for Craig...
If you put a JDBC driver in your webapp's /WEB-INF
1 - 100 of 122 matches
Mail list logo