Reputation: 5723
I am using android studio with VM. After running some emulators I noticed that I still have a process named qemu-system-x86_64
running which occupies 1.9GB of my RAM (I am running the emulator with software support only).
I know that the emulator after invoked it's independent of android studio so that make sense up to a level but I am not running any emulator now.
I checked this answer to see if I can shutdown my emulator but I don't have any VM appearing:
virsh list
Also, running:
ps aux | grep qemu-system-x86
gorfani+ 10055 0.0 12.6 6988716 2055984 ? Sl Oct09 0:30 /home/gorfanidis/Android/Sdk/emulator/qemu/linux-x86_64/qemu-system-x86_64 -netdelay none -netspeed full -avd Pixel_2_API_28
reveals that I was using Pixel_2_API_28.
I want to run an emulator with different API so the previous one should be shutdown.
So, a few question arise:
virsh
reveal something or am I mixing things up here?Upvotes: 3
Views: 6186
Reputation: 314
You can kill a specific process by process id with -9 parameter for killing process tree also, Or You can close these process by the following command
sudo killall qemu-system-x86*
Upvotes: 1