From dev-return-27293-apmail-jackrabbit-dev-archive=jackrabbit.apache.org@jackrabbit.apache.org Mon Feb 22 12:36:51 2010 Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 55311 invoked from network); 22 Feb 2010 12:36:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Feb 2010 12:36:51 -0000 Received: (qmail 47840 invoked by uid 500); 22 Feb 2010 12:36:51 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 47773 invoked by uid 500); 22 Feb 2010 12:36:50 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 47760 invoked by uid 99); 22 Feb 2010 12:36:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Feb 2010 12:36:50 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Feb 2010 12:36:49 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4607B234C052 for ; Mon, 22 Feb 2010 04:36:28 -0800 (PST) Message-ID: <1184717161.430481266842188285.JavaMail.jira@brutus.apache.org> Date: Mon, 22 Feb 2010 12:36:28 +0000 (UTC) From: =?utf-8?Q?C=C3=A9dric_Damioli_=28JIRA=29?= To: dev@jackrabbit.apache.org Subject: [jira] Commented: (JCR-2505) High memory usage on node with multi-valued string properties In-Reply-To: <432407975.429651266838107837.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-2505?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D128366= 01#action_12836601 ]=20 C=C3=A9dric Damioli commented on JCR-2505: ------------------------------------- do you mean lucene tokenizer ? what about non-whitespace-aware tokenizers ? (is there any ? CJK maybe ?) > High memory usage on node with multi-valued string properties > ------------------------------------------------------------- > > Key: JCR-2505 > URL: https://issues.apache.org/jira/browse/JCR-2505 > Project: Jackrabbit Content Repository > Issue Type: Improvement > Components: jackrabbit-core > Reporter: Marcel Reutegger > Priority: Minor > > Multi-valued string properties are tokenized per value, which may consume= quite some memory when there are lots of small values in on a property. Th= e memory footprint is 2k per value, because each value is tokenized with a = separate tokenizer instance. That tokenizer uses a stream buffer of 2k byte= s. > Instead the values should be concatenated (whitespace separated) and then= tokenized in one go. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.