Reputation: 41
Env: Win 7, Android Studio(3.0.1), Java 8 When i start emulator via Android Studio the emulator creates new threads of adb.exe. Afer closing the Emulator, the adb Threads Persist. screenshot of TaskManager I tried different Tablets and Phones and dont have this kind of problem with real devices.
Upvotes: 1
Views: 674
Reputation: 21
I thought this could be linked to my version of ADB, so I downgraded it to 26.0.2, but it didn't change anything. It has to be linked to Android Studio (tried 3.0.1 and 3.2 Canary 2) or the SDK tools.
Upvotes: 0
Reputation: 11
I am having the exact same issue with Win 7, AS(3.0.1) and Java 8. The number of adb.exe instances continually grow and grow throughout the day to the point where I am running at 90% or more RAM and my PC is not longer operable without a reboot.
My work around at the moment was to create a .bat file with the following command and run it periodically throughout the day.
taskkill /F /IM adb.exe /T
It may not be ideal as it kills whatever instance of the emulator I have running, but at least I can avoid a reboot.
EDIT: It has been an hour and I am around 1500 instances and counting. See my Screen Shot
Upvotes: 1