# TensorRT Memory Leak On One System And Not Anouther

**URL:** <https://forums.developer.nvidia.com/t/tensorrt-memory-leak-on-one-system-and-not-anouther/156984>\
**Category:** TensorRT\
**Created:** [October 13, 2020, 5:32pm UTC](https://forums.developer.nvidia.com/t/tensorrt-memory-leak-on-one-system-and-not-anouther/156984 "2020-10-13T17:32:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![curiousguy](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@curiousguy](https://forums.developer.nvidia.com/u/curiousguy)\
**Post date:** [October 13, 2020, 5:32pm UTC](https://forums.developer.nvidia.com/t/tensorrt-memory-leak-on-one-system-and-not-anouther/156984/1 "2020-10-13T17:32:07Z")

</div>

## Description

I am dealing with some issues where the same executable, config files, model, and dlls work have a constant memory usage on one system but not another. In particular one stays around 1GB while the other continuously goes up to above the 16GB. This same system did not have issues a month ago running the same thing. But it showed up once I put a fresh OS on it.

## Environment

**TensorRT Version** : 6.0.1.5  
**GPU Type** : NVidia RTX 5000 and NVidia P5200  
**Nvidia Driver Version** : Checked with Various 419, and 431  
**CUDA Version** : 10.0.130  
**CUDNN Version** : 7.6.3.30  
**Operating System + Version** : Windows 10  
**Python Version (if applicable)**:  
**TensorFlow Version (if applicable)**:  
**PyTorch Version (if applicable)**:  
**Baremetal or Container (if container which image + tag)**: Baremetal

---

<div class="post-metadata">

**Author:** ![AakankshaS](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/aakankshas/32/14047_2.png) [@AakankshaS](https://forums.developer.nvidia.com/u/AakankshaS)\
**Post date:** [October 13, 2020, 6:07pm UTC](https://forums.developer.nvidia.com/t/tensorrt-memory-leak-on-one-system-and-not-anouther/156984/2 "2020-10-13T18:07:47Z")

</div>

Hi @curiousguy,  
Request you to share the profiler and performance output for both the machines.  
Also, i could see you are using TRT 6, for that we recommend you to try the latest TRT release, as this will have improved performance.

Thanks!

---

<div class="post-metadata">

**Author:** ![curiousguy](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@curiousguy](https://forums.developer.nvidia.com/u/curiousguy)\
**Post date:** [October 13, 2020, 6:27pm UTC](https://forums.developer.nvidia.com/t/tensorrt-memory-leak-on-one-system-and-not-anouther/156984/3 "2020-10-13T18:27:17Z")

</div>

@AakankshaS Due to the environment, I do not think I can share this information. Is there something I can look for in particular?

---

<div class="post-metadata">

**Author:** ![AakankshaS](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/aakankshas/32/14047_2.png) [@AakankshaS](https://forums.developer.nvidia.com/u/AakankshaS)\
**Post date:** [October 20, 2020, 10:43am UTC](https://forums.developer.nvidia.com/t/tensorrt-memory-leak-on-one-system-and-not-anouther/156984/4 "2020-10-20T10:43:12Z")

</div>

Hi @curiousguy,  
Can you please try working with latest TRT release.

Thanks!
