I have a Samsung Galaxy s6 that sometimes will pop up a message suggesting that some apps are consuming too much ram or cpu. And the following screen. I haven't been able to figure out what app it is though that seems to be acting like good samaritan on my phone.
It doesn't show on recent apps list and once I tell it to perform the fix, i can't interact with app or go back to it.
adb shell dumpsys activity activities
andadb shell dumpsys window windows
. Share with us the two outputs and we will help in pinpointing the app.