Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-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 29F8EDEF8 for ; Wed, 31 Oct 2012 14:25:17 +0000 (UTC) Received: (qmail 97072 invoked by uid 500); 31 Oct 2012 14:25:15 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 97012 invoked by uid 500); 31 Oct 2012 14:25:14 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 96384 invoked by uid 99); 31 Oct 2012 14:25:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Oct 2012 14:25:13 +0000 Date: Wed, 31 Oct 2012 14:25:13 +0000 (UTC) From: "Alan Woodward (JIRA)" To: dev@lucene.apache.org Message-ID: <129112755.50508.1351693513158.JavaMail.jiratomcat@arcas> In-Reply-To: <209220603.49934.1351684152005.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (LUCENE-4515) Make MemoryIndex more memory efficient 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/LUCENE-4515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13487817#comment-13487817 ] Alan Woodward commented on LUCENE-4515: --------------------------------------- We use MemoryIndex for monitoring, very similar to the ES percolator, running lots of queries over individual documents in a queue. We've occasionally had GC issues with this, so anything that makes the garbage collector happier is good for us. > Make MemoryIndex more memory efficient > -------------------------------------- > > Key: LUCENE-4515 > URL: https://issues.apache.org/jira/browse/LUCENE-4515 > Project: Lucene - Core > Issue Type: Improvement > Components: modules/other > Affects Versions: 4.0, 4.1, 5.0 > Reporter: Simon Willnauer > Fix For: 4.1, 5.0 > > Attachments: LUCENE-4515.patch > > > Currently MemoryIndex uses BytesRef objects to represent terms and holds an int[] per term per field to represent postings. For highlighting this creates a ton of objects for each search that 1. need to be GCed and 2. can't be reused. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org