arrow-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deneche A. Hakim (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ARROW-1084) Implementations of BufferAllocator should handle Netty's OutOfDirectMemoryError
Date Fri, 02 Jun 2017 16:42:04 GMT
Deneche A. Hakim created ARROW-1084:
---------------------------------------

             Summary: Implementations of BufferAllocator should handle Netty's OutOfDirectMemoryError
                 Key: ARROW-1084
                 URL: https://issues.apache.org/jira/browse/ARROW-1084
             Project: Apache Arrow
          Issue Type: Task
          Components: Java - Memory
            Reporter: Deneche A. Hakim
            Assignee: Deneche A. Hakim
            Priority: Minor


Implementations of BufferAllocator.buffer(...) are expected to throw an OutOfMemoryException
if the buffer cannot be allocated. There are multiple reasons for that:
- allocator exceeded it's memory limit
- Netty exceeded it's direct memory limit
- the System is enable to fulfill Netty's request for more direct memory

For now only the first case throws an OutOfMemoryException. The second throws an OutOfDirectMemoryError,
and the third an OutOfMemoryError with the "Direct buffer memory" error message.




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message