Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3AFFB108DF for ; Mon, 23 Sep 2013 21:03:07 +0000 (UTC) Received: (qmail 189 invoked by uid 500); 23 Sep 2013 21:03:04 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 99984 invoked by uid 500); 23 Sep 2013 21:03:03 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 99965 invoked by uid 500); 23 Sep 2013 21:03:03 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 99944 invoked by uid 99); 23 Sep 2013 21:03:03 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Sep 2013 21:03:03 +0000 Date: Mon, 23 Sep 2013 21:03:03 +0000 (UTC) From: "Gopal V (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-5345) Operator::close() leaks Operator::out, holding reference to buffers MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-5345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gopal V updated HIVE-5345: -------------------------- Release Note: Prevent OutputCollector leaks from an Operator by clearing the Operator::out reference on close() Status: Patch Available (was: Open) > Operator::close() leaks Operator::out, holding reference to buffers > ------------------------------------------------------------------- > > Key: HIVE-5345 > URL: https://issues.apache.org/jira/browse/HIVE-5345 > Project: Hive > Issue Type: Bug > Components: Query Processor > Affects Versions: 0.13.0 > Environment: Ubuntu, LXC, jdk6-x86_64 > Reporter: Gopal V > Assignee: Gopal V > Labels: memory-leak > Attachments: HIVE-5345.01.patch, out-leak.png > > > When processing multiple splits on the same operator pipeline, the output collector in Operator has a held reference, which causes issues. > Operator::close() does not de-reference the OutputCollector object Operator::out held by the object. > This means that trying to allocate space for a new OutputCollector causes an OOM because the old one is still reachable. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira