ITADN

Feedback on support/faq/vscode-out-of-memory.md

#2735OpenEcho-Lian 创建于 2025-10-03
E
Echo-Liancommented
Dear service desk,   The issue I encountered still persists, here is how i try to solve the problem: I tried solution 1 and 2 with vscode in 1.104.3, I still can't ssh puhti though vscode. Then I tried solution 3, as I downloaded a lower version of vscode (1.98), all of my extensions are not showing, as well as ssh puhti. In this case, I will not use a lower version of vscode. So if I want to use solution 1 or 2, how should i do? Below is my .bashrc file for your reference. Is there anything wrong? ``` # .bashrc # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi # User specific environment if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]] then PATH="$HOME/.local/bin:$HOME/bin:$PATH" fi export PATH # Uncomment the following line if you don't like systemctl's auto-paging feature: # User specific aliases and functions # >>> conda initialize >>> # !! Contents within this block are managed by 'conda init' !! __conda_setup="$('/scratch/project_2011553/miniconda/bin/conda' 'shell.bash' 'hook' 2> /dev/n$ if [ $? -eq 0 ]; then eval "$__conda_setup" else if [ -f "/scratch/project_2011553/miniconda/etc/profile.d/conda.sh" ]; then . "/scratch/project_2011553/miniconda/etc/profile.d/conda.sh" else export PATH="/scratch/project_2011553/miniconda/bin:$PATH" fi fi unset __conda_setup # <<< conda initialize <<< # Set LASER environment export LASER=/scratch/project_2011553/LASER export PATH=$LASER:$PATH # Function to activate both Conda and virtual environment activate_vec_laser_env() { conda activate vecalign # source /scratch/project_2011553/laser_env/bin/activate # commented out by conda initialize echo "Activated vecalign (Conda) and laser (Python venv)" } activate_laser_env() { # source /scratch/project_2011553/laser_env/bin/activate # commented out by conda initialize echo "Activated laser (Python venv)" } # Ensure correct PATH order export PATH="/scratch/project_2011553/miniconda/bin:/users/lianbaiy/.local/bin:/users/lianbai$ export NODE_OPTIONS="--disable-wasm-trap-handler" ulimit -v "$(ulimit - Hv)" ``` Here is the error log: ``` Failed to connect to the remote extension host server (Error: WrappedError(WrappedError { message: "error checking server integrity", original: "failed to run command \"/users/lianbaiy/.vscode-server/cli/servers/Stable-385651c938df8a906869babee516bffd0ddb9829.staging/server/bin/code-server --version\" (code 1): node:internal/deps/undici/undici:5829\n return await WebAssembly.instantiate(mod, {\n ^\n\nRangeError: WebAssembly.instantiate(): Out of memory: Cannot allocate Wasm memory for new instance\n at lazyllhttp (node:internal/deps/undici/undici:5829:32)\n\nNode.js v22.18.0\n" })) ```
1 条评论