After updating gradle version to 3.3 (I'm not sure if this effects anything at all) but sometimes, my build takes about 30 min. and I see a file called "java_pid1160.hprof" file in my project's main package when the build complete or cancelled. The file is around 2-5~ GB. My CPU works insanely while this happens and I see increased fan activity. I know that hprof files are the java memory dumps but since Android Studio has memory monitor and also dumping the memory to a hprof file, it is really hard to find anything useful. Anyone else having this problem?