Uploaded image for project: 'Lucy'
  1. Lucy
  2. LUCY-263

MemoryPool's Release_All() should free

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 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
    • Fix Version/s: 0.3.4, 0.4.0
    • Component/s: Index, Util
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              marvin Marvin Humphrey
              Reporter:
              marvin Marvin Humphrey
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: