lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dawid Weiss (Commented) (JIRA)" <>
Subject [jira] [Commented] (SOLR-2968) Hunspell very high memory use when loading dictionary
Date Wed, 14 Dec 2011 13:41:30 GMT


Dawid Weiss commented on SOLR-2968:

Morfologik will be exactly the same size in memory as its unzipped dictionary, so about 1.8MB
+ 3.5MB if you use both pl (morfologik) and pl-sgjp (morfeusz) dictionaries. These are fixed
dictionaries (that is unknown words won't be stemmed) but the coverage is decent for contemporary

If you explain what you're trying to do/ achieve then perhaps we'll be able to give you some
more hints.
> Hunspell very high memory use when loading dictionary
> -----------------------------------------------------
>                 Key: SOLR-2968
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 3.5
>            Reporter: Maciej Lisiewski
>            Priority: Minor
> Hunspell stemmer requires gigantic (for the task) amounts of memory to load dictionary/rules
> 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:

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message