Mediapipe Pose Landmarking (LITE) hogging memory You seem to be creating MPMask instances without invoking .close(). This leaks resources