Recently I encountered this error of Android Studio 4.1 . It start many instance of java.exe (OpenJDK Platform binary) until run out of RAM (I have 10gb of RAM).