Uploaded image for project: 'Apache Apex Malhar'
  1. Apache Apex Malhar
  2. APEXMALHAR-2327

BucketsFileSystem.writeBucketData() call Slice.toByteArray() cause allocate unnecessary memory

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.6.0
    • None
    • None

    Description

      BucketsFileSystem.writeBucketData call Slice.toByteArray() instead of using Slice.buffer to get the byte array, which create unnecessary byte array as Slice.toByteArray() which create new byte array and copy the data.

      Attachments

        Issue Links

          Activity

            People

              brightchen Bright Chen
              brightchen Bright Chen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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