Nextcloud appdata folder

I have nextcloud installation the data directory suddenly increased about 3 tera this happen because appdata folder size increased so how to clear this folder and how to prevent it from grow again

Usually it should be some add storing data there. I don’t know if you can try to find out which app is creating all these files. There is a larger number of apps out there, so without knowing the apps in more detail, it’s not sure if deleting these file will compromise an app. Furthermore, if there is a bug in the app, it is very likely that deleting these files is just a temporary fix.