Thank you so much. The error message provides a very clear diagnosis:
The core of the problem is: RangeError: WebAssembly.instantiate(): Out of memory: Cannot allocate Wasm memory for new instance
This indicates that the VSCode server, when trying to launch on your remote machine, is running out of memory. Specifically, it's failing to allocate WebAssembly (Wasm) memory, which is used by Node.js (v22.15.1, as indicated) to run parts of the VSCode server.
Even though your df -h might show plenty of disk space, this is a RAM (Random Access Memory) issue on the remote server.
It seems your local VSCode updated on June 11, 2025, to Version 1.101.0. This is a very recent version. It's possible that this new version of the VSCode server, along with its bundled Node.js v22.15.1, has a higher memory requirement than previous versions, or there's a memory leak/inefficiency on your specific remote server's setup with this new server version.
The fact that the Remote-SSH icon isn't showing up after reinstalling suggests the extension isn't fully initializing or is hitting this server-side error immediately.
Primary Solution: Address Remote Server Memory
Contact your System Administrator/University IT (CS Department Help Desk): This is the most direct and likely solution.
Show them the exact error message (copy and paste it, or show the screenshot).
Explain that the VSCode remote server is failing with an "Out of memory: Cannot allocate Wasm memory" error.
Request an increase in memory allocation for your user process on the remote server, or inquire if there are any per-user memory limits (ulimits) that could be adjusted.
Explain that this started after a recent VSCode update, suggesting the new server version might require more RAM.
Ask if they can check the server's overall memory usage and any per-user resource limits.
Why this is crucial: If the server genuinely doesn't have enough available RAM for your user's processes or if there are strict memory limits imposed on individual users, there's little you can do on your end.
Secondary Troubleshooting Steps (while waiting for IT):
Even though the error points to memory, let's try some things on your end that might help if the memory issue is borderline or if there's a cached process causing issues.
Crucial: Force-Clean the Remote VSCode Server Installation (Again):
Connect to your remote server via SSH from your local terminal.
Ensure VSCode is completely closed on your local machine.
Run these commands:
Bash
cd ~
rm -rf ~/.vscode-server
Optional: Clean the server's cache as well, just in case
rm -rf ~/.vscode-server-insiders # If you ever used insiders build
rm -rf ~/.vscode-server-ipcs # IPC files
Now, try to manually kill any lingering Node.js processes or code-server processes that might still be running and consuming memory.
Bash
ps aux | grep node
ps aux | grep code-server
For each relevant process you find (especially those tied to your user or port), kill it:
kill -9 <PID>
Log out of the remote SSH session.
Restart VSCode on your local machine and try connecting. This will force VSCode to redownload and try to install the server from scratch. If the memory issue is very tight, this might still fail, but it's important to start clean.
Check Remote Server's Available Memory & Ulimits (if you have permission):
SSH into your remote server.
Run free -h to see the overall memory usage on the server.
Run ulimit -a to see your user's current resource limits. Look specifically for max memory size (kbytes) or virtual memory (kbytes). If these are set to a low value, this confirms the memory limit is the issue.
Consider Downgrading VSCode (as a last resort if IT cannot help quickly):
If your university IT cannot immediately increase your memory limits or resolve the issue on the server, a temporary workaround might be to downgrade your local VSCode client to an older version that bundled a less memory-intensive server, or an older Node.js version.
You can find older VSCode .exe or .deb/.rpm files on the official VSCode releases page: https://code.visualstudio.com/updates/v1_xx (replace xx with a version number).
You'd need to uninstall your current VSCode (make sure to back up any settings/extensions if you care about them, though re-installing extensions is easy) and then install an older version. You might want to try 1.98.x or even 1.97.x. Be aware that downgrading can sometimes introduce other issues or prevent you from getting the latest features/bug fixes.
Let me know what your helpdesk says, or if you encounter any other specific errors during these steps.