-
Notifications
You must be signed in to change notification settings - Fork 68
Description
I have Window 11 with 64GB RAM onboard. I was trying to execute the program with parameters below and got the error about insufficient memory. Also I tried to execute the program without -t, -m parameters - and the issue is the same.
cat wiki-articles.json | tantivy index -i ./wikipedia-index -t 8 -m 8000000000
Program 'tantivy.exe' failed to run: Insufficient memory to continue the execution of the program.At line:1 char:26
- ... articles.json | tantivy index -i ./wikipedia-index -t 8 -m 8000000000
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~.
At line:1 char:1
- cat wiki-articles.json | tantivy index -i ./wikipedia-index -t 8 -m 8 ...
-
+ CategoryInfo : ResourceUnavailable: (:) [], ApplicationFailedException + FullyQualifiedErrorId : NativeCommandFailed
Also tried this:
cat wiki-articles.json | tantivy index -i ./wikipedia-index -t 1 -m 36000000000
Indexing failed : InvalidArgument("The memory arena in bytes per thread cannot exceed 4293967295")
Program 'tantivy.exe' failed to run: Insufficient memory to continue the execution of the program.At line:1 char:26
- ... rticles.json | tantivy index -i ./wikipedia-index -t 1 -m 36000000000
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~.
At line:1 char:1
- cat wiki-articles.json | tantivy index -i ./wikipedia-index -t 1 -m 3 ...
-
+ CategoryInfo : ResourceUnavailable: (:) [], ApplicationFailedException + FullyQualifiedErrorId : NativeCommandFailed
And this:
cat wiki-articles.json | tantivy index -i ./wikipedia-index -t 1 -m 4293967294
Program 'tantivy.exe' failed to run: Insufficient memory to continue the execution of the program.At line:1 char:26
- ... articles.json | tantivy index -i ./wikipedia-index -t 1 -m 4293967294
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~.
At line:1 char:1
- cat wiki-articles.json | tantivy index -i ./wikipedia-index -t 1 -m 4 ...
-
+ CategoryInfo : ResourceUnavailable: (:) [], ApplicationFailedException + FullyQualifiedErrorId : NativeCommandFailed