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 A7A349B46 for ; Thu, 13 Sep 2012 07:53:43 +0000 (UTC) Received: (qmail 16729 invoked by uid 500); 13 Sep 2012 07:34:09 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 16688 invoked by uid 500); 13 Sep 2012 07:34:09 -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 16644 invoked by uid 99); 13 Sep 2012 07:34:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Sep 2012 07:34:07 +0000 Date: Thu, 13 Sep 2012 18:34:07 +1100 (NCT) From: "Dawid Weiss (JIRA)" To: dev@lucene.apache.org Message-ID: <633518234.73853.1347521647429.JavaMail.jiratomcat@arcas> In-Reply-To: <266998158.73846.1347521287605.JavaMail.jiratomcat@arcas> Subject: [jira] [Resolved] (LUCENE-4383) Static field memory counting and enumset fields 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-4383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dawid Weiss resolved LUCENE-4383. --------------------------------- Resolution: Fixed > Static field memory counting and enumset fields > ----------------------------------------------- > > Key: LUCENE-4383 > URL: https://issues.apache.org/jira/browse/LUCENE-4383 > Project: Lucene - Core > Issue Type: Bug > Reporter: Dawid Weiss > Assignee: Dawid Weiss > Priority: Trivial > Fix For: 5.0, 4.0 > > > The problem is that fields that point to classes go and collect the size recursively. On IBM a class object contains LOTS of references so it goes up to megabytes for a single enumset. > Another issue is that we count the same objects multiple times if they show up again referenced from different fields -- we should be counting them once only. > A temporary fix is to exclude enumsets from being counted. -- 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