androidandroid-studiohprof

android hprof files in project src


I have an android project on my C:/ drive which Android Studio points to. I have noticed that when i Zip up the project folder, it has gone from say 20 MB to 42 GB. There are lots of hprof files.

I have looked at some posts and i do not want to use the hprof view or look at how the app is performing. i just want to delete these files.

https://developer.android.com/studio/profile/am-hprof.html

my question is, can i just delete all these files from the project folder directly before zipping the folder?

thanks


Solution

  • Yes, you can delete them, they are only used for viewing memory dumps and not needed to build the app.