Memory Leak Fix
Hello ! I try to run your sample programm. When i take 5 photo in a row i have problem - OutOfMemory.

I faced same issue with this library. Any help will be appreciated.
its not problem in library i used many times there is no memory issue. issue is that you are missed in your code if can paste your code here i can explain in detail.
I know it's an old question but maybe it still relevant for some.
I had faced a similar problem using the GPUImageLookupFilter in a recycler view.
the solution that I came up with was to recycle the filter bitmap by calling recycleBitmap in onDestroy of the filter:
class GPUImageRecycledLookupFilter : GPUImageLookupFilter() {
override fun onDestroy() {
super.onDestroy()
recycleBitmap()
}
}
hope it helps someone.