Looks like it can cause OOM:
In Drill version of `PooledByteBufAllocatorL` exists a reflective access to
`PooledByteBufAllocator.directArenas` field.
It's size depends on
` DEFAULT_NUM_DIRECT_ARENA = Math.max(0,
SystemPropertyUtil.getInt(
"io.netty.allocator.numDirectArenas",
(int) Math.min(
defaultMinNumArena,
PlatformDependent.maxDirectMemory() /
defaultChunkSize / 2 / 3)));`
Should i use a netty `PlatformDependent`, or "override" it (as
`PooledByteBufAllocatorL`) ?
[ Full content available at: https://github.com/apache/drill/pull/1446 ]
This message was relayed via gitbox.apache.org for [email protected]