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

Adriano Crestani updated LUCENE-2556:
-------------------------------------

    Attachment: lucene_2556_adriano_crestani_07_24_2010.patch

So, if you guys think my thoughts above are OK, this is a simple patch with 
code that creates a new internal buffer strictly equals to the term length

> CharTermAttribute cloning memory consumption
> --------------------------------------------
>
>                 Key: LUCENE-2556
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2556
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Analysis
>    Affects Versions: 3.0.2
>            Reporter: Adriano Crestani
>            Assignee: Uwe Schindler
>            Priority: Minor
>             Fix For: 3.1
>
>         Attachments: CharTermAttributeMemoryConsumptionDemo.java, 
> LUCENE-2556.patch, lucene_2556_adriano_crestani_07_23_2010.patch, 
> lucene_2556_adriano_crestani_07_24_2010.patch
>
>
> The memory consumption problem with cloning a CharTermAttributeImpl object 
> was raised on thread http://markmail.org/thread/bybuerugbk5w2u6z

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to