You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Leo Li (JIRA)" <ji...@apache.org> on 2007/08/21 08:29:31 UTC
[jira] Resolved: (HARMONY-2530) [classlib][util] native memory leak
when creating Deflater
[ https://issues.apache.org/jira/browse/HARMONY-2530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leo Li resolved HARMONY-2530.
-----------------------------
Resolution: Fixed
Hi, all
Patch applied at r567974. Please verify whether the problem of native memory leaking in java.util.zip.Deflater has been resolved.
Good luck!
Leo.
> [classlib][util] native memory leak when creating Deflater
> ----------------------------------------------------------
>
> Key: HARMONY-2530
> URL: https://issues.apache.org/jira/browse/HARMONY-2530
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Environment: All
> Reporter: Ivan Volosyuk
> Assignee: Alexei Zakharov
>
> 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.
-
You can reply to this email to add a comment to the issue online.