Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
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.
Attachments
Issue Links
- relates to
-
FLINK-13980 FLIP-49 Unified Memory Configuration for TaskExecutors
- Resolved
-
FLINK-15981 Control the direct memory in FileChannelBoundedData.FileBufferReader
- Closed
- links to