You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Neovim does not release live_grep results memory.
An activity monitor (e.g. htop) shows that nvim keeps 'live_grep' results forever. Sometimes it releases 50%, but it never goes to 5%. This makes the telescope plugin unusable if you need to work with a project that has a codebase like android or bigger.
I tried invoking lua collectgarbage("collect") multiple times, but it did not help.
Description
Neovim does not release
live_grep
results memory.An activity monitor (e.g.
htop
) shows that nvim keeps 'live_grep' results forever. Sometimes it releases 50%, but it never goes to 5%. This makes the telescope plugin unusable if you need to work with a project that has a codebase like android or bigger.I tried invoking
lua collectgarbage("collect")
multiple times, but it did not help.Neovim version
Operating system and version
Pop!_OS 22.04 LTS
Telescope version / branch / rev
203bf56
checkhealth telescope
Steps to reproduce
cd $HOME/android
nvim -nu /tmp/minimal.lua
Telescope live_grep
3.1. type "l" and wait 5 minutes
3.2. close the
live_grep
windowTelescope planets
and close it - this should release cached pickerslua collectgarbage("collect")
Expected behavior
Nvim uses ~1GB of RAM or less.
Actual behavior
Nvim will consume 50GB of RAM after just 10
live_grep
attempts :(Recovery: reopen nvim
Minimal config
The text was updated successfully, but these errors were encountered: