It may be 30G size big of ~/.local/share/baloo/index

So if you seldom do search in dolphin, just disable baloo

balooctl6 disable
balooctl6 purge

Then after rebooting, such hug file will disappear

Or, if still want it, you can temp purge (and it’ll be re-indexed again later …)

balooctl purge

So you shall add ‘exclude’ list in ~/.config/baloofilerc. ref https://community.kde.org/Baloo/Configuration

Especially when you bind mount or symlink big directory under HOME.

cfg demo

# ...

exclude folders[$e]=$HOME/mnt/,$HOME/.cache/,$HOME/nimcache/,$HOME/venvs/,$HOME/.vscode/,$HO
ME/.vscode-server/,$HOME/.mypy_cache/,$HOME/.config/Code/Cache/Cache_Data/