# DS 5.0.1 memory leak

**URL:** <https://forums.developer.nvidia.com/t/ds-5-0-1-memory-leak/160403>\
**Category:** DeepStream SDK\
**Tags:** nvbugs, jetson-inference\
**Created:** [November 25, 2020, 11:37am UTC](https://forums.developer.nvidia.com/t/ds-5-0-1-memory-leak/160403 "2020-11-25T11:37:59Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![nk.gulia](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@nk.gulia](https://forums.developer.nvidia.com/u/nk.gulia)\
**Post date:** [November 25, 2020, 11:37am UTC](https://forums.developer.nvidia.com/t/ds-5-0-1-memory-leak/160403/1 "2020-11-25T11:37:59Z")

</div>

Facing memory leak while running the default deepstream-app with the default config given with the deepstream: source12\_1080p\_dec\_infer-resnet\_tracker\_tiled\_display\_fp16\_tx2.txt

Also, facing the same issue with the deepstream-test5-app also - on an average the memory leak per minute is approx. 300KB.

Here is the RSS information of the deepstream-app:  
Getting RSS details for process: deepstream-app, pid: 2269  
1210780, 01:31  
1212452, 02:31  
1212864, 03:31  
1213364, 04:31  
1213364, 05:31  
1213768, 06:32  
1213904, 07:32  
1213904, 08:32  
1214168, 09:32  
1214168, 10:32  
1214412, 11:32  
1214676, 12:32  
1214676, 13:33  
1214676, 14:33  
1214676, 15:33  
1214676, 16:33  
1214676, 17:33  
1214676, 18:33  
1214676, 19:33  
1215232, 20:33  
1216144, 21:33  
1216572, 22:34

Here is the same output for the deepstream-test5-app:  
1005900, 00:10  
1008896, 01:11  
1009300, 02:11  
1009864, 03:11  
1010568, 04:11  
1011504, 05:11  
1011264, 06:11  
1011360, 07:11  
1012336, 08:11  
1012464, 09:11  
1012796, 10:11  
1013396, 11:11  
1013564, 12:11  
1013876, 13:11  
1014588, 14:12  
1014468, 15:12  
1014948, 16:12  
1015236, 17:12  
1015356, 18:12  
1015764, 19:12  
1016004, 20:12  
1017208, 21:12  
1017608, 22:12  
1017816, 23:12  
1018448, 24:12  
1018808, 25:12  
1019444, 26:13  
1019924, 27:13  
1020212, 28:13  
1020548, 29:13  
1020452, 30:13  
1020884, 31:13  
1021052, 32:13  
1021388, 33:13  
1022108, 34:13  
1022292, 35:13  
1022484, 36:13

Here is the complete information as applicable to your setup.

**• Hardware Platform (Jetson)**  
Jetson TX2

**• DeepStream Version - 5.0.1**  
5.0.1

**• JetPack Version (valid for Jetson only) - 4.4**  
4.4

**• TensorRT Version**  
**• NVIDIA GPU Driver Version (valid for GPU only)**  
**• Issue Type( questions, new requirements, bugs) - bugs**  
bugs

**• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)**  
run the deepstream-app with default tx2 config file, here is the command:  
$\> /opt/nvidia/deepstream/deepstream/samples/configs/deepstream-app$ deepstream-app -c source12\_1080p\_dec\_infer-resnet\_tracker\_tiled\_display\_fp16\_tx2.txt

---

<div class="post-metadata">

**Author:** ![Amycao](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/amycao/32/11342_2.png) [@Amycao](https://forums.developer.nvidia.com/u/Amycao)\
**Post date:** [November 26, 2020, 10:16am UTC](https://forums.developer.nvidia.com/t/ds-5-0-1-memory-leak/160403/3 "2020-11-26T10:16:49Z")

</div>

Hi,  
Reproed the issue, have created on internal bug to track.  
thanks.

---

<div class="post-metadata">

**Author:** ![nk.gulia](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@nk.gulia](https://forums.developer.nvidia.com/u/nk.gulia)\
**Post date:** [November 26, 2020, 10:53am UTC](https://forums.developer.nvidia.com/t/ds-5-0-1-memory-leak/160403/4 "2020-11-26T10:53:32Z")

</div>

Can we have an ETA on the issue? Or any approx timeframe in which the issue can be fixed?

---

<div class="post-metadata">

**Author:** ![Amycao](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/amycao/32/11342_2.png) [@Amycao](https://forums.developer.nvidia.com/u/Amycao)\
**Post date:** [December 1, 2020, 1:57pm UTC](https://forums.developer.nvidia.com/t/ds-5-0-1-memory-leak/160403/7 "2020-12-01T13:57:16Z")

</div>

Dev team are working on it, thanks for your patience.

---

<div class="post-metadata">

**Author:** ![nk.gulia](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@nk.gulia](https://forums.developer.nvidia.com/u/nk.gulia)\
**Post date:** [December 31, 2020, 7:15am UTC](https://forums.developer.nvidia.com/t/ds-5-0-1-memory-leak/160403/8 "2020-12-31T07:15:02Z")

</div>

Forgot to mention, I am using RabbitMQ in nvmsgconv.

---

<div class="post-metadata">

**Author:** ![PhongNT](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/phongnt/32/73252_2.png) [@PhongNT](https://forums.developer.nvidia.com/u/PhongNT)\
**Post date:** [February 22, 2021, 3:14pm UTC](https://forums.developer.nvidia.com/t/ds-5-0-1-memory-leak/160403/9 "2021-02-22T15:14:08Z")

</div>

have you any update about memory leak on deepstream 5.01

---

<div class="post-metadata">

**Author:** ![Amycao](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/amycao/32/11342_2.png) [@Amycao](https://forums.developer.nvidia.com/u/Amycao)\
**Post date:** [February 26, 2021, 9:10am UTC](https://forums.developer.nvidia.com/t/ds-5-0-1-memory-leak/160403/10 "2021-02-26T09:10:57Z")

</div>

The fix will be in next release.

---

<div class="post-metadata">

**Author:** ![TomNVIDIA](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/tomnvidia/32/14181_2.png) [@TomNVIDIA](https://forums.developer.nvidia.com/u/TomNVIDIA)\
**Post date:** [October 12, 2021, 4:15pm UTC](https://forums.developer.nvidia.com/t/ds-5-0-1-memory-leak/160403/12 "2021-10-12T16:15:02Z")

</div>


