Return-Path: X-Original-To: apmail-activemq-issues-archive@minotaur.apache.org Delivered-To: apmail-activemq-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 46A3818EED for ; Tue, 24 Nov 2015 02:43:11 +0000 (UTC) Received: (qmail 82305 invoked by uid 500); 24 Nov 2015 02:43:11 -0000 Delivered-To: apmail-activemq-issues-archive@activemq.apache.org Received: (qmail 82214 invoked by uid 500); 24 Nov 2015 02:43:11 -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 82189 invoked by uid 99); 24 Nov 2015 02:43:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Nov 2015 02:43:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 13D3F2C1F5A for ; Tue, 24 Nov 2015 02:43:11 +0000 (UTC) Date: Tue, 24 Nov 2015 02:43:11 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ARTEMIS-201) Log warning if server can crash on OutOfMemory due to "misconfiguration" 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/ARTEMIS-201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15023644#comment-15023644 ] ASF GitHub Bot commented on ARTEMIS-201: ---------------------------------------- Github user asfgit closed the pull request at: https://github.com/apache/activemq-artemis/pull/245 > Log warning if server can crash on OutOfMemory due to "misconfiguration" > ------------------------------------------------------------------------ > > Key: ARTEMIS-201 > URL: https://issues.apache.org/jira/browse/ARTEMIS-201 > Project: ActiveMQ Artemis > Issue Type: New Feature > Components: Broker > Affects Versions: 1.0.0 > Reporter: Miroslav Novak > Assignee: Justin Bertram > Fix For: 1.1.1 > > > Imagine situation where server is started with 3000 destinations and max-size-bytes is set to 10MB. This would mean that JVM would have to be started with at least 30GB of memory to prevent OOM in case that all destinations get filled up. (PAGE mode is not a solution in this case as it starts once destination exceeds 10MB in memory) > Purpose of this jira is to provide check which would print warning in case that such OOM can happen. This check would be executed during start of server and then with adding any destination at runtime. -- This message was sent by Atlassian JIRA (v6.3.4#6332)