[
https://issues.apache.org/jira/browse/FLINK-15989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated FLINK-15989:
-----------------------------------
Labels: pull-request-available (was: )
> Rewrap OutOfMemoryError in allocateUnpooledOffHeap with better message
> ----------------------------------------------------------------------
>
> Key: FLINK-15989
> URL: https://issues.apache.org/jira/browse/FLINK-15989
> Project: Flink
> Issue Type: Improvement
> Components: Runtime / Coordination
> Reporter: Andrey Zagrebin
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.10.1, 1.11.0
>
>
> Now if Flink allocates direct memory in
> MemorySegmentFactory#allocateUnpooledOffHeapMemory and its limit is exceeded
> for any reason, e.g. user code over-allocated direct memory,
> ByteBuffer#allocateDirect will throw a generic "OutOfMemoryError: Direct
> buffer memory". We can catch it and add a message which provides more
> explanation and points to an option taskmanager.memory.task.off-heap.size to
> increase as a possible solution.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)