Hi,

Is anyone aware of problems with memory leaking in JDK1.2 running on
RedHat 5.2 ? I'm wondering if there is a problem with StringBuffer:

The following small program grows in size:--->

   import java.util.*;

   public class SBTest {
      public SBTest() {
         int i = 0;
         while(true) {
            System.out.println(i + " ");
             i++;
             System.out.flush();
             System.gc();
         }
      }

      public static void main(String[] args) {
         SBTest m = new SBTest();

      }
   }




----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to