Hello 39861377 ,
Thanks for the question and using MS Q&A platform.
Let me start with the fact that your SHIR is running on 8GB memory, which to me is on the lower side of resources . If possible you can move to a machine with more memory.
I could request you to check if you can try out the Degree of copy parallelism and try with a small number and see if that helps.
Thanks
Himanshu
Please accept as "Yes" if the answer provided is useful , so that you can help others in the community looking for remediation for similar issues.