Re: Memory Usage and Garbage Collection

2003-01-15 Thread Will Hartung
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

RE: Memory Usage and Garbage Collection

2003-01-10 Thread Turoff, Steve
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

RE: Memory Usage and Garbage Collection

2003-01-05 Thread Saurabh Arora
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

Re: Memory Usage and Garbage Collection

2003-01-05 Thread Nikola Milutinovic
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

RE: Memory Usage and Garbage Collection

2003-01-03 Thread Andreas Probst
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

RE: Memory Usage and Garbage Collection

2003-01-03 Thread Saurabh Arora
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:

RE: Memory Usage and Garbage Collection

2003-01-03 Thread Shapira, Yoav
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)

RE: Memory Usage and Garbage Collection

2003-01-03 Thread Andreas Probst
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

RE: Memory Usage and Garbage Collection

2003-01-03 Thread Craig R. McClanahan
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

RE: Memory Usage and Garbage Collection

2003-01-03 Thread Craig R. McClanahan
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

RE: Memory Usage and Garbage Collection

2003-01-03 Thread Andreas Probst
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

RE: Memory Usage and Garbage Collection

2003-01-03 Thread Brandon Cruz
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

Re: Memory Usage and Garbage Collection

2003-01-03 Thread Will Hartung
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

RE: Memory Usage and Garbage Collection

2003-01-03 Thread Craig R. McClanahan
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

Re: Memory Usage and Garbage Collection

2003-01-03 Thread Hanasaki JiJi
: 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

RE: Memory Usage and Garbage Collection

2003-01-03 Thread Noel J. Bergman
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

RE: Memory Usage and Garbage Collection

2003-01-03 Thread Noel J. Bergman
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

Re: Memory Usage and Garbage Collection

2003-01-02 Thread Craig R. McClanahan
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

RE: Memory Usage and Garbage Collection

2003-01-02 Thread Brandon Cruz
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

Re: Memory Usage and Garbage Collection

2003-01-02 Thread Julian Löffelhardt
: 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

RE: Memory Usage and Garbage Collection

2003-01-02 Thread Craig R. McClanahan
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

Re: Memory Usage and Garbage Collection

2003-01-02 Thread Craig R. McClanahan
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