Closed DefiantCatgirl closed 6 months ago
Good news is this reproduces. Bad news is Finnish has a lot of forms and it's hitting performance limits. I've changed an object to a map to go to line 187513, but now running into max size of Map...
With the changes in #24 it seems to stall on processing forms in the next script. Though maybe it would have gone through eventually, or maybe it will work with even more memory - I ran it with MAX_MEMORY_MB=16384
in .env
. I'll investigate further when I can.
Using that branch and MAX_MEMORY_MB=24576
the script actually succeeded within ~15 minutes! Thank you so much!
...though now the problem is that when trying to import it to Yomitan, the extension itself crashes at ~60% with "out of memory" in Edge & other chromiums, and gets stuck at 30% in Firefox. But I guess this is a known issue with large dictionaries already https://github.com/themoeway/yomitan/issues/381
Trying to convert the Finnish-to-English wiktionary dump, script freezes at "Processed 112431 lines" (changed the log step to 1) and just keeps running forever, eating up CPU but seemingly doing nothing.
Node v20, Windows 10 x64 (running via mingw64), same result on Ubuntu 20.04
(thank you very much for making this tool, this is exactly what I wanted for years)
Last processed word appears to have been
palvelusaika
but deleting it or any words around it causes the script to freeze anyway within a few lines from there.