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

Memory leak in X11 AWT drawImage()

    XMLWordPrintable

Details

    • sparc
    • solaris_2.5.1

    Description

      When using Graphics.drawImage() to stretch an offscreen image under X11/Motif environment, the JVM process grows indefinitely.

      To reproduce the problem, compile the attached 'Stretch.java' application and run it with 'java Stretch'. Resize and/or maximize the window many times while monitoring the process size: the process grows by the size of the image displayed just before the resize. This is quite obvious when maximizing and then restoring the window.

      Please note that Image.flush() is called from the Java code in order to free unused memory.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bsanouil Blaise Sanouillet (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: