Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6293787

Unexpected memory growth while using Inflater/Deflater classes

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: 1.4.2_04, 1.4.2_08
    • Fix Version/s: None
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • Introduced In Build:
      1.1
    • Introduced In Version:
      1.1
    • CPU:
      x86, sparc
    • OS:
      solaris_8, windows_2003

      Description

      Siebel calls for Inflater and Deflater object in the following way
             * insider a method a new Deflater object is created and assigned to a local reference.
             * Deflation takes place immediately, end() not called
             * After deflation local reference goes out of scope when method exists, object is available for GC.
             * This method is called many times (each time a new Deflater is constructed and discarded).
            * Each time, buffer size is in the order of 1K (not exact).
             A possible, but unlikely reason ("Unlikely reason") could be: GC bug, when the count of Delater/Inflater objects available for GC but not yet GCed is continuously increasing.
           Alternatively the native implementation has memory leaks, as it does not stand to reason that continuous memory growth is caused by "Unlikely reason", but rather as a result of native memory not properly released in some cases.

      I have suggested that a explicit end() be included in code but Siebel says that memory growth continues with end() call too.

      ###@###.### 2005-07-02 02:27:13 GMT
      User sends a new test case to replicate the problem.
      The test case is enclosed.
      (moved comments to Comments section.)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                dgollapudi Devika Gollapudi (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: