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
The Device class (and more) doesn't contain a destructor or dispose.
Calling QueryDevices continuously creates new Device objects which live on after. When using this method numerous times it ultimately causes a OutOfMemoryException.
The text was updated successfully, but these errors were encountered:
[Realsense Customer Engineering Team Comment] @sennevanoppen
I did find the memory leak of this function, and will let engineer knows about this issue. Can you let me know why you need to query device often? To check if device exist?
Issue Description
The Device class (and more) doesn't contain a destructor or dispose.
Calling QueryDevices continuously creates new Device objects which live on after. When using this method numerous times it ultimately causes a OutOfMemoryException.
The text was updated successfully, but these errors were encountered: