[ 
https://issues.apache.org/jira/browse/LUCENE-3059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael McCandless updated LUCENE-3059:
---------------------------------------

    Attachment: LUCENE-3059.patch

Patch.  I fixed PulsingTermState's clone to make a new PulsingTerm
state and then copy (like we do for StandardCodec).  I did the same
for SepCodec, though I don't think that one is leaking memory.


> PulsingTermState.clone leaks memory
> -----------------------------------
>
>                 Key: LUCENE-3059
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3059
>             Project: Lucene - Java
>          Issue Type: Bug
>    Affects Versions: 4.0
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: 4.0
>
>         Attachments: LUCENE-3059.patch
>
>
> I looked at the heap dump from the OOME this morning (thank you Uwe
> for turning this on!), and I think it's a real memory leak.
> Well, not really a leak; rather, the cloned PulsingTermState, which we
> cache in the terms dict cache, is hanging onto large byte[]
> unnecessarily.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to