Rookie problem: spiralling memory usage on inference

Hello,
Has anyone had any luck with this? I made a similar post profiling the android memory showing the same results (memory leak). I have also tried reuse and various garbage collection methods and models. I use bitmaps as well but tried imageYUV420CenterCropToFloatBuffer and saw the same thing. On the android example there is a similar issue: Android Memory Leak