An important aspect in working on an embedded OS is keeping the size of our updates down which usually entails keeping the size of the OS image down. If left unchecked, the OS image will increase steadily. In order to help developers track down where space is going we created a tool cros_tree_map that helps developers figure out where our precious space is going. In order to use, you need to have:
To use:
At this point you will have a json file with all the directory information. To visualize this info, you can use webtree map here: https://github.com/martine/webtreemap. You can then view the html file from your trusty web browser. Here's an example snapshot of a Chrome OS image (note: yours will be interactive so you can dig in to different areas). |
Chromium OS > How Tos and Troubleshooting >