How do you fully release memory created by PhotogrammetrySession?

Hello, After each PhotogrammetrySession completed successfully there's some memory not being release.

After a couple PhotogrammetrySessions it fills all my RAM memory. How do you completely release all memory for the the next PhotogrammetrySession ?

Thank you

BTW im using the sample code supplied by apple

How do you fully release memory created by PhotogrammetrySession?
 
 
Q