Return-Path: X-Original-To: apmail-storm-dev-archive@minotaur.apache.org Delivered-To: apmail-storm-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 265A711FE4 for ; Fri, 4 Jul 2014 15:13:02 +0000 (UTC) Received: (qmail 80066 invoked by uid 500); 4 Jul 2014 15:13:02 -0000 Delivered-To: apmail-storm-dev-archive@storm.apache.org Received: (qmail 80012 invoked by uid 500); 4 Jul 2014 15:13:01 -0000 Mailing-List: contact dev-help@storm.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@storm.incubator.apache.org Delivered-To: mailing list dev@storm.incubator.apache.org Received: (qmail 80001 invoked by uid 99); 4 Jul 2014 15:13:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Jul 2014 15:13:01 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 04 Jul 2014 15:13:03 +0000 Received: (qmail 78609 invoked by uid 99); 4 Jul 2014 15:12:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Jul 2014 15:12:34 +0000 Date: Fri, 4 Jul 2014 15:12:33 +0000 (UTC) From: "Radim Kolar (JIRA)" To: dev@storm.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (STORM-387) Memory leak in worker MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/STORM-387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Radim Kolar resolved STORM-387. ------------------------------- Resolution: Duplicate Closing this as duplicate because STORM-339 better describes problem: Lack of flow control leads to OOM if message acking is disabled. Sadly enabling message acking means 10x lower throughput. > Memory leak in worker > --------------------- > > Key: STORM-387 > URL: https://issues.apache.org/jira/browse/STORM-387 > Project: Apache Storm (Incubating) > Issue Type: Bug > Affects Versions: 0.9.2-incubating > Environment: FreeBSD 10/i386 > Reporter: Radim Kolar > Labels: leak, qa > > There is memory leak in worker. I can reproduce it every time with following code: > https://github.com/hsn10/stormtest > worker running bolt 'rtt' only leaks memory. Deploy topology and leave it about 15 minutes running until worker is killed by supervisor due to heartbeat timeout. It timeouts because its busy running gc all the time as you can see in jconsole. > I was able to do memory dump, but due to its size jhat tool was not able to load it in reasonable time (i killed it after 30 minutes) -- This message was sent by Atlassian JIRA (v6.2#6252)