DEFAULT_NUM_DIRECT_ARENA

15 views
Skip to first unread message

Derek Troy-West

unread,
Aug 10, 2016, 6:20:00 AM8/10/16
to Netty discussions
The calculation of DEFAULT_NUM_DIRECT_ARENA includes the following comment:

// Assuming each arena has 3 chunks, the pool should not consume more than 50% of max memory.

Is it considered an error for a PoolArena to have more than 3 PoolChunks? I have a fairly simple reproducer for PoolArena greater than 3 chunks, leading to Direct Memory OOM errors. I'm not entirely sure if that's my misconfiguration, or a bug.

Derek
Reply all
Reply to author
Forward
0 new messages