Lucene - Core
  1. Lucene - Core
  2. LUCENE-5468

Hunspell very high memory use when loading dictionary

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 3.5
    • Fix Version/s: 4.8, 5.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Hunspell stemmer requires gigantic (for the task) amounts of memory to load dictionary/rules files.
      For example loading a 4.5 MB polish dictionary (with empty index!) will cause whole core to crash with various out of memory errors unless you set max heap size close to 2GB or more.
      By comparison Stempel using the same dictionary file works just fine with 1/8 of that (and possibly lower values as well).

      Sample error log entries:
      http://pastebin.com/fSrdd5W1
      http://pastebin.com/Lmi0re7Z

      1. LUCENE-5468.patch
        239 kB
        Robert Muir
      2. patch.txt
        15 kB
        Robert Muir

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Maciej Lisiewski
          • Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development