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:18:00 UTC

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

     [ https://issues.apache.org/jira/browse/CARBONDATA-3267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

kumar vishal updated CARBONDATA-3267:
-------------------------------------
    Description: 
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:

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

  was:
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


> 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
>            Priority: Major
>
> 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:
> 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)