Hi, we’re developing a program that uses 2 HEF models in a Raspberry Pi 5 with Hailo 8/8L.
When implementing tests I’ve detected files not being released after dropping the device (`hailors_release_vdevice`).
We’re using hailort-rs (Rust wrapper).
Current open File Descriptors: 386
Current open File Descriptors: 512
Current open File Descriptors: 638
Current open File Descriptors: 764
Current open File Descriptors: 890
Current open File Descriptors: 1016
Current open File Descriptors: 1142
Current open File Descriptors: 1268
Current open File Descriptors: 1394
Current open File Descriptors: 1520
This log is shown after loading 2 models. Before loading the new one, the old is released.
I’ve reviewed the Rust wrapper code and it’s basically a wrapper for the Device entity, so I guess the leak is in the C++ code.
PD: Model executes perfectly, and all good. It just when reaching the file descriptor limit that hailort throws errors.
Thanks.