After I upgrade to Xcode - 13 I have this problem, every time I try to generate preview in any file, Xcode take more than a minute and the system runs out off application memory:
then system become unstable and never recover even closing Xcode, I try restarting but the system hangs and need to make a force shutdown. I reinstalled Xcode more than once and still have the issue. Im running on intel MacBook Pro 2020 BigSur 11.6
Sorry to hear you are having problems when using previews in xcode. We aren't tracking any known issues that would result in the symptoms you are describing, so the best way for us to help you would be a feedback report with a sysdiagnose attached (I'd suggest generating it using the Terminal app and invoking sudo sysdiagnose Xcode
).
Report back here with the feedback ID and I'll make sure it gets looked at as soon as possible!