I created an application that retrieves the images from the viewfinder one after another. When running the application I calculate the frames per second (fps) that I am able to retrieve from the viewfinder. At first I get 13-15 fps and slowly it decreases to 10-12 fps and eventually stays on 8 fps (it eventually stays on 8 fps after 5 minutes or so). Is there a possiblity that my process's priority is decreased? Or else how can this decrease in fps can be explained? I know that there should be a runtime optimizer such as JIT or similar, but that should cause better fps as time passes, no?
I don't instantiate any new objects and don't have any memory leaks during the running of the applications. I've checked this in the emulator and everything looks ok.