this was helpful,
Regards,
Will Hartung
([EMAIL PROTECTED])
- Original Message -
From: Turoff, Steve [EMAIL PROTECTED]
To: Will Hartung [EMAIL PROTECTED]
Sent: Tuesday, January 14, 2003 10:07 AM
Subject: RE: Memory Usage and Garbage Collection
Will,
I too am experiencing memory
much for your help.
Steve
-Original Message-
From: Will Hartung [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 03, 2003 4:54 PM
To: Tomcat Users List
Subject: Re: Memory Usage and Garbage Collection
From: Brandon Cruz [EMAIL PROTECTED]
Sent: Friday, January 03, 2003 2:23 PM
the outofmemory error.
saurabh
[EMAIL PROTECTED] 01/04/03 01:12AM
On Fri, 3 Jan 2003, Saurabh Arora wrote:
Date: Fri, 03 Jan 2003 02:33:17 -0700
From: Saurabh Arora [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: Memory Usage and Garbage
So the instance, and it's string, can still be GC'd, right?
Nope.
There is still a live reference to each OtherObject instance sitting in
the static HashMap cache. Therefore, this instance cannot be GC'd, even
though *you* have released your own reference to it. And, if the
OtherObject class
Hi Craig,
please see intermixed.
On 2 Jan 2003 at 18:18, Craig R. McClanahan wrote:
Instances can be garbage collected IF AND ONLY IF there are no
live references to that object in a static/instance/local
variable of some other object that is also in memory. Only
instances that are no
Just wanted to know, does the current implementation of tomcat 4.1.18
also has the same problem of keeping the jsp's
in memory. or it was only present in 4.0.4
saurabh
[EMAIL PROTECTED] 01/03/03 02:26PM
Hi Craig,
please see intermixed.
On 2 Jan 2003 at 18:18, Craig R. McClanahan wrote:
Hi,
There's clearly some misconceptions on the topic of garbage collection
;) These questions come up very often it seems, on this list and
others.
Please consider the following service() or doGet() or so of a
servlet:
public void service(ServletRequest request, ServletResponse
response)
Hi thank you,
your reply calms me down again. I guess I got a bit confused by
the preceding discussion.
Andreas
On 3 Jan 2003 at 8:59, Shapira, Yoav wrote:
Hi,
There's clearly some misconceptions on the topic of garbage
collection ;) These questions come up very often it seems, on
this
On Fri, 3 Jan 2003, Andreas Probst wrote:
Hi Craig,
please see intermixed.
On 2 Jan 2003 at 18:18, Craig R. McClanahan wrote:
Instances can be garbage collected IF AND ONLY IF there are no
live references to that object in a static/instance/local
variable of some other object that
On Fri, 3 Jan 2003, Saurabh Arora wrote:
Date: Fri, 03 Jan 2003 02:33:17 -0700
From: Saurabh Arora [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: Memory Usage and Garbage Collection
Just wanted to know, does the current implementation
Hi Craig,
thank you very much for this complete explanation. That's
perfectly understandable and the GC-behaviour which I had
expected before. I must have understood something wrong in this
thread's discussion, which went on yesterday.
Again, thank you very much for your helpful responses
created will take up all the available RAM. Is
this correct?
Brandon
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 03, 2003 1:43 PM
To: Tomcat Users List
Subject: RE: Memory Usage and Garbage Collection
On Fri, 3 Jan 2003, Saurabh
From: Brandon Cruz [EMAIL PROTECTED]
Sent: Friday, January 03, 2003 2:23 PM
Subject: RE: Memory Usage and Garbage Collection
1)For every single request to a servlet or JSP page, a new instance of
that
class is created? For example, if there is one JSP page and ten people
access that one
On Fri, 3 Jan 2003, Brandon Cruz wrote:
Date: Fri, 3 Jan 2003 16:23:24 -0600
From: Brandon Cruz [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED],
[EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: RE: Memory Usage and Garbage Collection
Craig,
From
: Fri, 3 Jan 2003 16:23:24 -0600
From: Brandon Cruz [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED],
[EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: RE: Memory Usage and Garbage Collection
Craig,
From what you have been saying...
1)For every single request
Instead, you'd want to use a single JSP page for each basic *style*
of output (essentially the JSP page would be a formatting template)
that pulls in the unique information for a particular report (from
the database, from XML, or whatever) dynamically.
For example, with the web site for The
There is still a live reference to each OtherObject instance sitting in
the static HashMap cache.
there is no way to ***ever*** GC this instance
Another example of a similar memory leak is the File.deleteOnExit method.
It should not be used without extreme care and understanding in a server
On Thu, 2 Jan 2003, Brandon Cruz wrote:
Date: Thu, 2 Jan 2003 16:16:23 -0600
From: Brandon Cruz [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED],
[EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Memory Usage and Garbage Collection
Do loaded jsp
List; [EMAIL PROTECTED]
Subject: Re: Memory Usage and Garbage Collection
On Thu, 2 Jan 2003, Brandon Cruz wrote:
Date: Thu, 2 Jan 2003 16:16:23 -0600
From: Brandon Cruz [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED],
[EMAIL PROTECTED]
To: Tomcat Users List [EMAIL
: Friday, January 03, 2003 1:12 AM
Subject: Re: Memory Usage and Garbage Collection
On Thu, 2 Jan 2003, Brandon Cruz wrote:
Date: Thu, 2 Jan 2003 16:16:23 -0600
From: Brandon Cruz [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED],
[EMAIL PROTECTED]
To: Tomcat Users List
On Thu, 2 Jan 2003, Brandon Cruz wrote:
Date: Thu, 2 Jan 2003 19:04:55 -0600
From: Brandon Cruz [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: Memory Usage and Garbage Collection
Craig,
Thanks for your comments, I still have a few
On Fri, 3 Jan 2003, Julian Löffelhardt wrote:
Date: Fri, 3 Jan 2003 02:01:58 +0100
From: Julian Löffelhardt [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: Memory Usage and Garbage Collection
Looking at the jasper
22 matches
Mail list logo