-
Notifications
You must be signed in to change notification settings - Fork 29.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rg
uses too much memory
#48599
Comments
No recent changes... Can you get the command line args of that process from |
Based on
So the command is: |
I can't repro this exact case, it's weird that the package.json search would take so long since there's one in the root and so many others. But I do see it with other extensions. This repo has a ton of symlinks for node modules which probably don't need to be followed for search, and setting |
That solution only works until I open a file -- after that |
In that case does the process have the same arguments or are they different? |
I can repro the original case on Linux but I don't see
Is that any file or a certain type? .txt vs .js? |
I think we expected Of course that wouldn't help a case where there is no package.json file anyway. #34711 (comment) is relevant here. I should do that this month. |
Ran with |
Sorry, I mean |
OK, that works and I don't see |
Ok, cool that's what I expect. I'll close this as covered by BurntSushi/ripgrep#907 and #34711 (comment). |
Issue Type: Bug
Easy for me to reproduce:
git clone https://github.com/babel/babel.git
cd babel
make bootstrap
code-insiders .
View the system monitor, and the process
rg
quickly starts consuming more and more memory -- as well as 100% of my 8 cpus. If left on for more than a few seconds it will make the system unusable. (This is on Linux Mint 18.3.)I just noticed this today after updating vscode insiders. I was editing babel yesterday with no problem, so this is probably due to a recent change. Does not reproduce with vscode non-insiders. I have no extensions installed and no custom settings.
VS Code version: Code - Insiders 1.23.0-insider (b845ce9, 2018-04-24T05:12:06.211Z)
OS version: Linux x64 4.13.0-37-generic
System Info
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: disabled_software
video_decode: unavailable_software
video_encode: enabled
vpx_decode: unavailable_software
webgl: enabled
webgl2: enabled
The text was updated successfully, but these errors were encountered: