I have an app that uses BLE and controls devices, also on the same activity I am using a TextureView that implements Surfaceview so there is 3D interactivity in a window on the same activity. It all works fine, but after a few minutes the app crashes. investigation shows that the memory usage keeps increasing, as if the app is accumulating buffers during the rendering.
It is a complex app and too much to post here, but I would appreciate contact with someone who might assist. We can post results on here once the issue is located.
The memory issue is isolated to the textureview implementation, my guess is the continual redraw is allocating lots of buffers and never releasing.