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

TableView leaks memory

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8u60
    • 7u6
    • javafx
    • None
    • 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.

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

              Created:
              Updated:
              Resolved:
              Imported: