When i Sync Project with Gradle Files, Run app or Build in Android Studio,
In Build Output, it show
Starting Gradle Daemon...
Gradle Daemon started in - s --- ms
After it, no space remains in the memory and I have to kill Android Studio from Task Manager
I search a lot about this, nothing worked till now
Source: Android Studio Questions

One Reply to “Gradle Daemon started infinite loop”
if you are using your computer as a hotspot for other devices (adhoc) it does this
so far the only thing i’ve been able to find is to turn off the hot spot, run you app, then turn the hot spot back on.
once its done the full sync once, it won’t have to do it again until 24 hours have gone by.