From users-return-50591-archive-asf-public=cust-asf.ponee.io@activemq.apache.org Wed Oct 17 13:00:59 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 2BD1D18061A for ; Wed, 17 Oct 2018 13:00:58 +0200 (CEST) Received: (qmail 72369 invoked by uid 500); 17 Oct 2018 11:00:58 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 72358 invoked by uid 99); 17 Oct 2018 11:00:57 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Oct 2018 11:00:57 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id E4D85C0CCC for ; Wed, 17 Oct 2018 11:00:56 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.487 X-Spam-Level: *** X-Spam-Status: No, score=3.487 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, NML_ADSP_CUSTOM_MED=1.2, SPF_HELO_PASS=-0.001, SPF_SOFTFAIL=0.972, URIBL_BLOCKED=0.001, URI_HEX=1.313, URI_TRY_3LD=0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id c6A3ZwRZjm6z for ; Wed, 17 Oct 2018 11:00:56 +0000 (UTC) Received: from n4.nabble.com (n4.nabble.com [199.38.86.66]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 76E635F1CF for ; Wed, 17 Oct 2018 11:00:55 +0000 (UTC) Received: from n4.nabble.com (localhost [127.0.0.1]) by n4.nabble.com (Postfix) with ESMTP id 77A7F255F432 for ; Wed, 17 Oct 2018 06:00:48 -0500 (CDT) Date: Wed, 17 Oct 2018 06:00:48 -0500 (CDT) From: "art.licis" To: users@activemq.apache.org Message-ID: <1539774048426-0.post@n4.nabble.com> In-Reply-To: <1539612383680-0.post@n4.nabble.com> References: <1539612383680-0.post@n4.nabble.com> Subject: Re: memory leak MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, From the side, it does look like pending messages accumulated in memory because of a slow or blocked subscriber. Since you have heap dump, you should look at this specific TopicSubscription object just to make sure you don't have actually a consumer subscribed to some of your topics, but not accepting messages (e.g., a consumer created but no listener attached). Within TopicSubscription you'll have destination info, consumer info, and some other useful data that could indicate the cause of your issue. On a side note, it looks like you are using VM Cursor, which was the main cursor type prior to version 5. It holds pending messages in memory, thus can cause OOM. By default, 5.x would use Store cursor avoiding memory issues. You can read more about it here: http://activemq.apache.org/message-cursors.html .. and I would advise not using VM Cursor. - Art -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html