Does the Pipeline limit the number of allocated framesets?
Hi,
I am using D435i for in my application. As I call the pipeline->wait_for_frames(), I want to know whether the pipeline limit its allocation to the number of the framesets or not. For instance, if I keep the inference of the frameset each time I call wait_for_frames() and after many calls the memory will increase a lot. So I think the pipeline might limit its memory allocation to the frameset. Is it true?
Thanks.
Yixun
-
Hi Yixun Liu The RealSense SDK can circulate up to 16 frames of each type in the pipeline, as described at the links below.
https://github.com/IntelRealSense/librealsense/issues/946
https://github.com/IntelRealSense/librealsense/issues/9022#issuecomment-853597841
The frame queue capacity determines the maximum number of frames to allow to be stored in the queue before older frames will start to get dropped. The size of the frame queue can be increased to hold more frames and reduce the risk of frame drops with the SDK instruction RS2_OPTION_FRAMES_QUEUE_SIZE
https://dev.intelrealsense.com/docs/frame-management#frame-drops-vs-latency
Please sign in to leave a comment.
Comments
2 comments