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
When the nx workspace is refreshed whenever there is a change in code, a process called Code Helper Plugin is spun up, but does not get removed even after additional changes. Over more changes, more Code Helper Plugins get accumulated and my memory usage drastical increases, consuming 30~40 gb, which eventually crashes my system.
My system is an macbook pro m1 max with 16GB memory. The current NX version is 19.8.4 and the NX console version is 18.3.4
Extension version: 18.34.0
VS Code version: Code 1.96.2 (fabdb6a30b49f79a7aba0f2ad9df9b399473380f, 2024-12-19T10:22:47.216Z)
OS version: Darwin arm64 23.5.0
Modes:
Hey! Sorry to hear this.
Can you provide the following
a minimal reproduction repo where you run into this. It might be related to some specific circumstances in your repo so if you can share some code where you run into this, please create a repo with it. If there is one repo where this happens and another where it doesn't, that's valuable information as well!
your nx report results
your logs from Output -> Nx Language Server & daemon.log
I have had the same issues with my VSCode extension in November and December, but I was very busy with other stuff and simply deactivated the plugin. A colleague of mine who uses IntelliJ has sent me these screenshots that show the same behaviour (heavy memory usage, and many processes (and threads) spawned).
I will try to use the plugin again and monitor the computer, but the difficulty is that you typically don't notice until the computer is very slow, and then it's too late to run any command. Only option is to restart the laptop. I hope I have the chance to provide you with more info, but it'd be great if you guys could already take a look, because the IDE plugin is really helpful since we have "crystallised" all of our Nx plugins.
The processes you see are the result of grepping the PID he saw in the activity monitor. They are not from the same moment, so PID doesn't match (it was 25259 instead of 57236).
Type: Bug
When the nx workspace is refreshed whenever there is a change in code, a process called Code Helper Plugin is spun up, but does not get removed even after additional changes. Over more changes, more Code Helper Plugins get accumulated and my memory usage drastical increases, consuming 30~40 gb, which eventually crashes my system.
My system is an macbook pro m1 max with 16GB memory. The current NX version is 19.8.4 and the NX console version is 18.3.4
Extension version: 18.34.0
VS Code version: Code 1.96.2 (fabdb6a30b49f79a7aba0f2ad9df9b399473380f, 2024-12-19T10:22:47.216Z)
OS version: Darwin arm64 23.5.0
Modes:
System Info
canvas_oop_rasterization: enabled_on
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_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
A/B Experiments
The text was updated successfully, but these errors were encountered: