Uploaded image for project: 'CarbonData'
  1. CarbonData
  2. CARBONDATA-3267

Data loading is failing with OOM using range sort

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.5.2
    • None
    • None

    Description

      Problem:

      Range sort is failing with OOM.

      Root cause:

      This is because UnsafeSortStorageMemory is not able to control the off heap memory because of this when huge data is loaded it OOM exception is coming fron UnsafeMemoryAllocator.allocate.

      Solution:

      Control Sort Storage memory. After sorting the rows if memory is available then only add sorted records to sort storage memory otherwise write to disk

      Attachments

        Issue Links

          Activity

            People

              kumarvishal09 Kumar Vishal
              kumarvishal09 Kumar Vishal
              Votes:
              0 Vote for this issue
              Watchers:
              1 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 - 1h 50m
                  1h 50m