You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Commit Tag Bot (JIRA)" <ji...@apache.org> on 2013/03/22 17:41:22 UTC

[jira] [Commented] (LUCENE-4383) Static field memory counting and enumset fields

    [ https://issues.apache.org/jira/browse/LUCENE-4383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13610866#comment-13610866 ] 

Commit Tag Bot commented on LUCENE-4383:
----------------------------------------

[branch_4x commit] Dawid Weiss
http://svn.apache.org/viewvc?view=revision&revision=1384224

LUCENE-4383: fixes to static memory leak accounting.

                
> 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: 4.0, 5.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