Close any unnecessary background programs to free up system resources.
You may increase more RAM. If required upgrade CPU.
Make sure both Microsoft 365 and CapCut are latest.
Temporarily disabling AV may help.
Increase the paging file size under "Virtual memory."