harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Volosyuk (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-2530) [Classlib] native memory leak when creating Deflater
Date Thu, 07 Dec 2006 20:20:21 GMT
[Classlib] native memory leak when creating Deflater
----------------------------------------------------

                 Key: HARMONY-2530
                 URL: http://issues.apache.org/jira/browse/HARMONY-2530
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
         Environment: All
            Reporter: Ivan Volosyuk


Huge native memory leak when creating deflater objects.
Simple test case.

import java.util.zip.Deflater;
public class Test {

  public static void main(String[] args) {

    for(int i = 0; i < 20000; i++) {      
      new Deflater();
      try {
        Thread.sleep(10);
      } catch (Exception e) {
      }
      System.out.println("Iteration = " + i);
    }
  }
}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message