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

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P3 P3
    • 8u20
    • 8u20
    • javafx
    • Windows (XP, 7)

      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.

            jgiles Jonathan Giles
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: