I am new to the netty API and I use netty3.5.2 to develop a client and server communication server, but the application always runs the full GC. I use jmap to reset the memory and use jhat to show which object took up memory.
And there are 6413363 instances of DefaultChannelFuture . can someone tell which thread creates instances of DefaultChannelFuture and how and when will they be released?
Top 4 suspects
6413363 instances of class org.jboss.netty.channel.DefaultChannelFuture
631971 instances of class org.jboss.netty.util.internal.LinkedTransferQueue$Node
630934 instances of class org.jboss.netty.buffer.BigEndianHeapChannelBuffer
630767 instances of class org.jboss.netty.channel.DownStreamMessageEvent
source share