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

NUMA: memory leak on Linux with large pages

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: hs23
    • Fix Version/s: hs23
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • Resolved In Build:
      b10
    • CPU:
      generic
    • OS:
      linux
    • Verification:
      Not verified

      Backports

        Description

        The issue is with os::free_memory() changes made in 7060842 when the “madvise” call was replaced with “mmap”. This is the reason of exhaustive memory consumption. Seems when we need to remap some memory we need to do it using the same flags as we mapped it initially, particularly with “MAP_HUGETLB”. Otherwise system maps 4k pages instead of already reserved huge pages.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  iveresov Igor Veresov
                  Reporter:
                  iveresov Igor Veresov
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: