Remote Extension host terminated unexpectedly 3 times within the last 5 minutes

Describe the Bug

After a Cursor update about two weeks ago, I started seeing the message “Remote Extension host terminated unexpectedly 3 times within the last 5 minutes” whenever I connect via Remote SSH.

In the Remote-SSH output logs, the crash is accompanied by:

RangeError: WebAssembly.instantiate(): Out of memory: Cannot allocate Wasm memory for new instance occurring in lazyllhttp / undici.

I have tried removing the remote server directory (~/.cursor-server) so it can reinstall, but the issue persists. I also disabled/uninstalled all extensions, with no improvement.

This is unexpected because Cursor previously worked on the same remote host with the same resource limits and the same workflow, and the problem started only after the update.

cursor versio: “2.2.20”

Steps to Reproduce

I think it is specific to my case, update, and cursor version.

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.2.20
VSCode Version: 1.105.1
Commit: b3573281c4775bfc6bba466bf6563d3d498d1070
Date: 2025-12-12T06:29:26.017Z (14 hrs ago)
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 24.4.0

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey, thanks for the report.

For further diagnostics, could you please share:

  1. Memory limits on the remote server:

    • Run ulimit -a and free -h on the remote host
    • What’s the server architecture? (uname -m)
  2. Full Remote-SSH logs:

    • View > Output > select “Remote-SSH” in the dropdown
    • Copy logs from the start of the connection to the crash

The WebAssembly Out of Memory error in undici/lazyllhttp suggests the remote server hit memory limits while initializing the extension host. This looks like a regression after an update, since it previously worked with the same resources.

The team will assess whether we can optimize memory usage for Remote SSH connections.

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.