Return-Path: X-Original-To: apmail-activemq-commits-archive@www.apache.org Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C1D2610382 for ; Tue, 18 Feb 2014 14:48:26 +0000 (UTC) Received: (qmail 79007 invoked by uid 500); 18 Feb 2014 14:48:25 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 78883 invoked by uid 500); 18 Feb 2014 14:48:22 -0000 Mailing-List: contact commits-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 commits@activemq.apache.org Received: (qmail 78824 invoked by uid 99); 18 Feb 2014 14:48:19 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Feb 2014 14:48:19 +0000 Date: Tue, 18 Feb 2014 14:48:19 +0000 (UTC) From: "Hiram Chirino (JIRA)" To: commits@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (APLO-351) out of memory 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/APLO-351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13904100#comment-13904100 ] Hiram Chirino commented on APLO-351: ------------------------------------ How many client can you connect without getting the OOM? > out of memory > ------------- > > Key: APLO-351 > URL: https://issues.apache.org/jira/browse/APLO-351 > Project: ActiveMQ Apollo > Issue Type: Bug > Components: apollo-broker > Affects Versions: 1.6 > Reporter: oscar > Attachments: 18AADBAA-5058-4344-AAC0-D1C51891C194.png, 37DF6BCA-9707-4583-943D-C0D0B6408FDD.png, 8ADF01D2-47BB-4666-8D40-145BBC55B593.png > > > use apollo + mqtt to publish message,but when have 100,000 clients, the apollo.log prints: > 2014-02-18 19:31:28,475 | WARN | java.lang.OutOfMemoryError: Java heap space | 14444b747fc > 2014-02-18 19:31:28,475 | WARN | java.lang.OutOfMemoryError: Java heap space | 14444b747fd > 2014-02-18 19:31:35,422 | WARN | java.lang.OutOfMemoryError: Java heap space | 14444b747fe > 2014-02-18 19:31:41,703 | WARN | java.lang.OutOfMemoryError: GC overhead limit exceeded | 14444b747ff > 2014-02-18 19:31:54,934 | WARN | java.lang.OutOfMemoryError: GC overhead limit exceeded | 14444b74800 > 2014-02-18 19:32:07,494 | WARN | java.lang.OutOfMemoryError: Java heap space | 14444b74803 > 2014-02-18 19:32:01,211 | WARN | java.lang.OutOfMemoryError: Java heap space | 14444b74802 > 2014-02-18 19:32:01,211 | WARN | java.lang.OutOfMemoryError: Java heap space | 14444b74801 > use export JVM_FLAGS="-server -Xmx3G -Xms1G" in apollo-service > my system is linux (CentOS 6.5),32G memory,8 cpus -- This message was sent by Atlassian JIRA (v6.1.5#6160)