[jira] [Created] (CARBONDATA-3267) Data loading is failing with OOM using range sort

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (CARBONDATA-3267) Data loading is failing with OOM using range sort

Akash R Nilugal (Jira)
kumar vishal created CARBONDATA-3267:
----------------------------------------

             Summary: Data loading is failing with OOM using range sort
                 Key: CARBONDATA-3267
                 URL: https://issues.apache.org/jira/browse/CARBONDATA-3267
             Project: CarbonData
          Issue Type: Bug
            Reporter: kumar vishal
            Assignee: kumar vishal


h3. Problem:

Range sort is failing with OOM.
h3. 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.
h3. Solution:

Added code code to 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



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)