Sort:  

Yep. Ipfs had a config file.
By default 10 GB is configured.
You can see the usage with ipfs repo stat