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

TableView memory leak and CPU usage 100%

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • 8
    • 7u9
    • javafx
    • Windows Vista,
      JavaFX 2.2.3 added to classpath but it is not installed

      Used an extended TableView that loads records from a "datasource". In my case, the datasource is a model class from JVx (OS app framework).
      After and/or during column-resize, scroll, insert/update/delete operations the app is out of memory or CPU load is 100% and the application window appears black.

      The table contains 200.000 records in 9 columns.

      The initial memory usage is high and grows if you scroll down (page down, first, last keys). If you press Insert/delete keys it grows again. And F2 key also changes memory
      usage.

      Repeat above actions to increase memory and after ~ 30 seconds you should see the problem.


      To reproduce the problem, you can use my original source code (if possible).


      Example:

      Checkout:
      https://jvx.svn.sourceforge.net/svnroot/jvx/trunk/java/fx
      (The project contains a preconfigured Eclipse project)

      The project also needs jfxrt.jar in its classpath, because JavaFX was not added to this project.
      (Normally stored under libs/javafx/bin and libs/javafx/lib)

      Start the application: bugreport.MemoryLeakTableApplication

      The source is stored in: test/bugreport/MemoryLeakTableApplication.java


      Without Eclipse:

      Simply use src and test as source folders.
      Add jvx.jar, jfxrt.jar, hsqldb.jar, addons.jar and JUnit to your classpath.

            jgiles Jonathan Giles
            rjahnjfx René Jahn (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: