The italian dictionary makes 20 million entries cache files, it slows down Spell Fu #40
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Hi, creating the cache for the italian dictionary takes about 4 minutes on my system and it creates a 378 MB, 22 million lines
words_spell-fu-ispell-words-it.txt
file and a 178 MBwords_spell-fu-ispell-words-it.el.data
file. At that point, each time I enable Spell Fu Emacs hangs for a few seconds.I'm on Fedora 37, my Aspell is v. 0.60.8 and the italian dictionary is
aspell-it-2.2
from the distro's repositories. I believe it's not a problem with my italian dictionary, I've never tweaked it apart from adding a few words. Apparently it's more complex than other dictionaries, see https://superuser.com/questions/137957/how-to-convert-aspell-dictionary-to-simple-list-of-words/1636272#1636272That said, I'm a fan of your packages! :-)
The italian dictionary makes a 22 million entries cache and it slows down Spell Futo The italian dictionary makes 20 million entries cache files, it slows down Spell Fuseems like
pt_BR
has the same issue. spell-fu then has a 600+ MiB variable for it, which adds to any buffer with spell-fu mode on (checked with memory-report). So Emacs memory allocation quickly grows to multiple GiBs, leading to various issues including blocking Emacs (likely garbage collector), crashing emacs, OOM killed...Same issue here with the Italian dictionary. Find a way to circumvent the issue?
thank you
@rainbow @grese I recommend trying Jinx instead https://github.com/minad/jinx
thank you @yuuyin I give a try to Jinx