@vitoziv
I faced this problem in the project I'm working on.
After I create CIImage, it prevents VideoComposition from releasing from the memory, causing the memory leak.
let url = Bundle.main.url(forResource: "overlay", withExtension: "jpg")!
let image = CIImage(contentsOf: url)!
let resource = ImageResource(image: image, duration: CMTime.init(seconds: 5, preferredTimescale: 600))
@vitoziv I faced this problem in the project I'm working on. After I create CIImage, it prevents VideoComposition from releasing from the memory, causing the memory leak.
Any suggestions?