Cleanout actioncomm actioncomm_resources and stock_mouvement

I have created a full migration migrating data from their old, non SQL based, ERP system to Dolibarr. Running this migrating now every night till we go live in around one year including daily stock correction.

Everything looks great so far, except the 3 tables actioncomm actioncomm_resources and stock_mouvement are blowing up themselfs.

does it hurt dolibarr if i cleanout this 3 daily before the migration prozess starts? I have not found any tool in Admin tools to cleanup tese tables and mine have > 1 Mio records meanwhile.

Thank you for any hint.