Skip to content

Hangs / freezes when searching large directories, especially when JS files (e.g. maps) are found #49

@johnmaguire

Description

@johnmaguire

Similar to #19 but I have experienced this both with the_silver_search and ripgrep.

ripgrep on its own does not exhibit the same behavior, confirmed.

A good way to repro it is to go to ~ and run rg export. If you have many source code files scattered throughout your home directory (especially ones which contain JS files), you're likely to hit this. It will always hang just after listing a file name, prior to listing results found within that file.

Furthermore, if piping the tag command to something like | wc -l, it does not hang.

(P.S. Thanks for this tool - I've been using it for a long time, but never gotten around to posting this issue.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions