You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "kumar vishal (JIRA)" <ji...@apache.org> on 2019/01/23 16:17:00 UTC

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

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)