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

Memory leak in X11/Motif AWT image_FreeBufs()

    Details

    • Subcomponent:
    • Resolved In Build:
      1.1.6
    • CPU:
      generic, sparc
    • OS:
      solaris_2.5.1, solaris_2.6
    • Verification:
      Verified

      Description

      This problem occurs with the X11/Motif version of the Java Virtual Machine.
      The JVM process size grows each time Graphics.drawImage() is used to scale a given offscreen image.

      To reproduce the problem, compile the attached Stretch.java class and run it as a Java application ('java Stretch'). Resize and/or maximize the window while monitoring the java process size. The problem is very obvious when restoring the window after maximizing it: the process grows by approx. 1 megabyte!

      Please note that all Image and Graphics instances are disposed of when not used anymore.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mbronsonsunw Mike Bronson (Inactive)
                Reporter:
                bsanouil Blaise Sanouillet (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: