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

JFileChooser seems to cause OutOfMemory in 1.4.2, 5.0u4 and mustang-b75

    Details

    • Subcomponent:
    • Resolved In Build:
      b94
    • CPU:
      x86
    • OS:
      windows_xp

      Backports

        Description

        JFileChooser seems to cause OutOfMemory.

        CONFIGURATION:
         -OS : winXP(SP2,Japanese)
         -JRE : 1.4.2_11, 5.0u4, mustangb75

        REPRODUCE:
         1) Compile the attached test program, JFileChooserTest.java
         2) Launch
               java -Xmx8m -verbose:gc JFileChooserTest > log 2>&1

         3) A dialogue appears,
            if you use 1.4.2_XX, please click go button.
            if 5.0ux, please set 200 to text box of "repeat count"
           Then Click "Go" BUtton.

         4) when the program stopped, please refer to log file.
            OutOfMemory message appears.
          

        NOTE:
          - -Xmx8m is specified to reproduce quickly.
             Actual licnesee program does not set such small heap size.
          - When we use JFileChose, updateUI() might not be applied.
            This is speficied to show the possibility of some leak in JFIleChooser.
            That's specified only for quick reproduction.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  malenkov Sergey Malenkov (Inactive)
                  Reporter:
                  tbaba Tadayuki Baba (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: