Skip to content

Insufficient memory to continue the execution of the program #111

@Prokhozhijj

Description

@Prokhozhijj

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
    
    
    

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions