Fatal Error thrown in Output

Describe the Bug

In Output, when Cursor is indexing files, it tells me that is is struggling with size of directory. I’m in Users//Cursor Projects/. The output hits a non-existent file from a Proton VPN installation. The output then throws a fatal error, there are multiple messages enclosed. This is documented in ‘steps to reproduce’. There is no access to agent at this point

Steps to Reproduce

2025-06-18 12:13:44.211 [info] [Warn - 12:13:44] (2158) Skipping recursive symlink “file:///Users/wpearson/Library/Containers/com.apple.CaptiveNetworkAssistant/Data/Library/WebKit/WebsiteData/IndexedDB/v0” → “file:///Users/wpearson/Library/Containers/com.apple.CaptiveNetworkAssistant/Data/Library/WebKit/WebsiteData/IndexedDB”
2025-06-18 12:14:00.322 [info]
<— Last few GCs —>

[2158:0x100004b0000] 50571 ms: Scavenge 4043.6 (4055.0) → 4039.7 (4056.0) MB, pooled: 0 MB, 4.08 / 0.00 ms (average mu = 0.822, current mu = 0.698) allocation failure;
[2158:0x100004b0000] 50592 ms: Scavenge 4045.2 (4056.0) → 4041.5 (4056.0) MB, pooled: 0 MB, 7.75 / 0.00 ms (average mu = 0.822, current mu = 0.698) allocation failure;

<— JS stacktrace —>

FATAL ERROR: MarkCompactCollector: young object promotion failed Allocation failed - JavaScript heap out of memory
----- Native stack trace -----

<— Last few GCs —>

[2158:0x100004b0000] 50571 ms: Scavenge 4043.6 (4055.0) → 4039.7 (4056.0) MB, pooled: 0 MB, 4.08 / 0.00 ms (average mu = 0.822, current mu = 0.698) allocation failure;
[2158:0x100004b0000] 50592 ms: Scavenge 4045.2 (4056.0) → 4041.5 (4056.0) MB, pooled: 0 MB, 7.75 / 0.00 ms (average mu = 0.822, current mu = 0.698) allocation failure;

<— JS stacktrace —>

FATAL ERROR: MarkCompactCollector: young object promotion failed Allocation failed - JavaScript heap out of memory
----- Native stack trace -----

<— Last few GCs —>

[2158:0x100004b0000] 50571 ms: Scavenge 4043.6 (4055.0) → 4039.7 (4056.0) MB, pooled: 0 MB, 4.08 / 0.00 ms (average mu = 0.822, current mu = 0.698) allocation failure;
[2158:0x100004b0000] 50592 ms: Scavenge 4045.2 (4056.0) → 4041.5 (4056.0) MB, pooled: 0 MB, 7.75 / 0.00 ms (average mu = 0.822, current mu = 0.698) allocation failure;

<— JS stacktrace —>

FATAL ERROR: MarkCompactCollector: young object promotion failed Allocation failed - JavaScript heap out of memory
----- Native stack trace -----

<— Last few GCs —>

[2158:0x100004b0000] 50571 ms: Scavenge 4043.6 (4055.0) → 4039.7 (4056.0) MB, pooled: 0 MB, 4.08 / 0.00 ms (average mu = 0.822, current mu = 0.698) allocation failure;
[2158:0x100004b0000] 50592 ms: Scavenge 4045.2 (4056.0) → 4041.5 (4056.0) MB, pooled: 0 MB, 7.75 / 0.00 ms (average mu = 0.822, current mu = 0.698) allocation failure;

<— JS stacktrace —>

1: 0x11552dac0 node::OnFatalError(char const*, char const*) [/Applications/Cursor.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
1: 0x11552dac0 node::OnFatalError(char const*, char const*) [/Applications/Cursor.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
1: 0x11552dac0 node::OnFatalError(char const*, char const*) [/Applications/Cursor.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
2: 0x10f582bdc v8::CpuProfile::GetTopDownRoot() const [/Applications/Cursor.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
2: 0x10f582bdc v8::CpuProfile::GetTopDownRoot() const [/Applications/Cursor.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
3: 0x10f582b70 v8::CpuProfile::GetTopDownRoot() const [/Applications/Cursor.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
FATAL ERROR: MarkCompactCollector: young object promotion failed Allocation failed - JavaScript heap out of memory
----- Native stack trace -----

4: 0x10f75ba1c fontations_ffi$cxxbridge1$has_any_color_table [/Applications/Cursor.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
1: 0x11552dac0 node::OnFatalError(char const*, char const*) [/Applications/Cursor.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
5: 0x10f7ae1a8 v8::internal::StrongRootAllocatorBase::deallocate_impl(unsigned long*, unsigned long) [/Applications/Cursor.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
2: 0x10f582bdc v8::CpuProfile::GetTopDownRoot() const [/Applications/Cursor.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
6: 0x10f7a0158 v8::internal::StrongRootAllocatorBase::deallocate_impl(unsigned long*, unsigned long) [/Applications/Cursor.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
3: 0x10f582b70 v8::CpuProfile::GetTopDownRoot() const [/Applications/Cursor.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
3: 0x10f582b70 v8::CpuProfile::GetTopDownRoot() const [/Applications/Cursor.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
2: 0x10f582bdc v8::CpuProfile::GetTopDownRoot() const [/Applications/Cursor.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
3: 0x10f582b70 v8::CpuProfile::GetTopDownRoot() const [/Applications/Cursor.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
4: 0x10f75ba1c fontations_ffi$cxxbridge1$has_any_color_table [/Applications/Cursor.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
5: 0x10f7ae1a8 v8::internal::StrongRootAllocatorBase::deallocate_impl(unsigned long*, unsigned long) [/Applications/Cursor.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
6: 0x10f7a0158 v8::internal::StrongRootAllocatorBase::deallocate_impl(unsigned long*, unsigned long) [/Applications/Cursor.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
7: 0x10f79ffac v8::internal::StrongRootAllocatorBase::deallocate_impl(unsigned long*, unsigned long) [/Applications/Cursor.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
8: 0x10f7e701c v8::internal::StrongRootAllocatorBase::deallocate_impl(unsigned long*, unsigned long) [/Applications/Cursor.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
9: 0x11559a870 fontations_ffi$cxxbridge1$BridgeOutlineCollection$operator$sizeof [/Applications/Cursor.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
10: 0x11559af6c fontations_ffi$cxxbridge1$BridgeOutlineCollection$operator$sizeof [/Applications/Cursor.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]

2025-06-18 12:14:00.322 [info] 4: 0x10f75ba1c fontations_ffi$cxxbridge1$has_any_color_table [/Applications/Cursor.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
5: 0x10f7ae1a8 v8::internal::StrongRootAllocatorBase::deallocate_impl(unsigned long*, unsigned long) [/Applications/Cursor.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
6: 0x10f7a0158 v8::internal::StrongRootAllocatorBase::deallocate_impl(unsigned long*, unsigned long) [/Applications/Cursor.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
7: 0x10f79ffac v8::internal::StrongRootAllocatorBase::deallocate_impl(unsigned long*, unsigned long) [/Applications/Cursor.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
8: 0x10f7e701c v8::internal::StrongRootAllocatorBase::deallocate_impl(unsigned long*, unsigned long) [/Applications/Cursor.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
7: 0x10f79ffac v8::internal::StrongRootAllocatorBase::deallocate_impl(unsigned long*, unsigned long) [/Applications/Cursor.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
9: 0x11559a870 fontations_ffi$cxxbridge1$BridgeOutlineCollection$operator$sizeof [/Applications/Cursor.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
11: 0x194cf6c0c _pthread_start [/usr/lib/system/libsystem_pthread.dylib]
8: 0x10f7e713c v8::internal::StrongRootAllocatorBase::deallocate_impl(unsigned long*, unsigned long) [/Applications/Cursor.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
10: 0x11559af6c fontations_ffi$cxxbridge1$BridgeOutlineCollection$operator$sizeof [/Applications/Cursor.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
12: 0x194cf1b80 thread_start [/usr/lib/system/libsystem_pthread.dylib]
11: 0x194cf6c0c _pthread_start [/usr/lib/system/libsystem_pthread.dylib]
12: 0x194cf1b80 thread_start [/usr/lib/system/libsystem_pthread.dylib]
4: 0x10f75ba1c fontations_ffi$cxxbridge1$has_any_color_table [/Applications/Cursor.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
9: 0x11559a198 fontations_ffi$cxxbridge1$BridgeOutlineCollection$operator$sizeof [/Applications/Cursor.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
10: 0x11559a4ec fontations_ffi$cxxbridge1$BridgeOutlineCollection$operator$sizeof [/Applications/Cursor.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
11: 0x10f7bba8c v8::internal::StrongRootAllocatorBase::deallocate_impl(unsigned long*, unsigned long) [/Applications/Cursor.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]

2025-06-18 12:14:00.642 [info] [Error - 12:14:00] Server process exited with signal SIGABRT.
2025-06-18 12:14:00.644 [info] [Info - 12:14:00] Connection to server got closed. Server will restart.
2025-06-18 12:14:00.644 [info] true
2025-06-18 12:14:00.969 [info] [Info - 12:14:00] (2165) Pylance language server 2024.8.1 (pyright version 1.1.373, commit ee424479) starting
2025-06-18 12:14:00.969 [info] [Info - 12:14:00] (2165) Server root directory: file:///Users/wpearson/.cursor/extensions/ms-python.vscode-pylance-2024.8.1/dist
2025-06-18 12:14:00.972 [info] [Info - 12:14:00] (2165) Starting service instance “wpearson”
2025-06-18 12:14:00.987 [info] [Info - 12:14:00] (2165) Setting pythonPath for service “wpearson”: “/Users/wpearson/.venv/bin/python”
2025-06-18 12:14:00.987 [info] [Info - 12:14:00] (2165) Setting environmentName for service “wpearson”: “3.13.3 (.venv venv)”
2025-06-18 12:14:00.987 [info] [Info - 12:14:00] (2165) No include entries specified; assuming /Users/wpearson
2025-06-18 12:14:00.988 [info] [Info - 12:14:00] (2165) Auto-excluding **/node_modules
2025-06-18 12:14:00.988 [info] [Info - 12:14:00] (2165) Auto-excluding **/pycache
2025-06-18 12:14:00.988 [info] [Info - 12:14:00] (2165) Auto-excluding */.
2025-06-18 12:14:01.013 [info] [Info - 12:14:01] (2165) Assuming Python version 3.13.3.final.0
2025-06-18 12:14:01.147 [info] [Info - 12:14:01] (2165) Auto-excluding /Users/wpearson/Cursor Projects/SoundBox/venv
2025-06-18 12:14:05.005 [info] [Warn - 12:14:05] (2165) Skipping recursive symlink “file:///Users/wpearson/Library/Containers/ch.protonvpn.mac/Data/Library/WebKit/WebsiteData/IndexedDB/v0” → “file:///Users/wpearson/Library/Containers/ch.protonvpn.mac/Data/Library/WebKit/WebsiteData/IndexedDB”
2025-06-18 12:14:11.055 [info] [Error - 12:14:11] (2165) Enumeration of workspace source files is taking longer than 10 seconds.
This may be because:

  • You have opened your home directory or entire hard drive as a workspace
  • Your workspace contains a very large number of directories and files
  • Your workspace contains a symlink to a directory with many files
  • Your workspace is remote, and file enumeration is slow
    To reduce this time, open a workspace directory with fewer files or add a pyrightconfig.json configuration file with an “exclude” section to exclude subdirectories from your workspace. For more details, refer to pyright/docs/configuration.md at main · microsoft/pyright · GitHub.
    2025-06-18 12:14:37.151 [info] [Warn - 12:14:37] (2165) Skipping recursive symlink “file:///Users/wpearson/Library/Containers/com.apple.CaptiveNetworkAssistant/Data/Library/WebKit/WebsiteData/IndexedDB/v0” → “file:///Users/wpearson/Library/Containers/com.apple.CaptiveNetworkAssistant/Data/Library/WebKit/WebsiteData/IndexedDB”

Screenshots / Screen Recordings

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.1.3
VSCode Version: 1.96.2
Commit: 979ba33804ac150108481c14e0b5cb970bda3260
Date: 2025-06-15T06:35:49.230Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.5.0

Does this stop you from using Cursor

Yes - Cursor is unusable

This was likely because I was in my home directory trying to work from folders there, instead of using Flie → Open, and selecting the directory in which I want to work