Too many files open in system (WordNet)

Hello,
I'm using the WordNet extension and dictionary for sentiment analysis. When I start the proces I receive an I/O error:
"Too many files open in system". See screenshot. Does anybody knows how to solve this?
I'm working with RapidMiner 8.1, WordNet 3.0 files and MacOS High Sierrra.
Thank you!
Hugo
Answers
-
It's been a while since I used that extension but if I remember correctly, that error is probably related to not having enough memory. There was a workaround to this that @hhomburg devised that used the Remember and Recall operators.
1 -
Hi,
the problem is not that caused by memory limitations. The problem is that you open the file every time the inner process is executed. There's a limit in the operating system for the maximum amount of opened files and you run into that.
The solution is as Thomas described: Not opening it more than once. You can open that on the outer process, so that it is just once opened, Remember it then (but before the Process Documents is started) and recall in the Process Documents loop without removing from store. If you find that ugly, you can install the Jackhammer Extension and but a Cache operator around the Open Wordnet operator. Should then be executed only once, too.
Greetings,
Sebastian
1 -
0