@vuminhduc9755 (Vuminhduc9755) posted a new topic, subject "Leak memory of deepstream app". It read:

   **• Hardware Platform (Jetson nano)  
    **• DeepStream Version 5.0  
    **• JetPack Version 4.5.1  
    **• TensorRT Version 7.  
    **• NVIDIA GPU Driver Version (valid for GPU only)**  
    **• Issue Type( questions, new requirements, 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)**  
    **• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)**  
    Hi, my DS app leak memory and out of memory after running 48h. My pipeline is:  
    streammux, nvvidconv, caps_filter, pgie, nvtracker, queue1, sgie, tiler, nvosd, transform, queue2, sink.  
    I set:  
    g_object_set (G_OBJECT (nvvidconv), “nvbuf-memory-type”, 0, NULL);  
    because using opencv in pgie_pad_buffer_probe. This is the cause of the memory leak. I tried in deepstream5.1 but the above incident did not improve. Can you give me solution?

So @Amycao replied

    nvvideoconvert nvbuf-memory-type default value is 0. did you have this issue without using opencv in pgie_pad_buffer_probe?

@vuminhduc9755 (Vuminhduc9755) replied

    yes, I tried comment opencv but the above incident did not improve.

To which @Amycao replied

    Similar issue with Memory not released on deepstream-app exit - Intelligent Video Analytics / DeepStream SDK - NVIDIA Developer Forums

@system (system) replied

    This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.


{'source': 'discourse', 'url': 'https://forums.developer.nvidia.com/t/leak-memory-of-deepstream-app/196306', 'title': 'Leak memory of deepstream app', 'views': 247, 'has_accepted_answer': True, 'word_count': 210, 'like_count': 0, 'reply_count': 2, 'participant_count': 2, 'posts': 5, 'tags': '', 'author': '@vuminhduc9755 (Vuminhduc9755)', 'participants': '@vuminhduc9755 (Vuminhduc9755), @Amycao, @system (system)', 'image_url': [None], 'created_at': '2021-11-26T04:25:30.614Z', 'last_posted_at': '2021-12-21T02:10:21.174Z'}