[ https://issues.apache.org/jira/browse/CASSANDRA-15223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16887287#comment-16887287 ]
Venkata Harikrishna Nukala commented on CASSANDRA-15223: -------------------------------------------------------- Made changes for 3.0 and 3.11. 3.0 changes: [https://github.com/nvharikrishna/cassandra/tree/15223-cassandra-3.0] Circle ci: [https://circleci.com/gh/nvharikrishna/cassandra/tree/15223-cassandra-3%2E0] 3.11 changes: [https://github.com/nvharikrishna/cassandra/tree/15223-cassandra-3.11] Circle ci: [https://circleci.com/gh/nvharikrishna/cassandra/tree/15223-cassandra-3%2E11] Closing the {{out}} closes the output stream passed to it (socket.getOutputStreamI()). Closing socket's output stream closes the socket too . So just closing {{out}}. > OutboundTcpConnection leaks direct memory > ----------------------------------------- > > Key: CASSANDRA-15223 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15223 > Project: Cassandra > Issue Type: Bug > Components: Messaging/Internode > Reporter: Benedict > Assignee: Venkata Harikrishna Nukala > Priority: Normal > Fix For: 3.0.x, 3.11.x > > > On disconnect we set {{out}} to null without first closing it -- This message was sent by Atlassian JIRA (v7.6.14#76016) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org