Skip to content

fix(ipc): report actual consumed memory instead of RSS#6082

Draft
Bobronium wants to merge 3 commits into
mainfrom
arseny/pss-memory-reporting
Draft

fix(ipc): report actual consumed memory instead of RSS#6082
Bobronium wants to merge 3 commits into
mainfrom
arseny/pss-memory-reporting

Conversation

@Bobronium

Copy link
Copy Markdown
Member

Changes

  • Report PSS (if not available, fall back to USS, then back to RSS)
  • Revert changing the threshold from 500 to 1000.

RSS includes memory shared with the parent process, which doesn't reflect what process actually consumes on top of it.

Now, even with threshold dropped back to 500 MB there still should be plenty of headroom.

RSS includes memory shared with the parent process, which doesn't reflect what process actually consumes on top of it.

Now, even with threshold dropped back to 500 MB there still should be plenty of headroom.
@Bobronium Bobronium requested a review from a team as a code owner June 12, 2026 19:59
devin-ai-integration[bot]

This comment was marked as resolved.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 new potential issue.

Open in Devin Review

Comment thread livekit-agents/livekit/agents/worker.py
@Bobronium Bobronium marked this pull request as draft June 12, 2026 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant