-
Type:
Sub-task
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 3.0.0-alpha-1, 2.3.0
-
Component/s: None
-
Labels:None
-
Hadoop Flags:Reviewed
As the javadoc of ByteBuffAllocator says:
There's possible that the desired memory size is large than ByteBufferPool has, we'll downgrade to allocate ByteBuffers from heap which meaning the GC pressure may increase again. Of course, an better way is increasing the ByteBufferPool size if we detected this case.
So I think we need some messages to remind the user that an larger ByteBufferPool size may be better if the allocator allocate ByteBuffer from heap frequently.
- links to