[
https://issues.apache.org/jira/browse/LUCY-263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marvin Humphrey resolved LUCY-263.
----------------------------------
Resolution: Fixed
Committed to both master and 0.3.
> MemoryPool's Release_All() should free
> --------------------------------------
>
> Key: LUCY-263
> URL: https://issues.apache.org/jira/browse/LUCY-263
> Project: Lucy
> Issue Type: Bug
> Components: Index, Util
> Affects Versions: 0.1.0 (incubating), 0.2.0 (incubating), 0.2.1
> (incubating), 0.2.2 (incubating), 0.3.0 (incubating), 0.3.1, 0.3.2, 0.3.3
> Reporter: Marvin Humphrey
> Assignee: Marvin Humphrey
> Fix For: 0.3.4, 0.4.0
>
>
> The MemoryPool method Release_All() was originally conceived to allow
> reuse of arena memory after being invoked, but that is not how it is
> being used -- existing call sites in PostingListWriter, SortWriter and
> SortFieldWriter expect the memory to be freed, resulting in memory
> leaks. This phenomenon is probably behind out-of-memory issues which
> may occur on lengthy indexing sessions. To fix these problems, the most
> straightforward approach is to change the behavior of Release_All() to
> free memory.
--
This message was sent by Atlassian JIRA
(v6.2#6252)