From dev-return-29680-apmail-activemq-dev-archive=activemq.apache.org@activemq.apache.org Sun Dec 4 07:21:10 2011 Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E42A49B5C for ; Sun, 4 Dec 2011 07:21:10 +0000 (UTC) Received: (qmail 7811 invoked by uid 500); 4 Dec 2011 07:21:09 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 7556 invoked by uid 500); 4 Dec 2011 07:21:07 -0000 Mailing-List: contact dev-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 dev@activemq.apache.org Received: (qmail 7528 invoked by uid 99); 4 Dec 2011 07:21:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Dec 2011 07:21:03 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Dec 2011 07:21:01 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 0F692BC19C for ; Sun, 4 Dec 2011 07:20:40 +0000 (UTC) Date: Sun, 4 Dec 2011 07:20:40 +0000 (UTC) From: "jacob hameiri (Created) (JIRA)" To: dev@activemq.apache.org Message-ID: <89150030.38235.1322983240064.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (AMQ-3618) when using openwire with cacheEnabled=false memory is wasted on unmarshallCache[] and marshallCache[] 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 when using openwire with cacheEnabled=false memory is wasted on unmarshallCache[] and marshallCache[] ----------------------------------------------------------------------------------------------------- Key: AMQ-3618 URL: https://issues.apache.org/jira/browse/AMQ-3618 Project: ActiveMQ Issue Type: Bug Reporter: jacob hameiri Priority: Minor Attachments: OpenWireFormat.patch The OpenWireFormat has 2 array fields unmarshallCache[] and marshallCache[] which together consume 256K, in case of many TopicConsumers when using FilePendingMessageCursor this causes allot of memory to be used by the OpenWire caching arrays. even if you disable caching these arrays are still created. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira