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

Change URI[] in INodeLink to String[] to reduce memory footprint of ViewFileSystem

    XMLWordPrintableJSON

Details

    Description

      Around 40k instances of INodeLink each of which is taking memory ranging from 1680bytes to 1160bytes. Multiplying 40k with 1160bytes will give us approximate 45mb.

      With changing from URI to String in INodeLink the memory consumed by each of the INodeLink objects has reduced from ~1160 bytes to ~320 bytes. Overall size becomes (40k X 320) 12mb

      Attachments

        Issue Links

          Activity

            People

              abhishekd Abhishek Das
              abhishekd Abhishek Das
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 50m
                  2h 50m