I am using five Filters at a time on a UIImage and once it's completed I am de-allocting all the objects but still memory is increasing if I apply filter to next UIImage.
Tried many solution but no luck. The max memory goes to 1 GB on iPhone 6s Plus, if I apply filters to 10 UIImages at a time.
Besides, above solution I also tried removeTargets and removeOutputFrameBuffer but no luck. Please guide me I need the filters but memory should not increse by 100 MB.
I am using five Filters at a time on a
UIImage
and once it's completed I am de-allocting all the objects but still memory is increasing if I apply filter to nextUIImage
.Tried many solution but no luck. The max memory goes to 1 GB on iPhone 6s Plus, if I apply filters to 10
UIImages
at a time.Besides, above solution I also tried
removeTargets
andremoveOutputFrameBuffer
but no luck. Please guide me I need the filters but memory should not increse by 100 MB.