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

[ChoiceBox] The cloned issue is still existing. Tried with java 1.8.0_u5 - Calling setItems() multiple time creates massive memory leak in ChoiceBox

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Incomplete
    • Affects Version/s: 8u20
    • Fix Version/s: 8u20
    • Component/s: javafx
    • Labels:
    • Environment:

      Windows (XP, 7)

      Description

      I have a choicebox with 1000 items.
      I call setItems with the observablelist of items.
      Everything is fine
      I call setItems on same component (with smaller ObservableList)
      Everything is fine(?)
      I call setItems on same component with the original list

      The JVM goes wild and runs out of memory

      Including code to replicate. pressing button creates the issue, you can see it on Profiler.

      Similiar behavior occurs if one just reloads the obervable list with new data.

        Attachments

          Activity

            People

            Assignee:
            jgiles Jonathan Giles
            Reporter:
            duke J. Duke (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved:
              Imported: