[
https://issues.apache.org/jira/browse/CARBONDATA-2464?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jacky Li resolved CARBONDATA-2464.
----------------------------------
Resolution: Fixed
Fix Version/s: 1.4.0
> Fixed OOM in case of complex type
> ---------------------------------
>
> Key: CARBONDATA-2464
> URL: https://issues.apache.org/jira/browse/CARBONDATA-2464
> Project: CarbonData
> Issue Type: Bug
> Reporter: kumar vishal
> Assignee: kumar vishal
> Priority: Major
> Fix For: 1.4.0
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> Problem: Query with Complex type is failing with OOM
> Root Cause: Complex type child column(No-dictionary) values are written in LV
> format, while reading the data it will read length then based on length it is
> reading the data. Converting byte array to int is giving wrong length value,
> because of this it's trying to create big memory chunk and as memory is not
> available in Unsafe it is failing with OOM.
> Code issue: While converting byte array to int it is not masking the the byte
> values and because of this is giving wrong integer value.
> Solution: Mask each byte and then left shift the bits
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)