Details
-
Improvement
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
1.10.0, 1.10.1, 1.10.2, 1.11.0, 1.11.1
Description
Now, the default blocking BoundedData is FileChannelBoundedData. In its reader, will create new direct buffer 64KB.
When parallelism greater than 100, users need configure "taskmanager.memory.task.off-heap.size" to avoid direct memory OOM. It is hard to configure, and it cost a lot of memory. Consider 1000 parallelism, maybe we need 1GB+ for a task manager.
This is not conducive to the scenario of less slots and large parallelism. Batch jobs could run little by little, but memory shortage would consume a lot.
If we provided N-Input operators, maybe things will be worse. This means the number of subpartitions that can be requested at the same time will be more. We have no idea how much memory.
Here are my rough thoughts:
- Obtain memory from network buffers.
- provide "The maximum number of subpartitions that can be requested at the same time".
Attachments
Issue Links
- is related to
-
FLINK-15989 Rewrap OutOfMemoryError in allocateUnpooledOffHeap with better message
-
- Closed
-
- links to
- mentioned in
-
Page Loading...