tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Giles Chanot \(\)" <>
Subject RE: Memory leaks in Tomcat 3.1?
Date Tue, 16 May 2000 11:56:55 GMT
Jan and Ralph

good points!

I suppose I was assuming some intelligence on the part of the programmer.


-----Original Message-----
From: Ralph Einfeldt []
Sent: 16 May 2000 12:30
To: ''
Subject: AW: Memory leaks in Tomcat 3.1?

The garbage collector can't resolve everything.

So the design or implementation error might still
lead to memory leaks. The Garbage Collector just
makes the developers job much easier, but thinking
is still neccesary (:).

Consider just a little example:

class foo {
  static Vector cSomeObjects = new Vector();

  public void bar(Object aArg) {

Every object for that you call bar is never garbage collected...

View raw message