Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 2600F200CCA for ; Wed, 19 Jul 2017 11:25:11 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 2480B16899C; Wed, 19 Jul 2017 09:25:11 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A3F27168999 for ; Wed, 19 Jul 2017 11:25:09 +0200 (CEST) Received: (qmail 7092 invoked by uid 500); 19 Jul 2017 09:25:07 -0000 Mailing-List: contact issues-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list issues@activemq.apache.org Received: (qmail 7082 invoked by uid 99); 19 Jul 2017 09:25:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jul 2017 09:25:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 5C1AD1A19B9 for ; Wed, 19 Jul 2017 09:25:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.502 X-Spam-Level: X-Spam-Status: No, score=-99.502 tagged_above=-999 required=6.31 tests=[KAM_NUMSUBJECT=0.5, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id YPSQAn-wGpfb for ; Wed, 19 Jul 2017 09:25:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 5AADA60D0E for ; Wed, 19 Jul 2017 09:25:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 83C1FE0D28 for ; Wed, 19 Jul 2017 09:25:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 23C4621E92 for ; Wed, 19 Jul 2017 09:25:00 +0000 (UTC) Date: Wed, 19 Jul 2017 09:25:00 +0000 (UTC) From: "REGINA Patrick (JIRA)" To: issues@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (ARTEMIS-1298) Memory leak with apache artemis 2.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 19 Jul 2017 09:25:11 -0000 [ https://issues.apache.org/jira/browse/ARTEMIS-1298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] REGINA Patrick updated ARTEMIS-1298: ------------------------------------ Description: !attachment-name.jpg|thumbnail!hi, With my broker Mqtt configuration, it seems a memory leak appears after 16 hours. Indeed the memory increase but each full GC and GC not release enough memory. my JAVA_ARGS=" -XX:+PrintClassHistogram -XX:+UseG1GC -XX:+AggressiveOpts -XX:+UseFastAccessorMethods -Xms512M -Xmx2G" Please found below my broker.xml : {panel:title=My broker.xml} {noformat} iotBrokerA true ASYNCIO /artemis/data/paging /artemis/data/bindings /artemis/data/journal /artemis/data/large-messages true 2 -1 160000 tcp://myserver:61616 5000 90 tcp://myserver:61616?tcpSendBufferSize=1048576;tcpReceiveBufferSize=1048576;protocols=CORE,AMQP,STOMP,HORNETQ,MQTT,OPENWIRE;useEpoll=true;amqpCredits=1000;amqpLowCredits=300 tcp://myserver:1883?tcpSendBufferSize=1048576;tcpReceiveBufferSize=1048576;protocols=MQTT;useEpoll=true tcp://myserver:8883?tcpSendBufferSize=1048576;tcpReceiveBufferSize=1048576;protocols=MQTT;useEpoll=true;sslEnabled=true;keyStorePath=/artemis/security/PROD_NC1.jks;keyStorePassword=******** AdminCluster ********** 231.7.7.7 9876 5000 artemis 231.7.7.7 9876 10000 artemis ON_DEMAND 0 true DLQ ExpiryQueue 0 -1 10 PAGE true true true true DLQ ExpiryQueue 60000 0 -1 10 PAGE true true true true
{noformat} {panel} Please find below a screen shot of the memory leak : !"D:\tmp\MemoryLeakArtemis.png"|thumbnail! Can you help me to resolve this issue was: !attachment-name.jpg|thumbnail!hi, With my broker Mqtt configuration, it seems a memory leak appears after 16 hours. Indeed the memory increase but each full GC and GC not release enough memory. my JAVA_ARGS=" -XX:+PrintClassHistogram -XX:+UseG1GC -XX:+AggressiveOpts -XX:+UseFastAccessorMethods -Xms512M -Xmx2G" Please found below my broker.xml : {panel:title=My broker.xml} {noformat} iotBrokerA true ASYNCIO /artemis/data/paging /artemis/data/bindings /artemis/data/journal /artemis/data/large-messages true 2 -1 160000 tcp://myserver:61616 5000 90 tcp://myserver:61616?tcpSendBufferSize=1048576;tcpReceiveBufferSize=1048576;protocols=CORE,AMQP,STOMP,HORNETQ,MQTT,OPENWIRE;useEpoll=true;amqpCredits=1000;amqpLowCredits=300 tcp://myserver:1883?tcpSendBufferSize=1048576;tcpReceiveBufferSize=1048576;protocols=MQTT;useEpoll=true tcp://myserver:8883?tcpSendBufferSize=1048576;tcpReceiveBufferSize=1048576;protocols=MQTT;useEpoll=true;sslEnabled=true;keyStorePath=/artemis/security/PROD_NC1.jks;keyStorePassword=******** AdminCluster ********** 231.7.7.7 9876 5000 artemis 231.7.7.7 9876 10000 artemis ON_DEMAND 0 true DLQ ExpiryQueue 0 -1 10 PAGE true true true true DLQ ExpiryQueue 60000 0 -1 10 PAGE true true true true
{noformat} {panel} Please find below a screen shot of the memory leak : !D:/tmp/MemoryLeakArtemis.png|thumbnail! Can you help me to resolve this issue > Memory leak with apache artemis 2.1.0 > ------------------------------------- > > Key: ARTEMIS-1298 > URL: https://issues.apache.org/jira/browse/ARTEMIS-1298 > Project: ActiveMQ Artemis > Issue Type: Bug > Components: MQTT > Affects Versions: 2.1.0 > Reporter: REGINA Patrick > Fix For: 2.1.0 > > > !attachment-name.jpg|thumbnail!hi, > With my broker Mqtt configuration, it seems a memory leak appears after 16 hours. > Indeed the memory increase but each full GC and GC not release enough memory. > my JAVA_ARGS=" -XX:+PrintClassHistogram -XX:+UseG1GC -XX:+AggressiveOpts -XX:+UseFastAccessorMethods -Xms512M -Xmx2G" > > Please found below my broker.xml : > {panel:title=My broker.xml} > {noformat} > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="urn:activemq /schema/artemis-configuration.xsd"> > xsi:schemaLocation="urn:activemq:core "> > iotBrokerA > true > > ASYNCIO > /artemis/data/paging > /artemis/data/bindings > /artemis/data/journal > /artemis/data/large-messages > true > 2 > -1 > > > > > > > > > > > > 160000 > > > tcp://myserver:61616 > > > 5000 > > 90 > > > > > > > tcp://myserver:61616?tcpSendBufferSize=1048576;tcpReceiveBufferSize=1048576;protocols=CORE,AMQP,STOMP,HORNETQ,MQTT,OPENWIRE;useEpoll=true;amqpCredits=1000;amqpLowCredits=300 > tcp://myserver:1883?tcpSendBufferSize=1048576;tcpReceiveBufferSize=1048576;protocols=MQTT;useEpoll=true > tcp://myserver:8883?tcpSendBufferSize=1048576;tcpReceiveBufferSize=1048576;protocols=MQTT;useEpoll=true;sslEnabled=true;keyStorePath=/artemis/security/PROD_NC1.jks;keyStorePassword=******** > > AdminCluster > > ********** > > > 231.7.7.7 > 9876 > 5000 > artemis > > > > > 231.7.7.7 > 9876 > 10000 > > > > > artemis > ON_DEMAND > 0 > > > > > > > true > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > DLQ > ExpiryQueue > 0 > > -1 > 10 > PAGE > true > true > true > true > > > > DLQ > ExpiryQueue > > > 60000 > 0 > > -1 > 10 > PAGE > true > true > true > true > > > >
> > > >
>
> > > >
>
> >
>
> >
>
> >
>
>
>
> {noformat} > {panel} > Please find below a screen shot of the memory leak : > !"D:\tmp\MemoryLeakArtemis.png"|thumbnail! > Can you help me to resolve this issue -- This message was sent by Atlassian JIRA (v6.4.14#64029)