BradLarson / GPUImage

An open source iOS framework for GPU-based image and video processing
http://www.sunsetlakesoftware.com/2012/02/12/introducing-gpuimage-framework
BSD 3-Clause "New" or "Revised" License
20.22k stars 4.62k forks source link

In GPUImageMovieWriter createDataFBO destroyDataFBO memory leak #2522

Open MuFengYi opened 6 years ago

MuFengYi commented 6 years ago
2e18be36-88a7-4f9e-a7d4-e1891164b2a1
MuFengYi commented 6 years ago

1942 The _movieWriterContext = [GPUImageContext sharedImageProcessingContext]; solution fixed the leak for me as well.

eevictor commented 6 years ago

Yes, #1942 The _movieWriterContext = [GPUImageContext sharedImageProcessingContext]; solution fixed the leak for me as well. Without this fix, I could record up to 2 minutes, and the free memory drops from 1.6 GB to few MB and then crash.