Silence-GitHub / BBMetalImage

A high performance Swift library for GPU-accelerated image/video processing based on Metal.
MIT License
988 stars 126 forks source link

memory leak #60

Closed JamesJunsungKim closed 4 years ago

JamesJunsungKim commented 4 years ago

I have been making an app that users can apply filters to photos. I'm experiencing a memory leak that drives me crazy. When I apply a sole lookup filter, everything seems fine. But when I try to apply multiple filters on top of the lookup filter, the horrible memory leak happens.

When I tried to see what's happening through the instrument, it says this.

Is there any way that you guys think what might be the possible cause? :( I tried to remove all consumers and sources. but I was not having any luck with it.

Here is the screenshot of the instrument saying where the memory leak happens. Screen Shot 2020-09-01 at 8 59 04 AM

JamesJunsungKim commented 4 years ago

solved.