TableView leaks memory

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 8u60
    • Affects Version/s: 7u6
    • Component/s: javafx
    • None
    • Environment:

      Windows XP/x86, Java 7u7 with JavaFX 2.2

      I was investigating the performance of exchanging columns on a TableView, when I came across a memory leak.

      Observed Behaviour:
      When I exchange the columns on a TableView through getColumns().setAll() with an identical number of equally simple columns, the applications memory footprint increases and does not drop again when I garbarge collect.
      I need to remove the TableView from the view and null the remaining references to reclaim the memory.

      The attached demo illustrates the behaviour. Please observe it in a profiler to see the issue.
      Note that this is appears to be different from RT-22385, which I can no longer reproduce.

            Assignee:
            Jonathan Giles
            Reporter:
            Urs Reupke (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: