Insufficient memory to continue the execution of the program

Open
#111 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
rust
Domain
cli

Research direction

Start by reproducing the reported tantivy index commands on Windows 11 with the cited -t and -m values, using wiki-articles.json as input. Compare the failures at the command boundary and verify that a supported memory configuration completes indexing without the reported errors.

Written by the indexing model from the issue text.

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
    
    
    
Dominant language
Rust
Stars
404
Forks
70
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from quickwit-oss/tantivy-cli

All issues in quickwit-oss/tantivy-cli

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.