The new version seems has Memory Leak issues!

Issue Description

Multiple MEM_MAPPED regions with a total size exceeding 1.6 TB are observed in the process’s virtual address space, sharing the same AllocationBase 00007df55f590000 .


These regions alternate between PAGE_READONLY and PAGE_NOACCESS protections, with no associated files (confirmed via !vadump ).

Thread stacks show frequent calls to V8 compilation functions (e.g., v8::internal::compiler::CompilationDependencies ) and zlib functions (e.g., Cr_z_adler32 ).

Analysis Steps
  1. !address -summary confirmed <unknown> memory dominates.
  2. !vadump showed all suspicious regions share the same AllocationBase without file associations.
  3. Thread stacks indicate memory operations are concentrated in V8 compilation and zlib data processing.
Hypotheses
  • Hypothesis 1: V8 JIT compilation leaks optimized code caches (e.g., Isolate/Context lifecycle issues).
  • Hypothesis 2: zlib compression/decompression fails to release temporary buffers (e.g., missing inflateEnd).
  • Hypothesis 3: Chromium’s shared memory mechanism (e.g., base::SharedMemory) leaves mapped regions unclosed.

Hi, which version number of Cursor are you referring to?

How about with 0.47.9

Cursor Settings > Beta > Update Frequency: Early Access

Still and I think this is a hidden problem. If you can provide PDB, I think we can have more detailed analysis

https://github.com/electron/electron/releases/download/v34.3.4/electron-v34.3.4-win32-x64-pdb.zip

Only electron’s pdb? I mean cursor’s own pdb :grinning_face:

Cursor does not use V8 or Chromium directly, only through electron.

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