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

Release memory back to OS

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P3 P3
    • None
    • 8u40
    • hotspot
    • gc
    • x86_64
    • windows_7

      FULL PRODUCT VERSION :
      java version "1.8.0_40"
      Java(TM) SE Runtime Environment (build 1.8.0_40-b25)
      Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)


      ADDITIONAL OS VERSION INFORMATION :
      Windows 7

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      Please visit https://javafx-jira.kenai.com/browse/RT-40438

      A DESCRIPTION OF THE PROBLEM :
      I understang that java does not release memory back to the OS, but when building desktop applications eating up 5-6GB of RAM, we need it to be released back to the OS. Consistently holding on to the memory even when not doing anything will make the user's machine unusable.

      REGRESSION. Last worked in version 8u40

      *************************************************************************************************************************************************
      Additional information from the javafx bug report:
      TableView does not release memory:
      A table view is added to a tab and after closing the tab the memory consumed by the table view is not released. I load millions of rows of data and will have multiple tabs. with 2 million rows it usually goes up to 4GB of RAM. When the tab is closed the memory is not released back. We have completed developing the app and will be going production soon. A quick response will help us.

      There is a long chain of comments in the javafx bug report that would be useful to go through. Of course, this requires a javafx-kenai login though.
      https://javafx-jira.kenai.com/browse/RT-40438
      ****************************************************************************************************************************************************
      ADDITIONAL REGRESSION INFORMATION:
      java version "1.8.0_40"
      Java(TM) SE Runtime Environment (build 1.8.0_40-b25)
      Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Please visit https://javafx-jira.kenai.com/browse/RT-40438


      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      please visit https://javafx-jira.kenai.com/browse/RT-40438

      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      none.

      SUPPORT :
      YES

            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: