Memory leak in X11/Motif AWT image_FreeBufs()

XMLWordPrintable

    • 1.1.6
    • generic, sparc
    • solaris_2.5.1, solaris_2.6
    • Verified

      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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: