I've read a number of reports about similar problems, but can't
distinguish which ones are relevant. My problem is that my available
PermGen memory is constantly decreasing as the application works. I
see this in the tomcat logs:
...
[Loaded sun.reflect.GeneratedMethodAccessor197 from
Tomi,
Increasing Perm Gen size is normal, as long as it goes down again when
it reaches the max and gets collected. The max depends on jvm version,
possibly on server type and of course your startup options. 64MB default
is not uncommon.
You can watch it with -verbose:gc
From: Tomi N/A [mailto:[EMAIL PROTECTED]
Subject: Urgent: PermGen memory leak in a NetBeans developed
tomcat application
[Loaded sun.reflect.GeneratedMethodAccessor197 from
__JVM_DefineClass__]
I have no idea what these accessors are or how to stop their constant
proliferation
2007/5/16, Caldarale, Charles R [EMAIL PROTECTED]:
That's normal behavior when reflection is used. When the next full GC
occurs, the accessor classes will be discarded, unless you have
inhibited class unloading.
How do allow class unloading? How do I inhibit it, for that matter?
t.n.a.
2007/5/16, Rainer Jung [EMAIL PROTECTED]:
Tomi,
Increasing Perm Gen size is normal, as long as it goes down again when
it reaches the max and gets collected. The max depends on jvm version,
possibly on server type and of course your startup options. 64MB default
is not uncommon.
I used
From: Tomi N/A [mailto:[EMAIL PROTECTED]
Subject: Re: Urgent: PermGen memory leak in a NetBeans
developed tomcat application
How do allow class unloading? How do I inhibit it, for that matter?
It's enabled by default (except for one of the esoteric garbage
collectors). The -Xnoclassgc
-Mensagem original-
De: Rainer Jung [mailto:[EMAIL PROTECTED]
Enviada em: quarta-feira, 16 de maio de 2007 10:09
Para: Tomcat Users List
Assunto: Re: Urgent: PermGen memory leak in a NetBeans developed tomcat
application
Tomi,
Increasing Perm Gen size is normal, as long as it goes down again
From: Paulo Alvim [mailto:[EMAIL PROTECTED]
Subject: RES: Urgent: PermGen memory leak in a NetBeans
developed tomcat application
We've this classic problem (using Tomcat 5.x) with PermGen
but in our case the leak occurs after a hot redeploy of any
application.
There are a couple
2007/5/16, Paulo Alvim [EMAIL PROTECTED]:
Hi Tomi,
We've this classic problem (using Tomcat 5.x) with PermGen but in our case
the leak occurs after a hot redeploy of any application.
After each restart (our typical WAR has 30MB and 150 JSPs), jConsole shows
about 4MB of PermGen increased
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 16, 2007 11:34 AM
To: Tomcat Users List
Subject: RE: Urgent: PermGen memory leak in a NetBeans developed tomcat
application
From: Paulo Alvim [mailto:[EMAIL PROTECTED]
Subject: RES
leak in a NetBeans developed tomcat
application
From: Paulo Alvim [mailto:[EMAIL PROTECTED]
Subject: RES: Urgent: PermGen memory leak in a NetBeans
developed tomcat application
We've this classic problem (using Tomcat 5.x) with PermGen
but in our case the leak occurs after a hot redeploy
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
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
: 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
client will disconnect
I don't know for sure, of course, but it's my
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
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 released from processing early,
and another thread
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 day
processors
-Original 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
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
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 maxThreads=20,
and started it with -Xmx10m
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
, 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 the dump I saw 103 instances of class
org.apache.coyote.http11
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
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
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
Hello,
I am sorry that I did not address the memory leak issue to the users
list first, before sending this bug report:
http://issues.apache.org/bugzilla/show_bug.cgi?id=42217
I am aware of the fact that memory allocation occurs in Java progams,
and that Tomcat will exploit some resource pools
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,
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 per browser, because by
default both IE and FireFox
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
Reich, Matthias wrote:
I did a fresh build this morning from the SVN trunk, and I see the memory leak
with both NIO and APR connector.
Why don't you enable -XX:+HeapDumpOnOutOfMemoryError and send us a link
where we can download the HPROF files that get generated.
Also send us your config
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
This faq http://tomcat.apache.org/faq/memory.html covers a few things
about memory issues.
It is best to fine tune the application itself to see if there's
anything in the application that is over-using the memory, before
attempting memory adjustments.
Also the performance.pdf here:
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
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
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 in
Tomcat or the JRE
-Original Message-
From: RChartier [mailto:[EMAIL PROTECTED]
Sent: den 9 februari 2007 16:00
To: users@tomcat.apache.org
Subject: Re: [OT] Apache mod_jk memory leak?
Hi,
I am using Apache 2.0.59 and Tomcat 5.0.28 with mod_jk 1.2.20 on Windows
2003 SP1 but the system have some issue on the socket
: RChartier [mailto:[EMAIL PROTECTED]
Sent: den 9 februari 2007 16:00
To: users@tomcat.apache.org
Subject: Re: [OT] Apache mod_jk memory leak?
Hi,
I am using Apache 2.0.59 and Tomcat 5.0.28 with mod_jk 1.2.20 on Windows
2003 SP1 but the system have some issue on the socket layer. In fact
Please do!
It will be much appriciated...
/per jonsson
-Original Message-
From: RChartier [mailto:[EMAIL PROTECTED]
Sent: den 14 februari 2007 13:10
To: users@tomcat.apache.org
Subject: RE: Apache mod_jk memory leak?
Hi!
I don't know IIS but maybe the patch could help
-mod_jk-memory-leak--tf3023318.html#a8446606
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
:
http://www.nabble.com/Apache-mod_jk-memory-leak--tf3023318.html#a8448796
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL
:
http://www.nabble.com/Apache-mod_jk-memory-leak--tf3023318.html#a8449222
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Juergen,
JNeuhoff wrote:
Is this also the reason for an occasional rapid increase in the number of
HTTPSessions? I noticed that at times Tomcat reports 3 to 4 times more
active sessions than there were users (as defined by their IP-address and
users hit our webservice for just one minute with a rapid
successions of keyborad hits in their respective web browsers! I still
haven't re-booted it in case more information is needed.
--
View this message in context:
http://www.nabble.com/Apache-mod_jk-memory-leak--tf3023318.html#a8452758
Sent
JNeuhoff wrote:
By default apache will use as max number of connections the same value,
as the max number of threads, so that each thread can get it's own
connection. By default it will shrink the connection pool down to half
of the max size. There is a min value you can configure if this
, downloaded from
http://mirrors.dedipower.com/ftp.apache.org/tomcat/tomcat-connectors/jk/binaries/win32/jk-1.2.20/mod_jk-apache-2.0.58.so
identifies itself as mod_jk/1.2.19, not as mod_jk/1.2.20 !
Regards
J.Neuhoff
--
View this message in context:
http://www.nabble.com/Apache-mod_jk-memory-leak
JNeuhoff wrote:
I have completed some stresstests (with up to 500 concurrent users) on Apache
2.0.59, mod_jk 2.1.20, Tomcat 5.5.17, using the following
workers.properties:
...
and it seems to be coping just fine now under the stressload. I think I'll
use this setup on our live server now.
normal users, but a
malicious person would be able to bring down the web service this way. Are
there preventitive settings for this scenario?
Regards
J.Neuhoff
--
View this message in context:
http://www.nabble.com/Apache-mod_jk-memory-leak--tf3023318.html#a8436127
Sent from the Tomcat - User
JNeuhoff wrote:
Yes, it starts out with a much smaller memory, around 10 to 15 MB or so,
even after a few initial connections to Tomcat from one user session.
I see, any idea, how the delta 70-15=55MB relates to connections (if you
do stress tests with real parallelity e.g. 20, 50, 100, 200,
not have a noticable consequence to the users.
There is no memory leak known for mod_jk. Most people secure Apache
against leaks by setting MaxRequestsPerChild to an appropriate value.
If you've still got problems after upgrading, you would need to post
relevant parts of your workers.properties, Jk
-memory-leak--tf3023318.html#a8407489
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
JNeuhoff wrote:
Yesterday, I indeed upgraded another server box to Apache 2.0.59, mod_jk
1.2.20, Tomcat 5.5.17, and also set the connection_pool_timeout=600 (is that
value 600 seconds, or milliseconds?). I then subjected this server to a
brief stresstest (roughly 50 simultanious HTTP sessions on
J.Neuhoff
--
View this message in context:
http://www.nabble.com/Apache-mod_jk-memory-leak--tf3023318.html#a8410578
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To start a new topic, e-mail: users
refused to serve requests. So I finally ended up rebooting the whole
Windows 2003 server box.
Is there a memory leak problem with Apache 2 / mod_jk ? Any help
appreciated! How can I configure the system to cope with heavier traffic
and, if necessary, tell the user that the system is too busy
in live
using memory.
In using a leak tracker tool, a memory leak has been found in
org.apache.tomcat.util.threads.ThreadWithAttributes.
I have found some information about this issue dealing with
swallowOutput
however the application doesn't use it and that doesn't correspond
home made (the purpose is to explore the running time in inspecting private
variables with JNI)
-Message d'origine-
De : Rodrigo Assunção [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 5 janvier 2007 11:41
À : Tomcat Users List
Objet : Re: Tomcat 5 Memory Leak
Which leak tracker tool
, a memory leak has been found in
org.apache.tomcat.util.threads.ThreadWithAttributes.
I have found some information about this issue dealing with
swallowOutput
however the application doesn't use it and that doesn't correspond to our
exact tomcat version.
(http://mail-archives.apache.org
using memory.
Why don't you try a stable version for alternation?
5.0.30 is a beta :-)
Leon
In using a leak tracker tool, a memory leak has been found in
org.apache.tomcat.util.threads.ThreadWithAttributes.
I have found some information about this issue dealing with
swallowOutput
acceptCount=100 debug=0 connectionTimeout=2
useURIValidationHack=false disableUploadTimeout=true /
I noticed the memory leak if there are multiple repeated requests from same
browser simultaneously without waiting for response. It is keep accumulating
the memory
you use a packet capture tool like Ethereal (Open Source)
to see what the interaction is at that level while recreating this
problem.
Please respond to Tomcat Users List users@tomcat.apache.org
To: users@tomcat.apache.org
cc:
Subject:Coyote HTTP Connecto memory leak
Is there any Coyote HTTP Connector setting like timeout to release this kind
of memory. I am using the IE for testing.
Thanks and Regards,
Bhakta
--
View this message in context:
http://www.nabble.com/Coyote-HTTP-Connecto-memory-leak-with-repeated-sumultaneous-requests-fro-tf1998241.html
OK - I have spent a few weeks trying to track down a memory leak that is in
our application. We see the leak in that the yourkit profiler shows an
increasing trend in telemetry. BUT, in tyring to track it down, all the GC
roots of the largest objects are coming from things like JDBC caches
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
.
See http://marc.theaimsgroup.com/?l=tomcat-userm=114001512903342w=2
Tim
-Original Message-
From: Mark Shifman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 31, 2006 12:35 PM
To: Tomcat Users List
Subject: undeploy/deploy memory leak
Hi:
I am using tomcat 5.5.16 , struts 1.2.9, jstl
El Jueves 25 Mayo 2006 07:44, Bill Barker escribió:
If you are using the AJP/1.3 Connector, then 5.0.19 has a very very very
very well known memory leak. You need to set
request.registerRequests=false in this case. Either that, or upgrade :).
hello,
I have a similar problem
Petkov, Rossen ha scritto:
Hello,
I am having a problem with Tomcat 5.0.19 on windows with JDK
1.4.2_03.The memory that java.exe is using keeps growing till the point
that tomcat
Runs out of memory.
Try this: http://wiki.apache.org/tomcat/OutOfMemory
Ciao
Antonio
--- Rocio Alfonso Pita [EMAIL PROTECTED] wrote:
El Jueves 25 Mayo 2006 18:51, Petkov, Rossen
escribi�:
The request.registerRequests=false setting goes
in the workers.properties
file. I already have that an it's not helping with
the memory leak. I plan
to upgrade Tomcat to 5.0.28
memory drops to 15%. With every GC, the freed memory is less and
less, which to me is an indication of memory leak.
I can't figure out where all those char[] objects are coming
from or why they aren't being reclaimed by the garbage collector. I
know that something is holding memory and isn't
%. With every GC, the freed memory is less and
less, which to me is an indication of memory leak.
...
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
have allocated -Xmx896M. I'm now
forcing a GC when the
free memory drops to 15%. With every GC, the freed
memory is less and
less, which to me is an indication of memory leak.
I can't figure out where all those char[] objects
are coming
from or why they aren't being reclaimed
to the java heap, then GC
probably kicks but, while running Tomcat throws an OutOfMemory
exception. I have allocated -Xmx896M. I'm now forcing a GC when the
free memory drops to 15%. With every GC, the freed memory is less and
less, which to me is an indication of memory leak.
I can't figure out where
If you are using the AJP/1.3 Connector, then 5.0.19 has a very very very
very well known memory leak. You need to set
request.registerRequests=false in this case. Either that, or upgrade :).
Petkov, Rossen [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello,
I am having
shutdown, nor can they be replicated in a
clustered environment. The error below is pointing out this fact to you.
Tim
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 07, 2006 1:34 PM
To: Tomcat Users List
Subject: RE: Tomcat 5.0.28 memory leak
For update on the forum..
After days of research finally the reason for the memory leak seems to be a
leak in the JDK version.
Evidance to support the theory:
http://tomcat.apache.org/faq/misc.html#cpu
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4724129
Also:
Segue load tests with the new
Hello All,
I posted this question before.I am using tomcat5.0.28 somehow my
application blows the service with memory increasing really quicly even
with one user.
If I test same on tomcat 4.1.24 it runs fine.
Any known leaks with this version ???I think tomcat 5.0 has problems.I have
read issues
[EMAIL PROTECTED] wrote:
Hello All,
I posted this question before.I am using tomcat5.0.28 somehow my
application blows the service with memory increasing really quicly even
with one user.
If I test same on tomcat 4.1.24 it runs fine.
Any known leaks with this version ???I think tomcat 5.0
|
| cc:
|
| Subject: Re: Tomcat 5.0.28 memory leak
The error below is because the class aaa.pm.server.beans.MemberData does not
implement java.io.Serializable.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 07, 2006 1:09 PM
To: Tomcat Users List
Subject: Re: Tomcat 5.0.28 memory leak
Yes I
Subject: Re: Tomcat 5.0.28 memory leak
Yes I tried JProbe and during memory debugging I see char[] size going up.If
I look into bug databases there are various reasons.Some talk to
commons-logging others about session persistance.
I am getting the following error in my log4j log
@tomcat.apache.org
|
| cc:
|
| Subject: RE: Tomcat 5.0.28 memory leak
[EMAIL PROTECTED] wrote:
Why do I have to make my class serializable.It is a simple web application
using the MemberData class for storing some data???
Because you are pushing it onto the session.
- Gary
-
To unsubscribe,
|
| cc:
|
| Subject: Re: Tomcat 5.0.28 memory leak
[EMAIL PROTECTED] wrote:
Yes I am putting it out in the session but I get the error after the
service has broken and at that point its probably trying to persist data???
and that should be serializable.
My issue is why doesthe service break in the first place?
I am just doing refesh on a page
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat 5.0.28 memory leak
I am using jdk1.4.0_04 and tomcat 5.0.28.
You really need to get off that level ASAP. Use 1.4.2, which fixes
many, many bugs compared to 1.4.0.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL
, Charles R [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 07, 2006 12:26 PM
To: Tomcat Users List
Subject: RE: Tomcat 5.0.28 memory leak
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat 5.0.28 memory leak
I am using jdk1.4.0_04 and tomcat 5.0.28.
You really need
From: Robert Harper [mailto:[EMAIL PROTECTED]
Subject: RE: Tomcat 5.0.28 memory leak
I have a similar problem with 1.4.2_07-b05. My app runs with
very little traffic but as time goes on, the system runs out
of memory even though there is plenty of idle time for the gc
to do it's thing
Users List
Subject: RE: Tomcat 5.0.28 memory leak
From: Robert Harper [mailto:[EMAIL PROTECTED]
Subject: RE: Tomcat 5.0.28 memory leak
I have a similar problem with 1.4.2_07-b05. My app runs with
very little traffic but as time goes on, the system runs out
of memory even though
From: Robert Harper [mailto:[EMAIL PROTECTED]
Subject: RE: Tomcat 5.0.28 memory leak
OK so when all objects have only have method scope and none
are static.
Is that what the profiler says, or is that your assessment of your
applications? What about loggers, Struts, or other frameworks
:
|
| Subject: RE: Tomcat 5.0.28 memory leak
:55 PM
To: Tomcat Users List
Subject: RE: Tomcat 5.0.28 memory leak
From: Robert Harper [mailto:[EMAIL PROTECTED]
Subject: RE: Tomcat 5.0.28 memory leak
OK so when all objects have only have method scope and none
are static.
Is that what the profiler says, or is that your assessment of your
PROTECTED]
Sent: Tuesday, March 07, 2006 1:34 PM
To: Tomcat Users List
Subject: RE: Tomcat 5.0.28 memory leak
Why do I have to make my class serializable.It is a simple web application
using the MemberData class for storing some data
it.
I have been re-searching and have read bugs related to memory leaks.Is
there a known bug in the 5 versions of tomcat which leads to a memory
leak??
I have tried various things - nothing seems to work.I tried memory
debugging using Jprobe which does show me that a char[] array size keeps
of
org.apache.jasper.runtime.JspFactoryImpl.USE_POOL from config files or
in any other way, without rebuilding entire tomcat application.
P.S.
In fact, I think, it's not REAL memory leak - memory usage, may be,
will stop grow on some large value (2+ GB, when pool become full), but i
have not such
amount of memory.
Now memory usage
.
I think it would be useful to allow users to set property of
org.apache.jasper.runtime.JspFactoryImpl.USE_POOL from config files or
in any other way, without rebuilding entire tomcat application.
P.S.
In fact, I think, it's not REAL memory leak - memory usage, may be,
will stop grow on some
of
org.apache.jasper.runtime.JspFactoryImpl.USE_POOL from config files or
in any other way, without rebuilding entire tomcat application.
P.S.
In fact, I think, it's not REAL memory leak - memory usage, may be,
will stop grow on some large value (2+ GB, when pool become full), but i have
not such
amount of memory
Hi Rémy,
It's a very good news for all !!!
Until now, we used a CleanupListener to do such things, and webapps could use
it or not.
Now, Tomcat will do this automatically for us :-))
But I need some complements :
- this new feature will be integrated in Tomcat 3 ? Tomcat 4 ? Tomcat 5.0 ?
- in
Hi, I would like to add my two cents :-)
If I know that a class will only be instantiated once or twice, I
usually prefer to declare the logger field as non-static.
I put in this category Stateless Session EJBs, servlets, filters,
listeners, JSPs, and any singleton classes I implement by
On 11/30/05, Remy Maucherat [EMAIL PROTECTED] wrote:
This issue also affects Hibernate. As it doesn't seem to be a Tomcat
bug, but would be good to have a fix for, I've added possible
workarounds for that (reflection code which sets as many static fields
as possible to null in loaded classes
Lionel Farbos wrote:
Notes :
- Perhaps your Listener will have to delete other objets like SQL drivers,
commons logger, ...
- see also :
http://opensource2.atlassian.com/confluence/spring/pages/viewpage.action?pageId=2669
Does log4j have some nice method to free all Logger objects? It
On Tue, 29 Nov 2005 00:39:51 -0600
[EMAIL PROTECTED] wrote:
On Mon, Nov 28, 2005 at 06:24:52PM +0100, Lionel Farbos wrote:
Hi Juan,
I think your problem can't be solved (only) by Tomcat.
The problem is that objets stay in memory because of pointers on static
references...
On Tue, 29 Nov 2005 09:31:28 +0100
Mikolaj Rydzewski [EMAIL PROTECTED] wrote:
Lionel Farbos wrote:
Notes :
- Perhaps your Listener will have to delete other objets like SQL drivers,
commons logger, ...
- see also :
501 - 600 of 606 matches
Mail list logo