<p>What about a resource pool with an expiration policy? </p>
<p>--<br>
Marc-André Laverdiere<br>
Sent from a mobile device. Please excuse the brevity </p>
<div class="gmail_quote">On 25-Aug-2011 6:49 AM, "이희승 (Trustin Lee)" <<a href="mailto:trustin@gmail.com">trustin@gmail.com</a>> wrote:<br type="attribution">> I am aware of this issue and actually was thinking about what the best solution would be. Thank you for sharing your idea. If anyone has other ideas, please let me know.<br>
> <br>> Thanks <br>> <br>> -- <br>> Trustin Lee (<a href="http://gleamynode.net/">http://gleamynode.net/</a>)<br>> <br>> On Wednesday, August 24, 2011 at 10:24 PM, Thibaut wrote:<br>> <br>>> Sometimes we make concurrent larger requests (> 30 MB) through elasticsearch<br>
>> and the buffers are still kept afterwards, even though we don't use them<br>>> anymore afterwards. This causes us to have more than 400 MB of allocated<br>>> buffers in our heap which we don't use.<br>
>> <br>>> It would be great if it would be possible to drop the allocated buffers<br>>> after they are not used for a while anymore. Or even reduce the buffer size<br>>> if the last 100 requests were more than of a factor of 2 smaller than the<br>
>> largest request.<br>>> <br>>> <br>>> <br>>> <br>>> --<br>>> View this message in context: <a href="http://netty-forums-and-mailing-lists.685743.n2.nabble.com/FrameDecoder-and-cumulation-size-tp6596595p6720135.html">http://netty-forums-and-mailing-lists.685743.n2.nabble.com/FrameDecoder-and-cumulation-size-tp6596595p6720135.html</a><br>
>> Sent from the Netty User Group mailing list archive at Nabble.com (<a href="http://Nabble.com">http://Nabble.com</a>).<br>>> _______________________________________________<br>>> netty-users mailing list<br>
>> <a href="mailto:netty-users@lists.jboss.org">netty-users@lists.jboss.org</a> (mailto:<a href="mailto:netty-users@lists.jboss.org">netty-users@lists.jboss.org</a>)<br>>> <a href="https://lists.jboss.org/mailman/listinfo/netty-users">https://lists.jboss.org/mailman/listinfo/netty-users</a><br>
> <br></div>