[ https://issues.apache.org/jira/browse/HIVE-3008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13270134#comment-13270134 ]
Ashutosh Chauhan commented on HIVE-3008: ---------------------------------------- There is a weakhashmap which is from TTransport->TUGIContainingTransport. The map is weak so that when TTransport gets out of scope, it can be GC'ed even though map contains a reference to it. But, since TUGIContainingTransport contains a reference to TTransport, even when TTransport is out of scope otherwise, its ref is still retained. Solution is to wrap reference of TTransport in TUGIContainingTransport in WeakReference. > Memory leak in TUGIContainingTransport > -------------------------------------- > > Key: HIVE-3008 > URL: https://issues.apache.org/jira/browse/HIVE-3008 > Project: Hive > Issue Type: Bug > Components: Metastore > Affects Versions: 0.8.1, 0.9.0 > Reporter: Ashutosh Chauhan > Assignee: Ashutosh Chauhan > > Identical bug as in THRIFT-1468 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira