Skip to content

Excessive RAM usage (~15GB) #1589

@CharitSinghChauhan

Description

@CharitSinghChauhan

Description

Cap consumes extremely high memory (~15GB RAM)

After recording for an extended period (high resolution session), pausing the recording does not reduce memory usage. The application continues holding a large amount of RAM, which causes significant system slowdown and memory pressure.

Memory is only released after fully quitting the application.

Expected behavior:
When recording is paused, memory usage should stabilize or partially release instead of retaining the entire buffer in memory.


Reproduction

  1. Start a screen recording
  2. Record for an 4 min duration
  3. Pause the recording
  4. Open Activity Monitor
  5. Observe Cap memory usage (~15GB)

Memory remains high while paused and is only freed after quitting the app.


Additional Context

  • Cap version: Version 0.4.5 (0.4.5)
  • Operating system, version: macOS Tahoe 26.2
  • Device (optional): (e.g., MacBook Pro M1 / 8GB RAM)

The issue appears to be related to recording buffer retention or memory not being released when entering the paused state.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions