dlstreamer / pipeline-server

Home of Intel(R) Deep Learning Streamer Pipeline Server (formerly Video Analytics Serving)
BSD 3-Clause "New" or "Revised" License
123 stars 50 forks source link

Memory leak on pipeline stop #112

Closed whbruce closed 2 years ago

whbruce commented 2 years ago

Approx 10 MB is not released each time a pipeline stops. This will be a problem for applications that frequently start and stop pipelines.

A simple workaround is to use jemalloc memory allocator.

  1. Install libjemalloc-dev package
  2. Enable with LD_PRELOAD=libjemalloc.so

This issue will be fixed in the next release.

whbruce commented 2 years ago

Fixed in v0.7.2.