you can turn automatic gc on
and also you can do manual gc.collect()
No one has replied
Sorry for digging this deep, but have you achieved your goal. Does scripts from ArduCam works?