[
https://issues.apache.org/jira/browse/ARROW-791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17657823#comment-17657823
]
Rok Mihevc commented on ARROW-791:
----------------------------------
This issue has been migrated to [issue
#16402|https://github.com/apache/arrow/issues/16402] on GitHub. Please see the
[migration documentation|https://github.com/apache/arrow/issues/14542] for
further details.
> [Java] Check if ArrowBuf is empty buffer in getActualConsumedMemory() and
> getPossibleConsumedMemory()
> -----------------------------------------------------------------------------------------------------
>
> Key: ARROW-791
> URL: https://issues.apache.org/jira/browse/ARROW-791
> Project: Apache Arrow
> Issue Type: Bug
> Components: Java
> Reporter: Steven Phillips
> Priority: Major
>
> Most of the methods related to memory accounting in ArrowBuf have special
> handling for the case when then Buffer is the empty buffer instance. This
> check is missing in these two methods.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)