Badgerds IPFS took all the memory

so /etc/ipfs/badgerds/ has occupied 300GB. Now my ipns pod on that node can’t start due to disk pressure. How do I resolve this? Can I just delete all the things on
/etc/ipfs/badgerds ?