what about NioEventLoop taskQueue size limit

47 views
Skip to first unread message

you fu

unread,
Oct 19, 2017, 4:27:16 AM10/19/17
to Netty discussions
hello
  My application occurred fgc,so dump the memory and analyze .
 find the NioEventLoop instance variable taskQueue 's retained size is 1G+(detail in attach), so the taskQueue is the cause.

two question
 1. I read the NioEventLoop source code ,the taskQueue not limit the size,so Application how to limit the taskQueue size?
  2. any idea to confirm what task add taskQueue? 



TB156CynRUSMeJjy1zkXXaWmpXa.png

you fu

unread,
Oct 19, 2017, 11:20:11 AM10/19/17
to Netty discussions

the detail info by mat.
test.png

Norman Maurer

unread,
Oct 23, 2017, 12:21:34 AM10/23/17
to ne...@googlegroups.com
You can limit the size of the task queue:


This is also exposed via the *EventLoopGroup implementations.

--
You received this message because you are subscribed to the Google Groups "Netty discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netty+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/netty/2f5dee8b-2f44-44f0-8f8e-81400a1871cf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<test.png>

Reply all
Reply to author
Forward
0 new messages