Skip to content

rg uses too much memory #48599

@ghost

Description

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
Item Value
CPUs Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz (8 x 2600)
GPU Status 2d_canvas: enabled
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
Load (avg) 4, 4, 3
Memory (System) 7.63GB (1.57GB free)
Process Argv /usr/share/code-insiders/code-insiders .
Screen Reader no
VM 0%
Extensions: none

Metadata

Metadata

Assignees

Labels

info-neededIssue requires more information from poster

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions