Skip to content

Memory leak on Ubuntu with Pipecat 0.0.85 #3116

@draftin1

Description

@draftin1

pipecat version

0.0.85

Python version

3.12.8

Operating System

Ubuntu 24.04.3 LTS

Use Case Description

I am running pipecat (for a year), with a pipeline of deepgram, openai, elevenlabs through livekit.

Current Approach

This issue occurs only when running in the pods on the cluster. 
I can run version 0.0.85 just fine from a macOS.

The memory leak occurs with 0.0.86 and 0.0.92. (Those are the only two other version I've checked.

I incremented from v0.0.80, where I had had it, up one at a time, and .81, .82, .83 and .84 are all fine.

With the exact same code, except for the change in pipecat version, the memory leak occurs.

I updated the deepgram, openai, elevenlabs, and livekit packages from where they were to the latest, and there's still the leak.

Errors or Unexpected Behavior

When I go from pipecat version 0.0.84 to 0.0.85 there is a memory issue that makes the instance increase its memory usage about 3GB/minute.

Additional Context

Pipeline Details
Services:

  • livekit
  • deepgram
  • openai
  • elevenlabs
  • krisp noise filter
  • silero vad analyzer

I wonder if anyone here has experienced anything similar, or know what could be happening

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions