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

OutOfMemoryError while using GZIPOutputStream

    XMLWordPrintable

    Details

      Description

      Customer is using his J2EE Server with JDK 1.3.1_12. The SAP J2EE Engine is running the Enterprise Portal and serving compressed output. The java.util.zip.GZIPOutputStream which is used calls into the OpenSource compression library zlib (www.gzip.org/zlib) which we ship (even in Tiger!) in version 1.1.3 from 9 July 1998. After some hours the server crashes with an OOM.

      - The latest zlib is: 1.2.1, from 17. Nov. 2003, check the ChangeLog there are MANY fixes.
      - An alternative usage of a pure-java compression makes the crash disappear.
      - SAP swaped the zlib-sources in the JDK ( just to narrow this issue down!) to the latest one ( ... and build their own VM ): No OOM anymore.
      ###@###.### 10/16/04 01:02 GMT

      I've changed this bug from
      Synopsis: OutOfMemoryError while using GZIPOutputStream, zlib memleak
      to
      (ref) Finalizer thread sometimes can't keep up with other threads

      to more accurately reflect the underlying problem.
      ###@###.### 2005-1-10 23:30:21 GMT

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              bristor Dave Bristor
              Reporter:
              duke J. Duke (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: