-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Increasing the limit of maximum open files causes a crash #21061
Comments
Так делать не стоит процессор может перегреться |
@sogartar Is this python specific or general VS Code? |
@karthiknadig It happens only when the Python extension is enabled. |
Please provide the logs as mentioned in the issue template. Set Output for
|
@karrtikr how do I tell vscode to log to a file without buffering? I need this since the vscode app crashes before I can copy the log from within. |
@karthiknadig Do we currently have a way to capture logs in a file in that manner, perhaps an environment variable? @sogartar Does the workspace folder you're working on contain a huge number of files? Perhaps you can use the following setting to exclude such directories: |
@sogartar Try adding this environment variable:
|
Using this I was able to generate a log before the crash.
Yes, it has many files. |
Based on logs it seems you have opened several workspace folders at the same time, is that accurate? Also, all of the watchers initialized are due to testing:
Reassigning to @eleanorjboyd but it likely looks like an issue with VS Code when watching a lot of workspace folders. The fact that testing is using a very general watcher pattern does not help either:
Maybe we could try to restrict it if possible. |
related to this issue: #21014, update should be made on what files are watched. |
Yes. |
@karrtikr and @karthiknadig, it makes sense to change the file watcher to restrict test searching in too many places. Do we have normal set of file structures we ignore such as the image below? Want to make sure I choose ones we are confident do not apply. Thanks
|
This change will be out on vscode insiders tomorrow if you want to give it a chance and see if it improves your experience! Thanks |
Type: Bug
After several seconds vscode crashes with
Sometimes instead of a crash it freezes.
Note that with a limit of 8192 open files I did not observe the crash.
Extension version: 2023.6.0
VS Code version: Code 1.77.3 (704ed70d4fd1c6bd6342c436f1ede30d1cff4710, 2023-04-12T09:16:52.732Z)
OS version: Linux x64 5.15.0-69-generic
Modes:
Sandboxed: No
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: disabled_software
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
A/B Experiments
The text was updated successfully, but these errors were encountered: