Positional tracking gen2 model memory leak for SDK 4.2.2

Hi I am still seeing a memory leak for ZED SDK v4.2.2 when using the GEN_2 positional tracking model. I am using an Nvidia Jetson Orin Nano 8GB developer kit with 2 ZEDX camera with the ZED duo. JetPack 5.1.2 (L4T 35.4)

Confirmed SDK version running

ZED_Explorer --version
Stereolabs ZED SDK Version : 4.2.2

I can isolate this issue by only changing between GEN_1 and GEN_2 models. Running the GEN_2 model continuously for ~ 15 min ends in a segfault with VMS continuously climbing. GEN_1 has no such problems. I can debug further and provide code to replicate if necessary.

Hi @Haven,

Thank you for the report, this is indeed an issue with positional tracking gen 2 in version 4.2.2 of the SDK, we have reproduced it and are working on a fix for this.

A temporary solution would be to set the PositionalTrackingParameters.enable_imu_fusion to false, for which the memory build up should not happen.

1 Like