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

Java memory leak with escape analysis

    Details

    • Subcomponent:
    • Resolved In Build:
      b03
    • CPU:
      generic, x86
    • OS:
      generic, windows, windows_2003
    • Verification:
      Verified

      Backports

        Description

        Application run with -XX:+DoEscapeAnalysis grows up to machine memory and crashes after 46 hours. Examining core file shows that there are many instances of java.util.zip.* classes. It appears that java.util.zip.ZipFile and/or java.util.zip.ZipFile$ZipFileInputStream are never closed and occupy Java heap and native memory. Running same application without -XX:+DoEscapeAnalysis does not reproduce this problem.

        Object Histogram:

        num #instances #bytes Class description
        --------------------------------------------------------------------------
        1: 2273889 724202304 byte[]
        2: 220925 227457368 char[]
        3: 755258 36252384 java.util.zip.ZipFile$1
        4: 755258 36252384 java.util.zip.ZipFile$ZipFileInputStream
        5: 773194 18556656 java.util.HashMap$Entry

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  kvn Vladimir Kozlov
                  Reporter:
                  nhaustov Nicolay Haustov (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: