You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DeepStream tracker library causes OOM error when compiled with -DCMAKE_BUILD_TYPE=Release option #253
Description
Build libByteTracker.so as per the instruction given in (README.md), but replace cmake .. with cmake -DCMAKE_BUILD_TYPE=Release to enable optimizations. Running a GStreamer pipeline with the built library file takes up all system memory immediately and crashes with OOM error.
To Reproduce
Launch Docker container, set the memory limit to avoid screwing up the host system.
docker run --rm -it --gpus=all --memory=4G nvcr.io/nvidia/deepstream:6.1-devel
Install dependencies.
apt update && apt install -y libeigen3-dev
Clone repo and build libByteTracker.so.
cd /root
git clone --depth 1 https://github.com/ifzhang/ByteTrack/
cd ByteTrack/deploy/DeepStream
mkdir build &&cd build
# cmake -> /usr/local/bin/cmake version is 3.15.2# /usr/bin/cmake version is 3.16.3
/usr/bin/cmake -DCMAKE_BUILD_TYPE=Release ..
make
Activity
EmpireofKings commentedon Sep 27, 2022
FYI appending
return NvMOTStatus_OK;to the end ofNvMOTContext::processFramedoes not fix the memory leak.