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

High memory usage pipecat x livekit implementation. #1003

Open
dirtykamikaze opened this issue Jan 16, 2025 · 2 comments
Open

High memory usage pipecat x livekit implementation. #1003

dirtykamikaze opened this issue Jan 16, 2025 · 2 comments

Comments

@dirtykamikaze
Copy link

Getting this log when running my implementation of pipecat and Livekit agents with a single instance of the pipecat worker. WARNING livekit.agents - process memory usage is high ~ 400mb. Any thoughts as to why pipecat could be using so many resources?

@chadbailey59
Copy link
Contributor

That sounds like an issue with the LiveKit agents framework. Are you using a LiveKit agent inside Pipecat somehow?

@dirtykamikaze
Copy link
Author

dirtykamikaze commented Jan 17, 2025

I'm using Pipecat inside the livekit agent framework. I've narrowed it down to LivekitTransport.input() being the cause of the high usage. I'm not sure why it's using ~300mb more memory than it should. I expected a single instance to be ~90mb of memory.

Update ***
Now I'm doubting if it was the transport input. I don't think it's livekit because I've made an alternative with their full stack and its memory usage is no where near this much.

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

No branches or pull requests

2 participants