pmadruga / react-native-clean-project

Automating the clean up of a React Native project
MIT License
1.19k stars 52 forks source link

should .hprof files also be deleted? #98

Open Adnan-Bacic opened 2 years ago

Adnan-Bacic commented 2 years ago

in the android/ folder there can be .hprof files. they are used for analyzing memory leaks and not needed to build the project, as someone says here:

https://stackoverflow.com/questions/46565273/android-hprof-files-in-project-src

i see that in react-native 0.66, they added this file type to .gitignore:

*.hprof

https://react-native-community.github.io/upgrade-helper/?from=0.65.2&to=0.66.0

i tried opening 1 of these files and it was just over 2 million lines. they may be useful, but i think it could be convenient if they were deleted with this library.

what do other people think?