![]() ![]() ![]() (I don't know if the "properties" menu item in Linux Mint behaves the same way.)įor example, I'll create two identical conda environments and check their disk usage independently: $ conda create -n test-1 -y python numpy pandas It is aware of hard-links, so it avoids double-counting file sizes if the same file appears twice due to a hard-link. ![]() The du tool can tell you how much disk space is occupied by a particular directory (or list of directories). Unfortunately, conda can't create hard links to some files (for technical reasons), so it must copy those files instead. This helps save disk space, since otherwise the same file would be duplicated across multiple environments, and in the conda package cache ( pkgs). Regarding disk-saving tricks in conda: You're right, conda uses hard links (when possible) to avoid duplicating files on disk. (I'm not completely sure what accounts for the difference between the two, but it might be related to the different file systems.)Īre you checking the size of a single environment, or are you checking the size of the entire anaconda directory tree? On Linux, such an environment occupies 1.2 GB. 2 GB seems too high for that list of packages. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |