cursor
cursor copied to clipboard
Opening a file from the command line crashes cursor: JS heap out of memory
I opened a TOML file from the command line that caused a crash related to running out of memory on the JS heap. System info at the bottom. Attempting to open the file a second time was successful (no crash or error).
❯ cursor pyproject.toml
<--- Last few GCs --->
[952647:0x5f4002e8000] 626 ms: Mark-Compact (reduce) 5.0 (14.7) -> 4.9 (6.7) MB, pooled: 0 MB, 7.28 / 0.00 ms (average mu = 0.631, current mu = 0.009) last resort; GC in old space requested
[952647:0x5f4002e8000] 631 ms: Mark-Compact (reduce) 4.9 (6.7) -> 4.9 (6.4) MB, pooled: 0 MB, 4.37 / 0.00 ms (average mu = 0.502, current mu = 0.003) last resort; GC in old space requested
<--- JS stacktrace --->
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
/var/home/fonnesbeck/.local/bin/cursor: line 57: 952647 Aborted (core dumped) "$CURSOR_APPIMAGE" "$@"
Version: 0.39.0 VSCode Version: 1.91.1 Commit: 67685f6d849a40497339e3f7bc51bcc54208f410 Date: 2024-08-02T07:37:19.753Z Electron: 29.4.0 ElectronBuildId: undefined Chromium: 122.0.6261.156 Node.js: 20.9.0 V8: 12.2.281.27-electron.0 OS: Linux x64 6.9.7-100.fc39.x86_64