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
pulumi/pulumi-azure-native causes high memory usage #53137
Comments
This comment was marked as duplicate.
This comment was marked as duplicate.
In my case it's an issue about the pulumi/pulumi-azure-native#1997 Best solution was to remove the top level import and change it to importing from the subfolders according to this comment pulumi/pulumi-azure-native#932 (comment) Increasing the memory for typescript for parsing it can also help but doesn't solve all the time. pulumi/pulumi-azure-native#1997 (comment) But I really wish VScode could have a timeout option to increase its timeout for those specific cases of big libraries. Today the abort timeout is not configurable. |
Thanks for investigating @rhuanbarreto! I've moved this over to TypeScript to see if there's anything that we can improve on the TS side (in addition to improvements to that package) It sounds like server is running out of memory here. There's no specific timeouts for analyzing big libraries |
Likely a duplicate of #50809 (comment) though (and sounds like the next steps are on pulumi) |
@mjbvz how can I profile memory usage from the ts server in vscode? I increased the memory size to 8192 and I have 64GB total but no help. I just want to find a sensible number here. |
Unfortunately 4GB is the max memory at the moment regardless of any setting: microsoft/vscode#175792 |
This issue has been marked as a 'Duplicate' and has seen no recent activity. It has been automatically closed for house-keeping purposes. |
Type: Bug
I have vs with almost no extensions enabled. Loading a TS file makes the initializing JS/TS language features to try for long time.
I enabled
"typescript.tsserver.trace": "verbose"
and this is the error:TSServer exited. Code: null. Signal: SIGABRT
VS Code version: Code 1.76.0 (Universal) (92da9481c0904c6adfe372c12da3b7748d74bdcb, 2023-03-01T10:23:45.993Z)
OS version: Darwin arm64 22.3.0
Modes:
Sandboxed: No
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
A/B Experiments
The text was updated successfully, but these errors were encountered: