Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gstreamer gstreamer
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 941
    • Issues 941
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 440
    • Merge requests 440
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GStreamerGStreamer
  • gstreamergstreamer
  • Issues
  • #590
Closed
Open
Issue created Jul 20, 2020 by Suraj Ketan Samal@surajketan

gStreamer memory leak observed when restarting the pipeline multiple times

Hi, I have a simple program which has the following pipeline: rtspsrc ! decodebin ! videoconvert ! videorate ! appsink The pipeline is started using gst_parse_launch(). For every input job received (new rtsp camera stream to be analyzed), the pipeline is recreated and restarted and we read the input frames from the appsink. However, everytime the pipeline is restarted, the memory usage of the application shoots up. I have attached the sample program below. main2.cpp gstCapture.h gstCapture.cpp

I have also tried to create the pipeline dynamically, i.e to create each element at run time and link them and making sure to free each and every gstreamer resource at the end, but the mem leak observed there is even more.

GStreamer and its plugin versions are : v1.17 OS: Ubuntu 18.04 x86_64

Thanks Suraj

Assignee
Assign to
Time tracking