Question: how to open hprof file in android studio?
Answer: Start your app on either a real devices connected or on an emulator. Click on the Android tab to view the Free and Allocated memory in the Memory Analyzer. Click on the Java Heap icon on the left hand side on the left. Just double-click on the snapshot file to view it in the HPROF viewer.