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

Projjal Chanda updated ARROW-7793:
----------------------------------
    Description: 
Here [1] it should release the to the excess reservation minus leak to parent 
before throwing exception

[1] 
[https://github.com/apache/arrow/blob/762202418541e843923b8cae640d15b4952a0af6/java/memory/src/main/java/org/apache/arrow/memory/BaseAllocator.java#L481]

  was:
Here [1] it should call super.close() before throwing exception

[1] 
https://github.com/apache/arrow/blob/762202418541e843923b8cae640d15b4952a0af6/java/memory/src/main/java/org/apache/arrow/memory/BaseAllocator.java#L481


> [Java] If the child allocators leak memory the base allocator doesn't release 
> its memory before throwing exception
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: ARROW-7793
>                 URL: https://issues.apache.org/jira/browse/ARROW-7793
>             Project: Apache Arrow
>          Issue Type: Bug
>            Reporter: Projjal Chanda
>            Assignee: Projjal Chanda
>            Priority: Major
>
> Here [1] it should release the to the excess reservation minus leak to parent 
> before throwing exception
> [1] 
> [https://github.com/apache/arrow/blob/762202418541e843923b8cae640d15b4952a0af6/java/memory/src/main/java/org/apache/arrow/memory/BaseAllocator.java#L481]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to