You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "slim bouguerra (JIRA)" <ji...@apache.org> on 2019/05/04 00:00:00 UTC

[jira] [Created] (HIVE-21689) Buddy Allocator memory accounting does not account for failed allocation attempts

slim bouguerra created HIVE-21689:
-------------------------------------

             Summary: Buddy Allocator memory accounting does not account for failed allocation attempts
                 Key: HIVE-21689
                 URL: https://issues.apache.org/jira/browse/HIVE-21689
             Project: Hive
          Issue Type: Bug
          Components: llap
            Reporter: slim bouguerra
            Assignee: slim bouguerra


Allocation method on Buddy Allocator, does not release the reserved memory in case we failed to allocate the full sequence.
Simple example:
Assume We have an allocation request of 1kb.
Will call reserver and reserve 1KB.
Try to allocate will fail due to race condition.
Try to discard will fail due to no space.
At this point will exit without releasing the reserved memory.




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)