Skip to content
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

Extension causes JS heap allocation failure #166

Open
emroch opened this issue May 25, 2022 · 2 comments
Open

Extension causes JS heap allocation failure #166

emroch opened this issue May 25, 2022 · 2 comments

Comments

@emroch
Copy link

emroch commented May 25, 2022

Issue Type: Bug

I have an SSH Remote workspace with many SV files in it. When enabled, this extension begins acquiring memory and eventually faults when the JS heap size is exceeded. I only have 3 SV files open in the workspace, but there are hundreds if not thousands in the whole workspace. The extension did not crash until today, though I have not been monitoring its memory usage so it is possible it was always using a lot and only now is bumping up against the limit. The remote machine I am running on has 8GB ram and the extension host uses about 2.2GB before crashing.

Extension version: 0.13.2
VS Code version: Code 1.67.2 (c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5, 2022-05-17T18:20:57.384Z)
OS version: Darwin x64 21.3.0
Restricted Mode: No
Connection to 'ssh-remote+aus-eroch01' could not be established

System Info
Item Value
CPUs Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz (16 x 2300)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 3, 3, 2
Memory (System) 16.00GB (0.72GB free)
Process Argv --crash-reporter-id 31303ca5-7d04-4a93-b6ab-f413410a38ff
Screen Reader no
VM 0%

Connection to 'ssh-remote+aus-eroch01' could not be established

@joecrop
Copy link
Collaborator

joecrop commented May 27, 2022

Hi @emroch have you tried adjusting the settings based on the recommendations section of the readme?

@apippin
Copy link

apippin commented Aug 12, 2022

I'm seeing the same error. I have tried adjusting the settings based on the recommendations section. We need a way to increase the heap memory size to enable us to use this extension on very large designs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants