Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-11098

[JDK8] Max Non Heap Memory default changed between JDK7 and 8

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3.0, 2.7.1
    • 2.8.0, 3.0.0-alpha1
    • None
    • None
    • JDK8

    • Reviewed

    Description

      I noticed this because the NameNode UI shows "Max Non Heap Memory" which after some digging I found correlates to MaxDirectMemorySize.

      JDK7

      Heap Memory used 16.75 GB of 23 GB Heap Memory. Max Heap Memory is 23.7 GB.
      Non Heap Memory used 57.32 MB of 67.38 MB Commited Non Heap Memory. Max Non Heap Memory is 130 MB. 
      

      JDK8

      Heap Memory used 3.02 GB of 7.65 GB Heap Memory. Max Heap Memory is 23.7 GB.
      Non Heap Memory used 103.12 MB of 104.41 MB Commited Non Heap Memory. Max Non Heap Memory is -1 B. 
      

      More information in first comment.

      Attachments

        1. after.png
          87 kB
          Tsuyoshi Ozawa
        2. HADOOP-11098.001.patch
          3 kB
          Tsuyoshi Ozawa

        Issue Links

          Activity

            People

              ozawa Tsuyoshi Ozawa
              tthompso Travis Thompson
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: