title: Netty 4.0.19.Final Memory Leak?
body: <p>I seem to be experiencing recurring memory issues with Netty 4. My app queries Minecraft servers for information and updates a database with that information. Currently it creates 300 connection requests every 10 seconds and sends packets if those connections are successfully completed.</p>
  
  <p>A previous iteration of my querying app used Netty 3.2.5 and it ran for months on end nonstop with no issues. With Netty 4 however, it only runs a few hours before exhausting all available resources. Here is a screenshot of the memory sampling over a JMX connection.</p>
  
  <p><img src="https://i.stack.imgur.com/gzQsH.png" alt="Memory sampling results"></p>
  
  <p>As we can see, <code>io.netty.channel.ChannelOutboundBuffer$Entry</code> is using up a large amount of memory. Any idea how to go about troubleshooting this? I'm available to provide code if you guys need. Thanks!</p>
  
  <p><strong>Edit: This is not a duplicate of "How to find a Java memory leak". This has to do with Netty specifically, and I'm not trying to find out how to discover a memory leak - I've already discovered one with Netty.</strong></p>