View my account

Streaming Slowdown after a few hours on D415/D555

Comments

6 comments

  • MartyX Grover

    Hi Disha Rathod  If a stream starts slowing down after a predictable amount of time has passed then I would first recommend checking whether the application has a memory leak, where available computer memory is progressively consumed over time until the program becomes unstable.

     

    You can monitor available memory over time to see if it is reducing by using a system monitoring tool such as htop on Ubuntu or Task Manager on Windows.

    0
    Comment actions Permalink
  • Disha Rathod

    Application does have a memory leak climbing RAM usage in Task Manager; even after ensuring passing each intermittent frame to FrameReleaser and Disposing releaser at the end of every iteration did not resolve the issue. There seems to be no other local memory leaks. I have read reports of Temporal filters and pointcloud extractions creating memory leaks. SDK version is 2.45.0 from a nuget package on VS 2022 which is old. Are there workarounds for this? Has this been fixed in recent SDKs? Camera is D555.

    0
    Comment actions Permalink
  • MartyX Grover

    If you are generating a pointcloud with your application then I recommend checking that the pointcloud object is not being created within a loop, as this can cause a memory leak.  Advice about this can be found at the link below.

    https://github.com/realsenseai/librealsense/issues/2860#issuecomment-445539797

     

    If your application makes use of the SDK's post-processing filters, a memory leak in the filters was fixed in SDK 2.54.1.

    https://github.com/realsenseai/librealsense/pull/11095

     

    Further memory leak fixes were in SDK 2.50.0.

    https://github.com/realsenseai/librealsense/pull/9762

    https://github.com/realsenseai/librealsense/pull/9553

    0
    Comment actions Permalink
  • MartyX Grover

    Hi Disha Rathod  Do you require further assistance with this case, please?  Thanks!

    0
    Comment actions Permalink
  • Disha Rathod

    Upgrading SDK had no effect on this issue. I would like to confirm if the 2.57 .NET wrapper has any known leaks? 

    0
    Comment actions Permalink
  • MartyX Grover

    There are not any known issues of a leak in the C# wrapper and we have not had leak reports from other RealSense C# users. We also have had no user reports other than yours regarding use of D555 with the C# wrapper, unfortunately.

     

    Does the leak occur if you test the SDK's official C# example programs, such as the Processing post-processing and alignment example?

    https://github.com/realsenseai/librealsense/tree/master/wrappers/csharp/tutorial

     

    0
    Comment actions Permalink

Please sign in to leave a comment.