Closed dheera closed 3 years ago
Hi @dheera As a starting point in investigating your case, could you monitor memory usage in Ubuntu whilst pyglet_pointcloud_viewer.py is running to see whether the amount of available memory is reducing over time (known as a memory leak, which could lead to the program freezing).
The speed at which memory is consumed (and therefore the time before failure of the program occurs) may vary depending on factors such as the camera resolution and FPS speed being used. Lower resolution / FPS may mean a longer period of running time before program failure occurs.
Ubuntu's htop interface could be used to perform the memory utilization monitoring.
https://vitux.com/how-to-use-htop-to-monitor-system-processes-in-ubuntu-20-04/
Hi @dheera Do you require further assistance with this case, please? Thanks!
I gave up on it and switched to C++. The Python realsense lib still seems buggy.
Thanks very much for the update. Do you require any assistance with the C++ version of your project, please?
Case closed due to no further comments received.
Issue Description
This happens randomly and typically after 30-100 minutes of running pyglet_pointcloud_viewer.py. The pyglet viewer will freeze, and restarting it again causes this issue. The only way I can see to get out of it it is to unplug and replug the USB cable.