Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Miniconda environments taking up ~2 GB each

I am using SpaceSniffer to try to clean up some space on my drive. I noticed my miniconda folder was about 25 GBs. The "pkgs" subfolder is about 11 GB, which I think makes sense given that I use tensorflow, keras, etc.

What doesn't make sense to me is why each separate environment takes up about 2 GBs of space. Has anyone else run into this issue?

like image 806
WhoDatBoy Avatar asked Oct 28 '25 00:10

WhoDatBoy


1 Answers

This depends on how often you update your packages. However, you can always use

conda clean --all

to remove the index cache, lock files, unused cache packages, and tarballs.

https://docs.conda.io/projects/conda/en/latest/commands/clean.html

like image 112
Peter Avatar answered Nov 04 '25 10:11

Peter



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!