Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce CPU / memory usage whilst recording #109

Open
richiemcilroy opened this issue Oct 9, 2024 · 7 comments
Open

Reduce CPU / memory usage whilst recording #109

richiemcilroy opened this issue Oct 9, 2024 · 7 comments
Labels
💎 Bounty bug Something isn't working

Comments

@richiemcilroy
Copy link
Collaborator

Some users are reporting memory usage creeping to 5gb+ in longer recordings (2min+).

Need you to debug why this is happening, and do what you can to optimise CPU / memory usage.

You'll need to run a benchmark test, and then work to lower it.

Even better if you can first replicate the memory issues.

@richiemcilroy richiemcilroy added the bug Something isn't working label Oct 9, 2024
@richiemcilroy
Copy link
Collaborator Author

/bounty $350

Copy link

algora-pbc bot commented Oct 9, 2024

💎 $350 bounty • Cap

Steps to solve:

  1. Start working: Comment /attempt #109 with your implementation plan
  2. Submit work: Create a pull request including /claim #109 in the PR body to claim the bounty
  3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts

Thank you for contributing to CapSoftware/Cap!

Add a bountyShare on socials

Attempt Started (GMT+0) Solution
🟢 @ToSeven Oct 12, 2024, 1:06:41 AM WIP

@ayewo
Copy link

ayewo commented Oct 9, 2024

Which OS and what version was the issue reported against?

@richiemcilroy
Copy link
Collaborator Author

There's no specific OS I think. It seems to happen in certain scenarios.

I've replicated it on an iMac, macOS 13.5 with 8gb memory.

Others have reported issues on M2 chip, M1... macOS 15, 14.

So I don't think it's tied to a specific version

@ayewo
Copy link

ayewo commented Oct 9, 2024

I've replicated it on an iMac, macOS 13.5 with 8gb memory.

Can you please share the exact steps?

@richiemcilroy
Copy link
Collaborator Author

I started recording with webcam / mic.

Around 2 mins in, it started to increase in memory, until it reached the point where it was 8gb+ and crashed

@ToSeven
Copy link

ToSeven commented Oct 12, 2024

/attempt #109

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💎 Bounty bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants